900.

Deep Dive into Wafrn: How One Platform Self-Hosts Both ActivityPub and Bluesky Identities

rmendes.net/articles/2026/02/26/deep-dive-wafrn-dual-protocol-federation

Wafrn is a federated social media platform that implements both ActivityPub and the AT Protocol natively. It uses a shared database and message queue pipeline to bridge the two networks, allowing users to have a single account on both. Wafrn’s architecture includes a unified user model, a microblog engine, and a custom implementation of ActivityPub, making it a unique and ambitious project in the decentralized social media space.

Wafrn’s User model supports both Bluesky and ActivityPub protocols, allowing for cross-posting and merging of user identities across networks. It uses a custom lexicon for its “bite” feature and filters relevant events from the Bluesky firehose for processing. When a local user creates a post, it is first federated to Bluesky and then to ActivityPub, ensuring proper deduplication and cross-referencing.

Wafrn is a self-hostable platform that enables users to have a presence on both the ActivityPub fediverse and the AT Protocol network. It achieves this by implementing both protocols at the application level, sharing a database and user model. Wafrn handles the translation of posts between the two protocols, including rich text formatting, character limits, media handling, content warnings, and reply threading.