Express Activitypub

screenshot of Express Activitypub
express

A very simple reference implementation of an ActivityPub server using Express.js

Overview:

Express ActivityPub Server is a simple standalone server that supports creating new Actors via API, discovering Actors via webfinger, and notifying followers of new posts. This reference implementation is designed to help users understand and implement ActivityPub support in their projects.

Features:

  • Creation of new Actors via API: Allows users to create new Actor accounts easily.
  • Discovery of Actors via webfinger: Enables users to find accounts from other instances.
  • Notifying followers of new posts: Ensures that new posts show up in followers' timelines.

Local testing:

  • Use a service like ngrok for local testing before deploying on a real server.
  • Install ngrok and run ngrok http 3000 (or your chosen port).
  • Update the DOMAIN field in config.json with the ngrok domain.
  • Restart the server for changes to take effect.

Summary:

Express ActivityPub Server is a useful tool for implementing basic ActivityPub support in projects. With features like creating new Actors via API, enabling webfinger discovery, and notifying followers of new posts, this server serves as a valuable reference implementation for developers looking to incorporate ActivityPub functionality in their applications.

express
Express

Express.js is a simple Node.js framework for single, multi-page, and hybrid web applications.