Working prototype

Campfire

Peer-to-peer messenger where friends are verified in person and devices create the distributed network. No servers, accounts or bots.

  • JavaScript
  • WebRTC
  • Vite
  • Cloudflare Pages
  • Web + Android

The problem

Most messaging runs through company servers built around accounts, algorithms and engagement.

The idea

A small, private chat where the people using it are the network, contacts are met in person, and conversations disappear when everyone leaves.

How it works

  • Meet in person to connect. Two people pair by scanning a QR code, then read matching words aloud to confirm they're talking to the right person.
  • Nothing to sign up for. There are no accounts, no phone numbers and no public directory to search.
  • Phones talk directly. Messages go straight between devices and are end-to-end encrypted. There are no message servers.
  • Conversations are temporary. A conversation disappears when everyone leaves it.
  • Built for real groups of friends. Secret-ballot polls, account recovery through your friends, and delivery for people who were offline.

Hard problems

  • Connecting phones directly. Home and mobile networks make it hard for two phones to reach each other without a server in the middle.
  • Temporary, but not forgetful. Messages should truly disappear, yet a friend who drops off and comes back still needs to catch up on what they missed.
  • Pairing that resists impersonation. With no accounts or directory, every contact is verified in person: a QR code scan, then matching words read aloud by both people.

What I'd do next

Roadmap: these are designed but not built yet.

  • Relaying and discovery run by the people using Campfire.
  • Larger groups.
  • A distributed, encrypted mailbox.

How it was built

I wrote a spec first, then built Campfire with AI-assisted implementation, reviewing the work at the end of each milestone. It has a suite of 324 tests.