Skip to main content

Local-first · Peer-to-peer · Infrastructure on demand

Relay Button

Your app works locally. Start shared infrastructure only when collaboration needs it.

Distribute a local-first peer-to-peer PWA through IPFS, a normal download, or even a USB drive. Users keep their primary data on their own devices and exchange changes peer to peer. When they need help finding each other—or an online node to pin shared data—they press the Relay Button.

Current package version: v0.9.2

Application first

Software that stays with its users

Like software once distributed on a CD, a local-first peer-to-peer PWA can remain usable without a permanent connection to its original publisher. Local-first alone can still rely on central servers; Relay Button is specifically designed for apps that also replicate collaboration data peer to peer.

Read the full story

Infrastructure second

Connect only when collaboration needs it

Real networks still need signaling and bootstrap services. Relay Button deploys an OrbitDB and libp2p relay on Aleph Cloud for discovery, peer-to-peer collaboration, and optional IPFS pinning. Run it for minutes or years, then stop it again.

From local app to collaboration

What happens when you press the button

Relay Button does not move the application into the cloud. It adds replaceable, internet-reachable infrastructure around an app that already works locally.

  1. Open the PWA from IPFS, a download, or offline media
  2. Create and keep the primary working data locally
  3. Press Relay Button when the team needs to collaborate
  4. Deploy an OrbitDB and libp2p relay on Aleph Cloud
  5. Discover peers and replicate changes peer to peer
  6. Stop the relay when shared infrastructure is no longer useful

Distribute the app freely

Host the PWA on IPFS, offer a normal download, or share it through offline media such as a USB drive.

Keep primary data local

Users keep their working data on their own devices instead of depending on a central cloud database.

Collaborate peer to peer

Chats, todo lists, and other apps can exchange and replicate changes directly between peers.

Start a relay on demand

Deploy signaling and bootstrap infrastructure only when a team needs help connecting across the internet.

Keep shared data available

Use an online IPFS node to pin selected data while individual collaborators and their devices are offline.

Add durable archives

Extend local replication and IPFS pinning with decentralized archival storage when long-term retention matters.