/fedify

ActivityPub server framework in TypeScript

Primary LanguageTypeScriptGNU Affero General Public License v3.0AGPL-3.0

Fedify: a fediverse server framework

JSR JSR score GitHub Actions

Note

Looking for a quick demo? Here it is: Fedify Demo on Deno Playground.

Fedify is a Deno/TypeScript library for building federated server apps powered by ActivityPub and other standards, so-called fediverse.1 It aims to eliminate the complexity and redundant boilerplate code when building a federated server app, so that you can focus on your business logic and user experience.

Currently, Fedify is moving fast and the API is not stable yet. We do not recommend using it in production yet, so please use it if you would like to experiment with it and help us improve it.

The rough roadmap is to implement the following features out of the box:

If you want to know more about the project, please take a look at the following resources:

Installation

As a prerequisite, you need to have Deno 1.41.0 or later installed on your system. Then you can install Fedify via the following command:

deno add @fedify/fedify
import { Federation } from "@fedify/fedify";

Or you can directly import it in your code using jsr: specifier:

import { Federation } from "jsr:@fedify/fedify";

Footnotes

  1. You may already know some of the networks in the fediverse, such as Mastodon, Lemmy, Pixelfed, PeerTube, and so on.