{% extends "base.html" %} {% block content %}
Bridgy Fed is a decentralized social network bridge. It connects the fediverse, the web, and Bluesky. If you're on one of these networks, you can use Bridgy Fed to follow people on other networks, see their posts, and reply and like and repost them. Likewise, they'll be able to see you and your posts too.
Click here to get started, or read on for more information and setup details.
About
Using
From the fediverse
@bsky.brid.gy@bsky.brid.gy
on the fediverse!To the fediverse
From Bluesky
To Bluesky
From the web
Background
Development
Bridgy Fed currently supports the web, fediverse, and Bluesky. We're considering adding more networks, including Farcaster and Nostr.
All bridging is fully bidirectional. If you're on a supported network, you can use Bridgy Fed to follow and interact with bridged users on any other supported network.
Only the people who can already see you and your stuff, without bridging. Bridgy Fed only bridges fully public data, so if your account is private or protected or followers-only, it won't (can't!) bridge your account at all. Same with DMs and private/followers-only posts; it ignores those.
Bridgy Fed is just one of many different bridges: pinhole, RSS Parrot, mostr.pub, and SkyBridge, among others. They're great! They rarely reach the level of fully bidirectional federation that Bridgy Fed aims at, but they contribute to a diversity of approaches that we think is still valuable.
These bridges don't interoperate right now, but we hope they will eventually. For example, where multiple bridges overlap, networks can end up with duplicate bridged accounts, which is obviously not ideal. FEP-fffd is one promising approach to this that we're following closely. We're open to other ideas!
Bridgy Fed and Bridgy classic are separate services. They both connect web sites and social networks and translate posts and interactions back and forth, but they each do it very differently.
Bridgy Fed - this service - bridges accounts on decentralized social networks like the fediverse, Bluesky/AT Protocol, and the IndieWeb directly across those networks.Bridgy classic, on the other hand, connects IndieWeb web sites to existing accounts on social networks, both centralized and decentralized, and provides backfeed and POSSE (aka cross-posting) as a service.
As an example, here's a visualization of how they each connect web sites to the fediverse:
Apologies for the confusingly similar names!
When networks work differently, we try to preserve each network's behavior as much as possible. For example, following on the web is permissionless: you can follow any web site in a feed reader. However, in the fediverse, following may require approval, ie users can choose to approve or reject each follower individually.
Bridgy Fed cooperates with this. When a web user follows a fediverse user, Bridgy Fed only adds them and starts delivering posts once the fediverse user approves the follow.
We work hard to preserve profile and post formatting as much as possible. For networks with rich formatting like the web, we convert that formatting to text-based formatting as much as possible when delivering to text-based networks.
Unfortunately, this kind of conversion is never perfect. Some types of posts, eg events and polls, are difficult to represent in networks that don't support them. As a fallback, Bridgy Fed includes a link to the original post on its own network that users elsewhere can follow to see it as it was originally intended.
In general, native moderation tools within each network work with bridged users just like with native users. Blocking or muting a bridged user works just like you'd expect. Similarly, if you or an admin block an entire bridged network, that works just like blocking a native instance.
Bridgy Fed also incorporates and obeys lower level mitigation techniques such as the fediverseβs authorized fetch aka secure mode. It always includes valid HTTP Signatures when fetching actors and other objects.
For more background, see our content moderation policy and this blog post.
If you're on the fediverse or Bluesky, and you've opted in but now want to opt out, block the Bridgy Fed bot user for the network you want to opt out of. For example, on the fediverse, block @bsky.brid.gy@bsky.brid.gy
. On Bluesky, block @ap.brid.gy.
Once you've done this, Bridgy Fed will delete your bridged profile in that network, and it will no longer bridge any of your posts or interactions there.
Warning: right now, this can be undone for Bluesky => fediverse, but not for fediverse => Bluesky! If you opt a fediverse account in, then opt out by blocking the bot user, you can't re-enable the bridge by unblocking and re-following it. Hopefully this will be possible soon.
If you're on the web, feel free to email me, or you can put the text #nobridge
in the profile on your home page and then update your profile on your user page.
Here are instructions if you're coming from:
None! At least, no more than the accounts you already have. Bridgy Fed doesn't cross-post (ie copy posts) between separate accounts. Instead, it federates, or mirrors, your existing accounts into other networks.
If you want to cross-post instead, check out Bridgy classic!
You don't! Bridgy Fed doesn't have its own accounts or logins.
Click the button on your user page. Bridgy Fed will refresh your profile and send it to any networks you're bridged into.
Here are a few reasons Bridgy Fed might not currently bridge your profile or posts. If any apply, fix them, then un-follow and re-follow the Bridgy Fed bot account.
bsky.brid.gy
or brid.gy
are in the Moderated servers section. If they are, you can ask your server admin to reconsider, and include a link to this page for more details.
_
, -
, or ~
, or contains any non-alphanumeric characters, ie anything other than A-Z
a-z
0-9
_
-
~
, Bridgy Fed can't currently bridge your account. Sorry. This may change in the future; follow the GitHub issue for details.
If none of that helps, check out your user page! It detects and describes common problems with your setup, and it shows your recent interactions and detailed logs.
Definitely! Bridgy Fed has a dashboard for every account that it's seen. Enter your domain here to see your user page. It shows your site's current status in Bridgy Fed, recent interactions, remote follow UI, and links to your timeline feeds in various formats.
Just delete it normally! Bridgy Fed will detect that and delete it in every other network that it was bridged to.
To bridge your fediverse account into Bluesky and interact with people there, search for and follow @bsky.brid.gy@bsky.brid.gy
. That account will then follow you back. Accept its follow to make sure your fediverse posts get sent the bridge and make it into Bluesky.
If your fediverse account is @[user]@[instance]
, your bridged account will have the handle [user].[instance].ap.brid.gy
in Bluesky. For example, @snarfed@indieweb.social is bridged into Bluesky as @snarfed.indieweb.social.ap.brid.gy.
If your fediverse username has _
(underscore) or ~
(tilde) characters, they're converted to -
(dash) characters. For example, @a_b~c@my.social
is bridged into Bluesky as @a-b-c.my.social.ap.brid.gy
.
Fediverse usernames that begin or end with _
, -
, or ~
, or that contain any non-alphanumeric characters, ie anything other than A-Z
a-z
0-9
_
-
~
, are not currently supported. Sorry. This may change in the future; follow this GitHub issue for details.
Bluesky limits profile bios to 256 characters, so if yours is longer in the fediverse, it will be truncated and ellipsized.
You can also find and follow bridged Bluesky accounts without bridging your own account, but they won't see your posts or interactions.
If a Bluesky account has enabled the bridge, it will appear in the fediverse as @[handle]@bsky.brid.gy
. For example, @snarfed.bsky.social on Bluesky is bridged into the fediverse as @snarfed.bsky.social@bsky.brid.gy
.
@bsky.brid.gy@bsky.brid.gy
on the fediverse!If you search for @bsky.brid.gy@bsky.brid.gy
on your fediverse instance and you don't see any results, your server may be blocking Bridgy Fed. Check your server's About page to see if bsky.brid.gy
or brid.gy
are in the Moderated serverssection. If they are, you can ask your server admin to reconsider, and include a link to this page for more details.
You can follow any web site, eg example.com, by searching for @example.com@web.brid.gy in your fediverse instance.
Bridged web sites appear in the fediverse as either @[domain]@[domain]
, @[domain]@web.brid.gy
, or @[domain]@fed.brid.gy
, depending on the fediverse server and whether the web site owner has connected their domain to Bridgy Fed. All bridged web sites behave the same in the fediverse; the different instances in their handles are purely cosmetic.
Anything that interacts with Bluesky users. This includes replies, @-mentions, likes, reposts, and if you have any Bluesky followers, your own posts. Posts on Bluesky are limited to 300 characters, so longer posts from the fediverse are truncated and ellipsized. Hashtags, links, link previews, images, and even alt text are also included, but not videos since Bluesky itself doesn't support them.
Lots! Mastodon, Friendica, Misskey, Sharkey, PeerTube, the WordPress ActivityPub plugin, micro.blog, and more. We're working on interoperation with others; see GitHub issues with the app
label for details.
Mastodon's verified profile links with β green checks are fun! If you've bridged your web site into the fediverse, follow these steps to get one:
rel=me
link on your site that points to https://web.brid.gy/r/https://[DOMAIN]/
for your domain, eg https://web.brid.gy/r/https://snarfed.org/
@snarfed.org@snarfed.org
.When you're logged into a Mastodon instance, searching for your bridged web site triggers that instance to check and verify its profile link(s) in the background. This only works when you're logged in with a native Mastodon account. Also, each instance does this independently; verified links are not synched across instances.
Yes! By default, fediverse handles for web sites use web.brid.gy
as their instance, eg @mysite.com@web.brid.gy
, but you can change that to your own domain. It takes a bit of setup and technical know-how, but it's very doable.
First, your domain needs to serve HTTP requests. You don't need an actual web site, but you do need a minimal web server.
Second, your web server needs to support SSL. Bridgy Fed uses your domain as your identity, so it depends on SSL to prove that you own it.
Lastly, your web server needs to redirect a couple URL paths, including query parameters, to the same paths on https://fed.brid.gy/
:
/.well-known/host-meta /.well-known/webfinger
Here are instructions for a few common web servers:
WordPress (self-hosted): install the Safe Redirect Manager plugin, then add these entries:
/.well-known/host-meta* => https://fed.brid.gy/.well-known/host-meta*
/.well-known/webfinger* => https://fed.brid.gy/.well-known/webfinger*
.htaccess
file:RewriteEngine on RewriteBase / RewriteRule ^.well-known/(host-meta|webfinger).* https://fed.brid.gy/$0 [redirect=302,last](
RewriteEngine on
is optional if you already have it earlier in your .htaccess
. RewriteBase /
is optional if you don't have any other RewriteBase
directives, or if you put this RewriteRule
inside an existing RewriteBase /
section.)
nginx.conf
file, in the server
section:rewrite ^/\.well-known/(host-meta|webfinger).* https://fed.brid.gy$request_uri? redirect;
netlify.toml
file.
[[redirects]] from = "/.well-known/host-meta*" to = "https://fed.brid.gy/.well-known/host-meta:splat" status = 302 [[redirects]] from = "/.well-known/webfinger*" to = "https://fed.brid.gy/.well-known/webfinger" status = 302
To bridge your Bluesky account into the fediverse and interact with people there, follow @ap.brid.gy on Bluesky.
After a few minutes, your Bluesky account will appear in the fediverse as @[handle]@bsky.brid.gy
. For example, @snarfed.bsky.social on Bluesky is bridged into the fediverse as @snarfed.bsky.social@bsky.brid.gy
.
Alternatively, you can find and follow bridged fediverse accounts without bridging your own account, but they won't see your posts or interactions.
If a fediverse account has enabled the bridge, it will appear in Bluesky as @[user].[instance].ap.brid.gy
. For example, @snarfed@indieweb.social is bridged into Bluesky as @snarfed.indieweb.social.ap.brid.gy.
To follow a web site, first enter it here to make sure it's set up, then wait a minute, then search for it in Bluesky as [domain].web.brid.gy
. For example, nature.com is bridged into Bluesky as nature.com.web.brid.gy.
Yes! Bluesky's reply controls apply to accounts bridged from the web and the fediverse as well as to native Bluesky accounts. Those platforms don't have reply controls, so if you bridge your Bluesky account and post with reply controls, people on the fediverse and the web will still be able to reply, but those replies won't show up in Bluesky.
Profiles, following, posts, replies, likes, reposts, images, hashtags, @-mentions, and content warnings.
Polls, edits/updates, videos or (most) GIFs.
Bridgy Fed sends your report to the Bluesky team's official moderation service, which handles it, and takes action if necessary, just like with native Bluesky accounts.
Also see Bridgy Fed's moderation policy and functionality.
Bluesky doesn't support editing posts right now. Bridgy Fed currently sends edits via the underlying AT Protocol, which does currently support them, but the Bluesky app itself doesn't. Hopefully eventually!
First, connect your web site to Bridgy Fed. Then, try following your site from the fediverse. If that looks good, start following people in the fediverse!
We recommend that your site supports webmentions. You can see a notifications feed of your interactions from other networks - replies, reposts, likes, etc - but to get them back to your site, it needs to support webmentions. Check out the IndieWeb wiki for instructions for your web server.
Your site's bridged profile can come from a few different things on your home page. Here's what Bridgy Fed looks for, in order of preference:
<title>
and <meta name="description">
.
Here's a minimal example of h-card
HTML that sets your name and a profile picture:
<span class="h-card"> <a class="u-url" rel="me" href="/">Alice Foo</a> <img class="u-photo" src="/me.jpg" /> </span>
You can use indiewebify.me to check your site's h-card interactively, but note that that doesn't check that it's representative. In the common case, this just means that your h-card needs a link to your home page with the u-url
class. See the representative h-card spec for more details.
If you want to set a header image, add a u-featured
image to your h-card, eg:
<img class="u-featured" src="/my-header.png" />
Your Bluesky handle will be yourdomain.com.web.brid.gy
.
By default, your fediverse address will be @yourdomain.com@yourdomain.com
. Many services (eg Mastodon) default to only showing the username, so this generally shows up as just @yourdomain.com
in posts, and the full address appears on hover.
We recommend this for simplicity and predictability, for everyone else as well as you, but if you want a different username, you can set it by adding an acct:
u-url link inside your h-card with username@yourdomain.com
, eg:
<a class="u-url" href="acct:alice@yourdomain.com"></a>
Bridgy Fed can discover web site posts via webmentions and Atom/RSS feeds.
The first time someone follows a web site via Bridgy Fed, it looks for an Atom or RSS feed. If it finds one, it extracts and bridges those posts, then periodically checks for new posts.
Instead of waiting for that periodic poll, you can bridge a new or updated post immediately by including microformats in your HTML and sending Bridgy Fed a webmention. Include a link to https://fed.brid.gy/
in your post, and if your web server supports webmentions, it should send one automatically. Alternatively you can send one manually. (Note that triggering via webmention requires your post HTML to be marked up with microformats.)
Once you send Bridgy Fed a webmention from your site - any webmention! - it will stop reading posts from your Atom or RSS feed, and expect webmentions instead for all posts in the future. You can use this to prevent automatically bridging all posts, and instead choose proactively which of your posts to bridge.
Here's example HTML for a post:
<div class="h-entry"> <p class="e-content">Two naked tags walk into a bar. The bartender exclaims, "Hey, you can't come in here without microformats, this is a classy joint!"</p> <a class="u-bridgy-fed" href="https://fed.brid.gy/" hidden="from-humans"></a> </div>
The link to fed.brid.gy
may be blank. If so, it should include the hidden
attribute to be kind to screen readers and keyboard navigation users. The u-bridgy-fed
class is optional but useful in some cases to prevent microformats2 parsers from interpreting the link as an implied u-url
.
If your post has microformats, which many web servers include automatically, Bridgy Fed uses them to determine whether it's a note, article, like, repost, reply, or follow. Here's an example of a note:
<div class="h-entry"> <p class="e-content">Two naked tags walk into a bar. The bartender exclaims, "Hey, you can't come in here without microformats, this is a classy joint!"</p> </div>
If a post has microformats, Bridgy Fed looks first for the e-content
class, then the legacy entry-content
class. It also understands and translates microformats2 classes like u-photo
, u-video
, p-category
, and more.
Bridgy Fed includes the full contents of all posts, specifically everything inside e-content
. However, not all bridged networks currently show the full contents of all posts.
For example, text-based posts fall into two broad buckets: short notes for microblogging and longer articles for long-form articles and blog posts. In the IndieWeb, we differentiate based on whether the post has a title: articles generally have titles, notes don't.
In the fediverse, Mastodon currently shows the full text of notes, but for articles, it only shows their titles and a link to the full article. This is because it and most other fediverse apps are designed primarily for smaller notes, not longer articles.
Also, Mastodon preserves HTML links and line breaks and some formatting, but not all. Other fediverse servers vary in their HTML handling.
These can happen for a couple reasons. For articles, this is expected behavior, as described above. The link is a Bridgy Fed URL that redirects to the original post on your web site. This is because Mastodon requires ActivityPub (ie fediverse) object URLs to use the same domain that serves them, which in this case is fed.brid.gy. We know it's awkward; sorry for the ugliness!
Otherwise, this may be the invisible fed.brid.gy link that's required to trigger Bridgy Fed. Mastodon will show a preview of links even if their text is blank, so if your link is inside your e-content
microformats2 element, that's probably what's happening. You can prevent that by moving it outside of e-content
. It can go anywhere in your HTML!
Put the reply in a new post on your web site, and include a link to the post you're replying to with class u-in-reply-to
, as if you were publishing a normal IndieWeb reply. For example:
<div class="h-entry"> <p class="e-content">Highly entertaining. Please subscribe me to your newsletter.</p> <a class="u-in-reply-to" href="https://indieweb.social/@tchambers/109243684867780200"></a> <a class="u-bridgy-fed" href="https://fed.brid.gy/" hidden="from-humans"></a> </div>
Liking and reposting are almost exactly the same as replying. The only difference is that you use u-like-of
for a like or u-repost-of
for a repost.
<a class="u-like-of" href="https://indieweb.social/@tchambers/109374703563569354"></a>
<a class="u-repost-of" href="https://cosocial.ca/@evan/110290575042195305"></a>
If your web site supports IndieAuth, go to your user page, click the Following link, then enter the address of the account you want to follow.
You can also follow someone by posting an IndieWeb follow on your site, including the u-follow-of
microformats2 class, and sending a webmention to Bridgy Fed. Your site may do that automatically if it supports webmentions. For example:
<div class="h-entry"> I'm now following <a class="u-follow-of" href="https://mastodon.social/@adactio">@adactio@mastodon.social</a>! <a class="u-bridgy-fed" href="https://fed.brid.gy/" hidden="from-humans"></a> </div>This method doesn't require IndieAuth, and it can be automated.
Go to your user page, click the Following link, find the account you want to unfollow, and click the X next to their address. Like following, this requires your web site to support IndieAuth.
Use <img class="u-photo">
for the image in your post. For example:
<img class="u-photo" src="/full_glass.jpg" /> I love scotch. Scotchy scotchy scotch.
Use <img class="u-video">
for the video in your post. For example:
<video class="u-video" src="/dancing.mp4"></video> Dancing dancing dancing
Use p-category
and link the hashtag to a fully qualified URL. (Any URL you want!) Fediverse sites like Mastodon will generally rewrite the link to point to a search for that hashtag on the local instance. For example:
<div class="h-entry"> <p class="e-content"> chasing the fun laser <a href="https://indieweb.social/tags/caturday" class="p-category">#caturday</a> </p> </div>
The leading #
character on the hashtag text is optional. If you don't include the hashtag in e-content
, or include it but not inside an <a>
link, fediverse sites won't add the hashtag text or link themselves, but your post will still be indexed in searches for that hashtag.
Include a link to their profile in your post's content with an @
character at the beginning of the link text. For example:
Hi <a href="https://mastodon.social/@adactio">@adactio</a>!
The link and text are both necessary!
Edit the post on your web site, then send another webmention to Bridgy Fed for it. Bridgy Fed will refetch the post and updated it everywhere it was originally bridged.
First, delete the post on your web site, so that HTTP requests for it return 410 Gone or 404 Not Found. Then, send another webmention to Bridgy Fed for it. Bridgy Fed will refetch the post, see that it's gone, and send an Delete
activity for it to the fediverse.
If that HTML element has its own id, then sure! Put the id in the fragment of the URL that you publish. For example, to publish the bar
post here:
<div id="a" class="h-entry">foo</div> <div id="b" class="h-entry">bar</div> <div id="c" class="h-entry">baz</div>
...add the id to your page's URL in a fragment, e.g. http://site/post#b
here.
To receive likes, reposts, replies, @-mentions, and follows from other networks, make sure your site accepts webmentions! Bridgy Fed translates those interactions and sends them to your site as webmentions. The source URL will usually be a proxy page on a subdomain of brid.gy
. For best results, make sure your webmention handler detects and handles u-url
links.
Your user page has links to your timeline/feed, ie posts from people you follow, in HTML, Atom, and RSS formats. Add them to your feed reader or read them in your browser!
(Secret pro tip! Add &quiet=true
to the end of any Bridgy Fed feed URL to omit likes, reposts, and follows, and only show original posts and mentions.)
Yes! Your user page has a feed of your notifications - mentions, replies, likes, reposts, follows, etc - in HTML, RSS, and Atom formats, which you can subscribe to in any reader. (And &quiet=true
- see above - works with these feeds too.)
They can search for your web site! Often you can enter your domain, eg yourdomain.com
, in any fediverse or Bluesky search box. If that doesn't work, try your full address, either @yourdomain.com@yourdomain.com
or @yourdomain.com@web.brid.gy
in the fediverse and yourdomain.com.web.brid.gy
in Bluesky.
Your user page has a Followers link that shows you all of your followers. It has a "remote follow" form where people can enter their fediverse address and follow you directly.
On Bluesky, just check out your bridged profile!
In the fediverse, it varies by server. For Mastodon, open your list of followers in Bridgy Fed and click on one to open their profile. Then, inside that Mastodon instance, search for your site's address, click on it in the search results, and you'll see your fediverse profile and all of your posts that were delivered to that instance. This may not be all of them, depending on how long and when people on that instance have been following you.
This general process should often work in other fediverse servers too.
Note: in Mastodon, each of your posts on a given instance will have a permalink inside that instance, eg mastodon.social/@snarfed.org@snarfed.org/109729052169033033, but those permalinks only go to Mastodon if you're logged into that instance. If you're not, they redirect to the original post on your site.
Yes! Add this line of HTML to each post that you publish with Bridgy Fed and want to be searchable, replacing [URL]
with that post's URL:
<link rel="alternate" type="application/activity+json" href="https://fed.brid.gy/r/[URL]">
Search is limited in Mastodon and much of the overall fediverse, so this won't index the full text of your posts, but it will make them show up in search results when you search for your post's full URL, which people commonly do in the fediverse to find and interact with posts.
For the fediverse, yes! By default, your web site's bridged handle on other networks includes web.brid.gy
, eg @yoursite.com@web.brid.gy
on the fediverse, but you can use your own domain instead. Here are instructions for fediverse handles.
For Bluesky, not yet, but hopefully eventually. Follow this GitHub issue.
This is a great idea! It's difficult to implement technically - I'd need to build and run my own DNS server with custom behavior for resolving multi-level wildcard records - but it's definitely doable.
However, servers and domains on other networks are very different from fediverse instances:
Another difficulty is that accounts on Bluesky have long-lived, server-independent ids. If we used a Bluesky user's PDS domain in their fediverse handle, that handle would change every time they migrated to a new PDS, and they'd lose all of their followers and followings, even though their Bluesky account ID itself hadn't changed.
I'm Ryan Barrett. I'm just a guy who likes the web and owning my data. I build and run Bridgy Fed myself, with occasional contributors and lots of broader support.
I love how decentralized social networks like the fediverse and the IndieWeb let us move away from walled gardens controlled by single monolithic entities. I love that we can control our own destinies online, nurture and grow our own communities and instances, and still interact with people elsewhere. I want to be able to interact across networks just like we interact across servers. That's why I build bridges like Bridgy Fed.
Nothing! Bridgy Fed is small, and it doesn't cost much to run. I don't need or want donations, paying customers, ads, venture capital, or any other form of money. I spend far more on coffee than on hosting Bridgy Fed, and it would have to grow 10-100x for that to change meaningfully. If that happens, I'll celebrate, and continue running it as is. I have experience scaling services like these as personal projects. I'm in the fortunate position to be able to do that; it's one way I try to give back to the open web and the decentralized social ecosystem.
If you really want to contribute, file an issue or send a pull request, or donate to your network or instance of choice!
Nothing! Bridgy Fed isn't a business, and never will be, so we don't have the same motivations to abuse your data that other services might. More concretely, we don't sell or otherwise expose any of your data to third parties, even in aggregate. We only handle data that you've chosen to make fully public. We never have access to any of your passwords, credentials, accounts, or other non-public information.
I started thinking about bridging different social networks when I discovered them in the early 2000s. I started talking about bridging decentralized social networks specifically in 2016, led a session on it at IndieWeb Summit in July 2017, wrote up concrete designs soon after, started working on Bridgy Fed in August 2017, and launched it on October 22, 2017.
Bridgy Fed's terms of service are simple. You agree not to deliberately attack, breach, or otherwise harm the service. If you manage to access private keys or other sensitive data, you agree to report the vulnerability and not use or disclose that data.
Otherwise, you may use the service for any purpose you see fit. However, we may terminate or block your access for any reason, or no reason at all. (We've never done this, and we expect we never will. Just playing it safe.)
Do you an administer an instance or other service that Bridgy Fed interacts with? If you have any concerns or questions, feel free to file an issue or email me privately!
Content moderation for decentralized social networks, and for bridges, is complicated. Bridgy Fed itself doesn't have an exhaustive content moderation policy. Instead, I try to keep these principles in mind:
My primary goal is to empower each network's existing moderation ecosystem. Most decentralized social networks have existing, often mature mechanisms for content moderation. The fediverse has blocks and defederation and IFTAS, the IndieWeb has Vouch and Akismet, Bluesky has labeling, even Nostr has mutes and shared mutelists and moderated groups.
I try to ensure that those mechanisms all work with bridged accounts just as well as with native accounts, up to and including defederation. I'm always ready to hear admins' concerns and try to help! But if an instance determines that they need to block a Bridgy Fed network (domain) entirely, that's their prerogative, and I'll support them.
Bridgy Fed is more network infrastructure than content platform. Bridgy Fed is not a social network, nor is it an instance in one. It's a relay: it copies and translates content and interactions between existing networks and platforms. It stores some content for a moderate period of time, in order to do its job, but not forever, and it doesn't host images or media at all.
I build run Bridgy Fed largely alone, as a side project. It's open source, and other people contribute occasionally, which is great! But so far, there isn't a robust community building it. It's just me, sometimes full time, usually alongside a day job. I can't hire a dedicated trust and safety team, I don't expect to recruit volunteer moderators, and I'm unlikely to become an expert myself. I'm just doing my best as an amateur, with the support of organizations like IFTAS.
Having said all that, I don't plan to run a Nazi bar. I have no interest in enabling harmful behavior like harassment or incitements to violence, whether knowingly or unknowingly. I reserve the right to remove content and accounts from Bridgy Fed for any reason, or no reason at all.
These are principles, not a policy. When a user or post gets reported to me, I don't follow this letter by letter to determine what to do. The language here will evolve over time. However, I hope to live up to this in spirit for the long run.
Please reach out and let me know your thoughts! And feel free to report anything you see on Bridgy Fed that you think shouldn't be there. You can file an issue on GitHub, email me privately, or ping me on your social network of choice.
Great! Please file it in GitHub. Thank you!
Oof. Thank you for reporting it! Please send details to security@brid.gy. We may provide monetary awards for reports of significant vulnerabilities, eg reading or modifying users' private keys, if you follow these rules:
Otherwise, the code is open source, feel free to try to break in, let us know if you succeed!
The succession plan for Bridgy Fed is largely the same as for any other non-commercial open source project. Ideally, I find someone willing to take it over, transfer the hosting and development accounts to them, and it continues running as is. Worst case, the code is open source and licensed as public domain, so anyone can set up their own instance and continue development. If that happens, bridged accounts based on on *.brid.gy
subdomains and existing private keys would be orphaned, but the new instance could continue to bridge them with its new domain(s) and keys.
What's important to Bridgy Fed and its development? How do we make technical and design decisions and prioritize work? One way to do this is to explicitly enumerate its product and engineering values, along with their priorities. Bryan Cantrill describes this well.
As far as I can tell, Bridgy Fed's top product and engineering values are:
Bridgy Fed's second tier of product and engineering values are:
Other possible values include maintainability, operability, feature velocity, innovation, debuggability, performance, efficiency, standards compliance, user growth, and more. Those can all be good, and we may aim at some of them too, but less than the explicitly chosen values above.
Here's a table showing how they stack up on a number of factors. It's obviously oversimplified, but hopefully still right in spirit, focusing on how they're deployed and used in the real world. For example, identity in ActivityPub is technically URL-based, but in practice the fediverse uses WebFinger user@domain
identifiers more or less universally, so the table reflects that.
Here are internal details on how Bridgy Fed translates user identity and events between protocols, including some like Nostr/AT Protocol that aren't launched here, or even fully implemented or thought through yet. Caveat hacker!
In the tables below, BF is Bridgy Fed. Green parts have been implemented and running here for years, the rest are still in the early design phase.
Here's how we translate user identity between protocols. Specifically, each cell shows how a user in a given column is identified to the protocol in a given row. These identities uniquely identify users, and are intended primarily to be machine readable and usable. (Scroll down for the equivalent table for translating human-meaningful user handles.)
Note that Bridgy Fed generates some of these ids itself behind the scenes, notably did:plc
s for Bluesky/AT Protocol and npub public keys for Nostr.
Web | ActivityPub | AT Protocol | Nostr | |
---|---|---|---|---|
Web URL | - | Fediverse profile URL | https://bsky.app/profile/[handle] (can we avoid hard-coding bsky.app?) |
NIP-05 domain or BF user page |
WebFinger address | @[domain]@web.brid.gy |
- | @[handle]@bsky.brid.gy |
@[NIP-05 or npub]@nostr.brid.gy |
ActivityPub actor | https://web.brid.gy/ap/[domain] |
- | https://bsky.brid.gy/ap/[did] |
https://nostr.brid.gy/ap/[npub] |
AT Protocol | did:plc |
did:plc |
- | did:plc |
Nostr | npub |
npub |
npub |
- |
Here's how we translate user handles (aka usernames) between protocols. Each cell shows how a user's handle in a given column is translated to the protocol in a given row. These handles are human-chosen, human-meaningful, generally unique, but may not be the primary machine-usable ids in each protocol. Scroll down to the next table for examples, up to the previous table for machine-usable ids.
Basic is the default, enhanced requires extra setup on the user's part (or their fediverse instance's) to forward some of their /.well-known
HTTP requests to Bridgy Fed.
Web | ActivityPub | AT Protocol | Nostr | ||
---|---|---|---|---|---|
Web | - | Fediverse profile URL | bare handle | NIP-05 domain or BF user page | |
AP address | basic | @[domain]@web.brid.gy |
- | @[handle]@bsky.brid.gy |
@[NIP-05 or npub]@nostr.brid.gy |
enhanced | @[domain]@[domain] |
@[handle]@[handle] |
@[NIP-05] |
||
ATP handle | basic | [domain].web.brid.gy |
[username].[instance].ap.brid.gy |
- | [NIP-05 or npub].nostr.brid.gy (convert @ to . ) |
enhanced | bare domain | [username].[instance] domain |
bare NIP-05 domain ( _ username) |
||
Nostr NIP-05 domain | basic | [domain]@web.brid.gy |
[username].[instance]@ap.brid.gy |
[handle]@bsky.brid.gy |
- |
enhanced | bare domain | [username]@[instance] |
bare handle |
Here are concrete examples:
Webme.com |
ActivityPub@me@instance.com |
AT Protocolme.com |
Nostrme@domain.com [_@]me.com |
||
---|---|---|---|---|---|
Web | - | https://instance.com/@me (varies by instance) |
me.com |
?me.com |
|
ActivityPub | basic | @me.com@web.brid.gy |
- | @me.com@bsky.brid.gy |
@me[domain.]com@nostr.brid.gy |
enhanced | @me.com@me.com |
@me.com@me.com |
@me@domain.com @me.com@me.com |
||
AT Protocol | basic | me.com.web.brid.gy |
me.instance.com.ap.brid.gy |
- | me.[domain.]com.nostr.brid.gy |
enhanced | me.com |
me.instance.com |
me.[domain.]com |
||
Nostr | basic | me.com@web.brid.gy |
me.instance.com@ap.brid.gy |
me.com@bsky.brid.gy |
- |
enhanced | [_@]me.com |
[_@]me.instance.com |
[_@]me.com |
Here's how we infer the protocol for any string id. In the Format column, green parts are deterministic, ie they conclusively determine that a matching id belongs to the protocol, and yellow parts are ambiguous, ie a matching id may or may not belong to the protocol:
Example(s) | Format | Network discovery | ||
---|---|---|---|---|
Web | user | https://snarfed.org/ | http(s) URL with empty path | HTTP GET succeeds and returns HTML |
object | https://snarfed.org/2023-05-26_50328 | http(s) URL with non-empty path | ||
ActivityPub | user | https://indieweb.social/users/snarfed | http(s) URL | HTTP GET with AS2 conneg returns valid AS2 with Actor type |
object | https://mitra.social/post/01885fad | HTTP GET with AS2 conneg returns valid AS2 with non-Actor type |
||
AT Protocol | user |
did:plc:abc123 did:web:snarfed.org
|
did:plc or did:web: prefix |
resolve did:plc ,resolve did:web
|
object | at://did:plc:asdf/post/abc-123 |
at:// URI |
com.atproto.repo.getRecord XRPC |
|
Nostr | user |
abc123... (32 chars)npub10hx886... (bech32)
|
32 char hex or
npub prefix
|
NIP-65 or NIP-39 lookup |
object |
def456... (32 chars)nevent10hx886... (bech32)note10hx886... (bech32)
|
32 char hex or
nevent , note , etc prefix
|
REQ request |
Here's how we translate events and operations between protocols, both inbound to and outbound from Bridgy Fed:
Web | ActivityPub | AT Protocol | Nostr | |
---|---|---|---|---|
User discovery inbound | serve h-card on BF user page |
basic: serve WebFinger and AP actor on fed.brid.gy enhanced: user's site serves and redirects WebFinger to fed.brid.gy |
resolve DID, serve DID document with fed.brid.gy PDS | NIP-39 (kind 0) query to BF (or other?) relay |
User discovery outbound | Fetch home page, parse h-card |
look up WebFinger, fetch AP actor | resolve DID, subscribe to PDS repo, extract profile object? | discover user's relays with NIP-65, query NIP-39 to get profile |
Publish inbound | webmention to fed.brid.gy | deliver to fed.brid.gy inbox, user or shared | receive post via firehose from relay | publish event to BF relay |
Publish outbound | serve on BF user page followings h-feed |
deliver to recipient's inbox | serve commit via subscribeRepos XRPCs to subscribing relays |
serve to subscribers |
Follow inbound | users: UI on BF user page code: webmention with u-follow-of |
Follow activity delivered to BF user inbox |
receive follow via firehose from relay | user's client sends REQ to BF relay |
Follow outbound | webmention with BF proxy HTML page as source | deliver Follow to followee's inbox |
call sync.subscribeRepos on followee's PDS? |
discover followee's relay(s) with NIP-65, send them a REQ |
Response inbound | webmention to a BF proxy page | Create , Like , Announce delivered to BF user inbox |
receive response via firehose from relay | NIP-10 response event received at BF relay or other relay |
Response outbound | same as follow outbound, with the corresponding response data type |
A bridge does more than just translate protocols and formats. It processes activities (events) based on domain-specific logic and semantics. The domain Bridgy Fed currently handles is public social microblogging, the kind popularized by Twitter. There are many other related social domains, with fuzzy boundaries and lots of overlap, eg forums (Reddit), questions and answers (StackOverflow), project trackers (GitHub), and many more, but here we're currently focused on microblogging.
Even within that domain, behavior logic varies. Twitter follows are one way, but Facebook friends are bidirectional. Your Bluesky timeline (skyline) includes your followings' replies, but your fediverse timeline generally doesn't. LinkedIn...honestly I have no clue how LinkedIn works, but I'm sure it has its own logic, workfluencers and all.
Here's what Bridgy Fed's activity router does. I've tried to make it follow "least common denominator" logic, ie do the most common and least surprising thing, and I've explicitly tried not to innovate or invent anything new here. It's a bridge, not a product, after all.
When Bridgy Fed receives a... | The router will... |
---|---|
follow |
|
unfollow |
|
new post |
|
update post |
|
delete post |
|
delete actor |
|
reply |
|
repost |
|
like |
|