Creating your own federated microblog
Fedify is a framework for creating federated microblogs using ActivityPub. The tutorial guides users through setting up a project, emphasizing TypeScript for type safety, while noting limitations on account management.
Read original articleFedify is a framework designed for creating federated microblogs using the ActivityPub protocol, similar to platforms like Mastodon. This tutorial guides users through the process of building a single-user microblog that can interact with other federated services. It assumes familiarity with web application development, command-line interfaces, and basic programming concepts, but does not require prior knowledge of TypeScript or ActivityPub. The microblog will allow users to create posts, follow other accounts, and view their followers, but it imposes certain limitations, such as the inability to edit or delete posts and accounts. The tutorial emphasizes setting up a development environment using Node.js, installing the Fedify command-line tool, and initializing a project. Users will learn to run a local server and query ActivityPub objects. The tutorial also introduces TypeScript, highlighting its benefits for type safety and code completion. Visual Studio Code is recommended for its compatibility with TypeScript, and users are encouraged to install relevant extensions for a smoother coding experience. Overall, the tutorial provides a structured approach to building a basic federated microblog while allowing room for future enhancements.
- Fedify enables the creation of federated microblogs using the ActivityPub protocol.
- The tutorial is aimed at users with web development experience but does not require prior knowledge of TypeScript or ActivityPub.
- Users will learn to set up a development environment and initialize a Fedify project.
- The microblog allows basic functionalities like posting and following but has limitations on account management.
- TypeScript is recommended for its advantages in type safety and code completion.
Related
Show HN: Fedv.link – a way to share Mastodon links that can be interacted with
The website fedv.link simplifies sharing profiles and posts across Fediverse servers. Users can add "https://fedv.link/" before ActivityPub links to seamlessly view content on their chosen server. This service operates without sign-up, storing server preferences locally.
Flipboard Users Can Now Follow Anyone in the Fediverse
Flipboard has launched a feature for users to follow Fediverse accounts, enabling post sharing without follow requests. This initiative enhances content discovery and reflects Flipboard's move towards full federation.
Mastodon Announces Fediverse Discovery Providers
Mastodon has launched Fediverse Discovery Providers to improve content discovery in decentralized networks, addressing challenges like spam detection and synchronization, while promoting user consent and privacy across various services.
ActivityBot – the simplest way to build Mastodon Bots
Terence Eden has launched ActivityBot, a user-friendly tool for creating Mastodon bots, allowing quick deployment and essential functionalities, while also inviting user feedback for improvements.
Forum software NodeBB has added ActivityPub support
NodeBB has integrated with the fediverse using the ActivityPub protocol, enabling decentralized interactions for forums. This core feature, supported by NLNet Foundation funding, enhances connectivity for various organizations.
Looking at the list of goals in the article, the only benefit in addition to what can easily be done with RSS is knowing who follows me. Maybe its just me, but if I'm writing to a blog or a microblog I just don't really care who follows me or even who reads it.
There are more social features built into ActivityPub, likes and shares for example, but at that point I'm likely not running my own server and am trusting a third party to do it for me. The idea that there are multiple hosts I can choose to trust rather than one centralized one feels more like a principled argument than one based on real benefits of, for example, owning my own content or censorship resistance.
Basically an RSS bridge would work fine. I know such things already exist but it would be cool if it was built into AP.
Right now I just manually post my blog post to my Mastodon account which is perfectly fine.
I've recently been playing around selfhosting a small single user activitypub server to see how it works. I can't understate how satisfying it's been to wallow in compared to a static site or serverless setup. It unexpectedly tickled that special "oooh, a _system_" part of my brain, a lot.
> There is no search functionality.
This makes sense for the tutorial, but search functionality would be awesome for discovery, both in terms of people finding your blog as well as finding other interesting blogs to follow. Niche blogs seem more difficult to find these days when Google only seems to surface websites with the right keywords.
Related
Show HN: Fedv.link – a way to share Mastodon links that can be interacted with
The website fedv.link simplifies sharing profiles and posts across Fediverse servers. Users can add "https://fedv.link/" before ActivityPub links to seamlessly view content on their chosen server. This service operates without sign-up, storing server preferences locally.
Flipboard Users Can Now Follow Anyone in the Fediverse
Flipboard has launched a feature for users to follow Fediverse accounts, enabling post sharing without follow requests. This initiative enhances content discovery and reflects Flipboard's move towards full federation.
Mastodon Announces Fediverse Discovery Providers
Mastodon has launched Fediverse Discovery Providers to improve content discovery in decentralized networks, addressing challenges like spam detection and synchronization, while promoting user consent and privacy across various services.
ActivityBot – the simplest way to build Mastodon Bots
Terence Eden has launched ActivityBot, a user-friendly tool for creating Mastodon bots, allowing quick deployment and essential functionalities, while also inviting user feedback for improvements.
Forum software NodeBB has added ActivityPub support
NodeBB has integrated with the fediverse using the ActivityPub protocol, enabling decentralized interactions for forums. This core feature, supported by NLNet Foundation funding, enhances connectivity for various organizations.