VOOZH about

URL: https://thenewstack.io/making-the-fediverse-more-accessible-with-claude-3-7-sonnet/

⇱ Making the Fediverse More Accessible With Claude 3.7 Sonnet - The New Stack


TNS
SUBSCRIBE
Join our community of software engineering leaders and aspirational developers. Always stay in-the-know by getting the most important news and exclusive content delivered fresh to your inbox to learn more about at-scale software development.
REQUIRED
It seems that you've previously unsubscribed from our newsletter in the past. Click the button below to open the re-subscribe form in a new tab. When you're done, simply close that tab and continue with this form to complete your subscription.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.
Welcome and thank you for joining The New Stack community!
Please answer a few simple questions to help us deliver the news and resources you are interested in.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Great to meet you!
Tell us a bit about your job so we can cover the topics you find most relevant.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Welcome!

We’re so glad you’re here. You can expect all the best TNS content to arrive Monday through Friday to keep you on top of the news and at the top of your game.

What’s next?

Check your inbox for a confirmation email where you can adjust your preferences and even join additional groups.

Follow TNS on your favorite social media networks.

Become a TNS follower on LinkedIn.

Check out the latest featured and trending stories while you wait for your first TNS newsletter.

PREV
1 of 2
NEXT
VOXPOP
As a JavaScript developer, what non-React tools do you use most often?
Angular
0%
Astro
0%
Svelte
0%
Vue.js
0%
Other
0%
I only use React
0%
I don't use JavaScript
0%
Thanks for your opinion! Subscribe below to get the final results, published exclusively in our TNS Update newsletter:
NEW! Try Stackie AI
From clobbered drafts to real-time sync
Apr 14th 2026 10:00am, by David Moore
TypeScript 6.0 RC arrives as a bridge to a faster future
Mar 14th 2026 9:00am, by Darryl K. Taft
Mastra empowers web devs to build AI agents in TypeScript
Jan 28th 2026 11:00am, by Loraine Lawson
2025-03-06 02:31:41
Making the Fediverse More Accessible With Claude 3.7 Sonnet
tutorial,
AI / Emerging technologies / Networking

Making the Fediverse More Accessible With Claude 3.7 Sonnet

How Claude's Sonnet LLM and ChatGPT helped simplify connections between decentralized and centralized social networks.
Mar 6th, 2025 2:31am by Jon Udell
👁 Featued image for: Making the Fediverse More Accessible With Claude 3.7 Sonnet
Image by Joshua Earle via Unsplash+. 

A few years ago I abandoned Twitter in favor of Mastodon. Recent events validate that choice and underscore the strategic importance of a decentralized fediverse that can’t be owned by a single corporate or state actor. But while Mastodon meets my needs, much of the Twitter diaspora has gone to Bluesky. That’s fine for now but might not always be. In an article titled “Science Must Step Away From Nationally Managed Infrastructure,” Dan Goodman writes:

Many scientists put huge efforts into building networks to communicate with colleagues and the general public. But all that work and the value in those networks was lost when many scientists felt compelled to leave following Elon Musk’s takeover of the platform (now X). The process of rebuilding on Bluesky is underway, but it will take years and may never reach the same critical mass. Even if the transition is successful, the same thing may happen to Bluesky in a few years.

How can we prepare for a future migration from Bluesky to Mastodon? Bridgy Fed — a service that enables you to connect together your website, fediverse account and Bluesky account — will help. But Bridgy Fed needs to be easier to use. So I recruited Claude’s new Sonnet 7 model to do that.

The Fediverse/Bluesky Bridge

The bridge, invented and operated by Ryan Barrett, enables Bluesky people to follow and interact with Mastodon folks — and vice versa — by way of a pair of agents that enable the creation of ghost accounts on both ends. In principle it’s easy to use the bridge. Here’s a handy cheat sheet from Kilian Evang:

👁 Image

Easy, right? Well, for most developers’ brains it is, but not for mine and certainly not for many non-devs. To follow the Bluesky handle jonudell.bsky.social from the fediverse, you have to translate @username.app.tld@bsky.brid.gy to @jonudell.bsky.social@bsky.brid.gy. To follow the Mastodon handle judell@social.coop from Bluesky, you have to translate @username.app.tld.ap.brid.gy to @judell.social.coop.ap.brid.gy.

Typical developers, who can do that kind of mental substitution easily and automatically, tend not to realize that it often doesn’t happen that way for others and that many people need help making the transformation. That’s one reason developer-written docs are often less helpful than they might be. It isn’t that the authors don’t care about communicating effectively, it’s just that they don’t perceive how things they tacitly understand must be shown explicitly to bring others to the same place of understanding.

