selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

Mostr logo

Self-host Mostr

1.0.0

Bridge between Nostr relays and the Fediverse

ReleaseOpen Sourceagpl-3.0
Updated2 years ago
Setup difficultyAdvanced
Requires
PostgreSQL
Install with Bun

What is Mostr?

Mostr connects two decentralized social networks: it behaves as an ActivityPub server on one side and a Nostr client on the other, so follows, notes, announcements, likes, emoji reactions and deletions are mapped across to matching Nostr event kinds and back. Bridged accounts get deterministically generated keypairs and appear on the Fediverse as long hex public-key actors (e.g. users at mostr.pub), while Nostr users find them via NIP-05 identifiers; the relay pool acts as the datastore, so the bridge keeps very little in its Postgres database. Documented protocol support includes NIP-05, NIP-09 deletions, NIP-18 reposts, NIP-25 reactions, NIP-36 sensitive content, NIP-57 Lightning zaps and NIP-71 video events (which federate as notes carrying a video attachment). The public bridge at mostr.pub also lets people look up cross-platform accounts (Fediverse, Threads, Bluesky), and its blog announces that Nostr users can follow Bluesky accounts through the bridge. To run your own, install Bun and a Postgres database, check out the source, and start the server; the repository includes sample nginx and systemd configuration, and no Docker image is published.

Should you self-host Mostr?

Mostr scores 54/100 on selfhost.directory (how scoring works) and ranks #2 of 2 in Federation.

There was no stable release in the past 12 months, so check the repository's recent activity before you rely on it.

Setup is advanced: plan for several services and some ongoing maintenance. It is agpl-3.0-licensed.

Its closest alternative on selfhost.directory is Plume (59/100, 2 220 stars). It scores higher overall, so compare the two before you pick. See Mostr vs Plume side by side.

Features

  • ActivityPub server / Nostr client
  • Content deletion
  • Cross-platform user search
  • Deterministic bridged accounts
  • Lightning Zaps
  • Likes and emoji reactions
  • NIP-05 identity mapping
  • Nostr–Fediverse bridging
  • Profile synchronization
  • Relay pool subscription
  • Reposts
  • Sensitive content flags
  • Video event federation

How to install Mostr

Install Mostr with Bun

Bun; Postgres
bun install
bun run dev

Start the server with `bun run start`; the scripts load environment from .env (`--env-file=.env`). Repository ships example nginx site config and a systemd unit under installation/.

More in Federation

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…