To add decentralized social features to an app, decide which layer you want to open up (identity, content distribution or data storage), implement an open protocol for that layer, such as ActivityPub or the AT Protocol, and keep your own interface, permissions and moderation on top. Opening one layer at a time keeps the project manageable.
Decentralized social features let identity, posts or the social graph live outside a single company's database. In practice that means one of three open protocol families. ActivityPub, a W3C Recommendation since January 2018, connects independently run servers such as Mastodon into the fediverse. The AT Protocol, which runs Bluesky, gives each account a portable identifier and a data repository the user can move between hosts. Nostr identifies users by cryptographic key pairs and spreads signed posts across relays. An app adds these features by linking each user account to a protocol identity, choosing which content federates, running or renting a protocol endpoint, and bridging posts and replies in both directions. Moderation stays the app's job. Teams whose real goal is independence from big social platforms, rather than interoperability, can often reach it with an owned in-app layer and no federation.
What does decentralizing social features change?
Social features such as profiles, feeds, comments, follows and groups normally live in one company's database. Decentralizing them moves one or more layers out of that single point of control, so deciding which layer you are changing comes before any protocol choice.
| Layer | Centralized version | Decentralized version | What your app still runs |
|---|---|---|---|
| Identity | The account exists only in your user table | A portable identifier the user controls: a DID, a domain handle or a key pair | Sign-in, sessions and the link to your internal account |
| Distribution | Posts reach only your app's users | Posts federate to other servers and apps that speak the same protocol | A protocol endpoint (server, Personal Data Server or relay) and delivery queues |
| Data | Content sits only in your database | Content lives in a repository the user can move, or can be exported in a standard format | Caching, indexing and backups so feeds stay fast |
| Governance | You set every rule | Each server or community sets its own rules | Moderation of everything shown inside your app |
A decentralized identifier (DID) is a globally unique ID that resolves to keys and service endpoints without a central registry; the W3C DID Core specification defines the format.
Which protocol fits your goal?
Each protocol solves a different problem, so the goal decides the protocol. ActivityPub defines a client-to-server API and a server-to-server federation protocol, and it is what Mastodon and most of the fediverse use.
The AT Protocol gives every account a permanent DID plus a domain-name handle, and stores user data in Personal Data Servers that an account can leave without the old server's help. Bluesky, its largest network, grew from 25.94M to 41.41M users during 2025, counting accounts on independently hosted Personal Data Servers, according to Bluesky's 2025 transparency report.
Nostr's NIP-01 identifies users by secp256k1 key pairs and moves signed events through relays over WebSocket connections.
| Option | Identity | How content moves | Best fit | Main trade-off |
|---|---|---|---|---|
| ActivityPub | Actor URL on a server, shown as @name@server | Server-to-server delivery to inboxes | Interoperating with Mastodon and the wider fediverse | Remote servers keep their own copies and apply their own rules |
| AT Protocol | DID plus a domain-name handle | Signed repositories on Personal Data Servers, collected by relays | Identity that moves with the user across apps | Running your own relay or index is a large infrastructure job |
| Nostr | Key pair held by the user | Signed events published to several relays | Censorship resistance without server accounts | A lost private key cannot be recovered by any operator |
| Owned in-app layer, no federation | Your own user IDs | Stays inside your app | Independence from third-party platforms with full moderation control | No interoperability with other networks |
What are the steps to add decentralized social features?
- Write down the goal. Interoperability with open networks, portable identity, censorship resistance and independence from big platforms each point to a different protocol, or to no federation at all.
- Link identities instead of replacing accounts. Keep your stable internal user ID and attach the protocol identity (actor URL, DID or public key) as a linked credential, so existing sign-in, billing and permissions keep working.
- Decide what federates. Start with explicitly public posts and profiles. Keep private groups, direct messages and paid spaces in-app until you have a clear reason to open them.
- Run or rent the protocol endpoint. That means an ActivityPub server with inboxes and outboxes, an AT Protocol Personal Data Server, or connections to a set of Nostr relays.
- Bridge content in both directions. Publish public in-app posts as protocol objects when they are created, and bring remote replies and reactions back in as comments.
- Moderate at your boundary. Decide which remote servers and accounts your app accepts, block or filter the rest, and keep reporting on every item users see. The wider practice is covered in how to moderate an in-app community.
- Give users export and exit. Let people download their content and move or delete their protocol identity, since portability is the point of the feature.
- Launch with a few public spaces. Federate one or two spaces first, check delivery and moderation load, then widen.
What usually goes wrong?
- Key management scares mainstream users. Asking people to store a private key or seed phrase at sign-up adds a step that mainstream apps never ask for. Fix: hold keys on the user's behalf by default and let advanced users bring their own.
- Private content federates by accident. A post meant for a closed group appears on public servers. Fix: make non-federated the default for every private space, and federate only explicitly public posts.
- Deletes do not reach every copy. A delete request goes out, but remote servers decide whether to honor it. Fix: tell users before they post publicly that federated copies may persist.
- Moderation load arrives with the network. Decentralized networks still generate abuse reports: Bluesky users filed 9.97M reports in 2025, up 54% on 2024, per the Bluesky transparency report. Fix: staff and tool moderation for remote content before you open the gates.
- Remote fetches make feeds slow. Fix: cache remote objects and render feeds from your own index.
How do you know it is working?
Three checks cover a first launch. Interoperability works when a public post from your app renders correctly on another server or app, replies come back as comments, and deletes reach servers that honor them. Identity works when a user can sign in, export their content and, on the AT Protocol, move to another Personal Data Server. Participation is the third check. In published social.plus data, 10-30% of MAU are active contributors who post, react or follow on in-app community features. Federated spaces that sit far below that range suggest, as an inference rather than a measured rule, that sign-up or key handling is adding friction.
How social.plus helps with decentralized social features
social.plus provides engagement infrastructure for consumer apps rather than a federation protocol, so it fits the owned in-app community layer that sits next to whichever protocol you choose. Your app keeps its own account records: social.plus identifies each user by the stable user ID your backend supplies, while credentials, email addresses and private profile data stay in your system. Webhook events forward Chat and Social SDK activity to your servers in real time, which gives a bridge to ActivityPub or the AT Protocol a clean stream of public posts to publish. Moderation tools, roles and analytics cover the in-app side, and dashboard exports return row-level CSV files of posts, comments and reactions. Teams that need protocol-level federation still run that endpoint themselves.
FAQs
What is decentralized social media?
Decentralized social media is a social network where no single company controls every account, post and rule. Users and independently run servers share an open protocol, so people can follow each other across services and, on some protocols, move their identity and data to a new host.
What is the fediverse?
The fediverse is the network of independently operated social servers that talk to each other through the ActivityPub protocol. Mastodon is its best-known software, and a user on one server can follow and reply to users on other servers.
Do decentralized social features need a blockchain?
No. ActivityPub and the AT Protocol run on ordinary web servers, and Nostr uses signed events and relays without a chain. Some networks anchor account registration on a blockchain, but it is a design choice, not a requirement.
Conclusion
Pick the protocol from the goal: ActivityPub to join the fediverse, the AT Protocol for identity that moves with the user, Nostr for censorship resistance. If the real goal is independence from third-party platforms rather than interoperability, an owned in-app layer without federation is the simpler build. Whichever you choose, federate public posts from one or two spaces first and keep moderation in your own hands.