In this case here’s what I, and presumably many others, would like to see:

👁 Image

So I showed Kilian’s screenshot to Claude and asked for the interactive version shown in that clip.

Creating the First Draft

This was the initial prompt:

Turn this into an interactive web page where I can enter the respective handles and see the transformation.

Claude responded with a hosted artifact you can see live here. Great start! This was indeed the essence of what I wanted; I could have shared the link and called it day. But of course when things happen this quickly and easily you can’t not want to embellish. For starters, the Claude artifact is React-based and I never want that unless necessary.

No React, no dependencies, just vanilla JS.

This time the generated artifact failed in the hosting environment provided by Claude, and a couple of turns of the crank didn’t resolve the problem. But that was OK, I now had a stand-alone HTML/CSS/JS construct that I could save, test and evolve locally, and easily publish to any vanilla web host. I created a repo for it and called it a day.

Enhancing the First Draft

When I circled back a few days later with ideas for enhancement, I wanted to start by asking Claude to document the existing code. Just as I was debating whether to upload the HTML file or copy/paste it, I noticed the new GitHub integration.

👁 Image

You can now authorize Claude to see your repos, and then point it at the files you want to include in a chat session. Nice!

Here were the enhancements I had in mind:

  • Dynamic validation. As you type a handle, you should see the translation forming. When it becomes valid it should turn from gray to green.
  • Copy button. When it goes green, a copy button should appear.
  • TLD validation. Mastodon handles end with domains and shouldn’t go green unless those are valid top-level TLDs found on this list.
  • Bridgy user page. When you bridge a Mastodon or Bluesky account, the bridge creates a page where you can monitor the corresponding ghost account. The link to that page should form dynamically too and go green only when valid.

As we worked through these enhancements I challenged Claude to prove they worked, and it responded with live artifacts that isolated the changes and made each available for interactive testing. That gave me a good deal of confidence in the changes, but now I had to integrate them into the evolving tool.

Integrating the Changes

Emboldened by Claude’s newfound GitHub ability, this was my next prompt:

Can you file a PR that proposes those changes and adds tests for them?

For now, that’s a step too far. But hey, it never hurts to ask, right? I dialed down my expectations and instead asked:

Can you provide the changes in a patch file?

Claude instantly provided a patch file that looked completely plausible but was hopelessly broken. This was surprising, because it seemed like the kind of mechanical pattern-oriented transformation that LLMs tend to do shockingly well. We went around and around for a while and I never did get it to produce a working patch. When I realized it might need a version of the source file with line numbers, I provided that — but it still didn’t help. I brought ChatGPT’s o1 into the loop and it was also stumped. I’m not sure why this particular task seems to defeat the smartest LLMs. Was I asking the wrong way? Is there something about the task that cuts against the grain? If anyone can offer insight as to why they failed, I’m all ears.

Final Cleanup and Refactoring

It feels ridiculous to complain about that limitation. I’m reminded of the classic Louis C.K. bit about the guy with glitchy airplane WiFi. (“This sucks.” “Dude, you are riding in a chair in the sky!”) Nonetheless it’s true that integrating those changes took more time than was required to generate them in the first place.

Once the tool was feature-complete, there was the usual need for refactoring and consolidation. It was pretty clear to me what was needed, but when I asked both Claude and ChatGPT to review the code, they came up with improvements that hadn’t occurred to me, among them that event handlers were being called redundantly from two different places.

Again it was actually harder to integrate these improvements than it was to generate them in the first place. Once that was done, though, Claude was able to write a nice change log.

Riding in a Chair in the Sky

As Dan Goodin points out, we need to be prepared for inevitable platform shifts. It’s remarkable that these tools enabled me to build and refine this small but useful tool, far more quickly and easily than otherwise possible. Making the fediverse/Bluesky more accessible is one step toward insulating ourselves from the whims of corporate owners and building more resilience into our online communities.

It wasn’t a completely smooth experience, but I’m grateful for the AI help that streamlined the task and enriched the result. After all, we’re riding in chairs in the sky here. The occasional patch-file hiccup seems a small price to pay.

TRENDING STORIES
Jon Udell is an author and software developer who explores software tools and technologies and explains them in writing, audio, and video. He is the author of the cult classic Practical Internet Groupware. Past gigs include Lotus, BYTE magazine, Safari...
Read more from Jon Udell
SHARE THIS STORY
TRENDING STORIES
SHARE THIS STORY
TRENDING STORIES
TNS DAILY NEWSLETTER Receive a free roundup of the most recent TNS articles in your inbox each day.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.