# Campfire

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

- Status: working prototype
- Stack: JavaScript, WebRTC, Vite, Cloudflare Pages, Web + Android
- Repo: https://github.com/Mike-pw/campfire (no public live demo for now)
- Author: Mike Noel

## 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

- Pairing happens in person: scan a QR code, then read matching words aloud.
- No accounts, phone numbers or public directory.
- Phones connect directly; messages are end-to-end encrypted with no message servers.
- A conversation disappears when everyone leaves it.
- Secret-ballot polls, friend-based account recovery and offline delivery.

## Hard problems

- Connecting phones directly across home and mobile networks.
- Making messages truly temporary while still catching up a friend who reconnects.
- Pairing that resists impersonation.

## Roadmap (designed, not built yet)

- User-run relaying and discovery.
- Larger groups.
- A distributed, encrypted mailbox.

## How it was built

Spec first, then AI-assisted implementation with review at the end of each milestone. 324 tests.
