Fedify: an ActivityPub server framework

August 2, 2025 · View on GitHub

Fedify: an ActivityPub server framework

JSR npm GitHub Actions Matrix Follow @fedify@hollo.social

Note

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

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

Currently, Fedify provides the following features out of the box:

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

If you have any questions, suggestions, or feedback, please feel free to join our Matrix chat space or GitHub Discussions. Or tag #Fedify in the fediverse!

Packages

Fedify is a monorepo that contains several packages, each of which provides different features. The main package is @fedify/fedify, which provides the core functionality of the framework. Other packages provide integrations with various web frameworks, database drivers, and other features. Here is the list of packages:

PackageJSRnpmDescription
@fedify/fedifyJSRnpmThe core framework of Fedify
@fedify/cliJSRnpmCLI toolchain for testing and debugging
@fedify/createnpmCreate a new Fedify project
@fedify/amqpJSRnpmAMQP/RabbitMQ driver
@fedify/astroJSRnpmAstro integration
@fedify/cfworkersJSRnpmCloudflare Workers integration
@fedify/debuggerJSRnpmEmbedded ActivityPub debug dashboard
@fedify/denokvJSRDeno KV integration
@fedify/elysianpmElysia integration
@fedify/expressJSRnpmExpress integration
@fedify/fastifyJSRnpmFastify integration
@fedify/freshJSRFresh integration
@fedify/h3JSRnpmH3 integration
@fedify/honoJSRnpmHono integration
@fedify/initJSRnpmProject initializer for Fedify
@fedify/koaJSRnpmKoa integration
@fedify/lintJSRnpmLinting utilities
@fedify/nestjsnpmNestJS integration
@fedify/nextnpmNext.js integration
@fedify/nuxtJSRnpmNuxt integration
@fedify/mysqlJSRnpmMySQL/MariaDB driver
@fedify/postgresJSRnpmPostgreSQL driver
@fedify/redisJSRnpmRedis driver
@fedify/relayJSRnpmActivityPub relay support
@fedify/solidstartJSRnpmSolidStart integration
@fedify/sqliteJSRnpmSQLite driver
@fedify/sveltekitJSRnpmSvelteKit integration
@fedify/testingJSRnpmTesting utilities
@fedify/vocabJSRnpmActivity Vocabulary library
@fedify/vocab-runtimeJSRnpmRuntime library for code-generated vocab
@fedify/vocab-toolsJSRnpmCode generation tools for Activity Vocab
@fedify/webfingerJSRnpmWebFinger client library for ActivityPub

Sponsors

This project exists thanks to all the people who contribute, donate, and sponsor it. We are grateful for their support. We would like to thank the following financial contributors:2

Corporate sponsors

Supporters

Backers

Robin Riley, yamanoku, Encyclia, taye, okin, Andy Piper, box464, Evan Prodromou, Rafael Goulart, malte

One-time donations

Robin Riley, Markus P, Nils Bergmann, Rameez

Become a sponsor

We welcome financial contributions to help us maintain and improve this project. If you would like to become a financial contributor, please visit our Open Collective.

Footnotes

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

  2. Those lists are automatically updated every hour.