Home | Notifications | New Note | Local | Federated | Search | Logout

Note Detail


silverpill@silverpill@mitra.social (2026-05-03 02:00:31)
Fediverse & P2P
Nomadic identity is a nice feature, but FEP-ef61: Portable Objects is not limited to that. The intention was always to allow peer to peer communication without servers. This is why the protocol was designed to be transport-agnostic: you can use fediverse servers to deliver activities, but you can also use emails, torrents or USB sticks.

To explore these possibilities, I added a simple P2P synchronization mode to Mitra Mini, which allows clients to exchange activities via a shared directory. This doesn't mean that clients should run on the same machine. Syncthing is a tool for P2P file synchronization that can be used to share a directory between multiple machines, and it should work well for our use case.

The P2P mode is available in Mitra Mini v0.4.0. You can use a pre-compiled binary, which is now self-contained and includes the mitra-web frontend. See installation instructions in the readme. To enable P2P mode, add the following block to your configuration file:[federation]
p2p_shared_outbox = "/path/to/shared/directory"

Registering on a web gateway is not necessary when working in P2P mode, but you need to specify it in the config, because a lot of legacy code still depends on that.

If you'd like to connect, DM me your Syncthing device ID (it can be used in a Whonix VM to prevent IP address leaks).

#fep_ef61 #p2p
Reply

---Replies---
silverpill@silverpill@mitra.social (2026-05-04 03:59:37)
UPDATE: ActivityPub over Syncthing actually works. I am exchanging activities with another Mitra Mini user.