TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: ActivityPub or Mastodon?

36 pointsby Timjaover 2 years ago
I am thinking about joining the Fediverse.<p>I don&#x27;t really understand the difference between ActivityPub and Mastodon yet.<p>If I write my own ActivityPub software (server code with web frontend), can I interact with Mastodon users just as if I also were a Mastodon user? Or would I have to implement some Mastodon specific protocols?

11 comments

watchdogtimerover 2 years ago
Before you go to the trouble of writing your own software, consider using one that&#x27;s already been written. There are many[0] out there already besides Mastodon.<p>[0]- <a href="https:&#x2F;&#x2F;delightful.club&#x2F;delightful-fediverse-apps&#x2F;" rel="nofollow">https:&#x2F;&#x2F;delightful.club&#x2F;delightful-fediverse-apps&#x2F;</a>
评论 #33491953 未加载
anthropodieover 2 years ago
While everyone is talking about Mastodon because of Twitter, I want people to know that there is <a href="https:&#x2F;&#x2F;pixelfed.social" rel="nofollow">https:&#x2F;&#x2F;pixelfed.social</a> which is alternative to Instagram.<p>Theoretically you should be able to follow anyone from pixelfed on Mastodon and vice versa because both support ActivityPub. I haven&#x27;t tried doing that myself.
评论 #33491960 未加载
评论 #33492345 未加载
评论 #33491945 未加载
评论 #33491939 未加载
piva00over 2 years ago
AFAIK: ActivityPub is the protocol used by Mastodon and other platforms (like PeerTube) and so you&#x27;d be able to interact with other users using the protocol.<p>If I&#x27;m wrong I believe someone will correct me pretty fast but that&#x27;s my current understanding.
emaroover 2 years ago
The difference between ActivityPub and Mastodon was already explained by others.<p>If the popular solutions are too complex, maybe you want to take a look at <a href="https:&#x2F;&#x2F;microblog.pub" rel="nofollow">https:&#x2F;&#x2F;microblog.pub</a>, a relatively small and simple AP implementation designed for single-user instances.
评论 #33492235 未加载
JackCover 2 years ago
For anyone looking to mess around with making a single file ActivityPub server, this looks like a good intro to the spec: <a href="https:&#x2F;&#x2F;socialhub.activitypub.rocks&#x2F;t&#x2F;guide-for-new-activitypub-implementers&#x2F;479" rel="nofollow">https:&#x2F;&#x2F;socialhub.activitypub.rocks&#x2F;t&#x2F;guide-for-new-activity...</a><p>That page also links to <a href="https:&#x2F;&#x2F;blog.joinmastodon.org&#x2F;2018&#x2F;06&#x2F;how-to-implement-a-basic-activitypub-server&#x2F;" rel="nofollow">https:&#x2F;&#x2F;blog.joinmastodon.org&#x2F;2018&#x2F;06&#x2F;how-to-implement-a-bas...</a>, which is a demo of hardcoding one part of the spec from scratch.
chxover 2 years ago
Mastodon won&#x27;t survive this, the Fediverse will. Much as Twitter when it was a Rails app buckled under the load already we see things like <a href="https:&#x2F;&#x2F;github.com&#x2F;mastodon&#x2F;mastodon&#x2F;issues&#x2F;19505" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;mastodon&#x2F;mastodon&#x2F;issues&#x2F;19505</a> and users of other instances also complain. It&#x27;s an old crusty complex codebase.<p>So yes you can certainly interact with Mastodon users and you will need to.<p><a href="https:&#x2F;&#x2F;www.r-bloggers.com&#x2F;2022&#x2F;10&#x2F;getting-acquainted-with-mastodon-instances&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.r-bloggers.com&#x2F;2022&#x2F;10&#x2F;getting-acquainted-with-m...</a> the largest Mastodon instance has less than a million users. Twitter has, what, 450 million?
2Gkashmiriover 2 years ago
no. activitypub is the protocol which all apps in the fediverse use and can talk to each other. you can create a pixelfed instance account and follow someone on mastodon.social and vice versa. same for interaction between them
评论 #33491933 未加载
xenaover 2 years ago
ActivityPub : Mastodon :: SMTP : postfix
评论 #33492032 未加载
andrewstuartover 2 years ago
Meanwhile………. Twitter is just a text field (basically).
smcnover 2 years ago
Yes, it&#x27;ll federate with Mastodon, with no extra effort or code.
评论 #33492328 未加载
ydfover 2 years ago
Best not to waste your time on any of this microblogging rubbish. It only leads to misery.
评论 #33492074 未加载