The server

Written in Go, on PostgreSQL 16. It checks and converts every recording with FFmpeg: at most 60 seconds, Opus at about 240 KB a minute, loudness evened out, then hashed (SHA-256) and signed (Ed25519).

  • Go · chi · pgx
  • PostgreSQL 16
  • FFmpeg + libopus

The app

One Flutter app for Android, iOS and the web. It records AAC on phones (Opus in WebM in browsers), plays the feed with preloading, and keeps saved waves on the phone.

  • Flutter
  • Android · iOS · web
  • Saved waves offline (phones)

Accounts and safety

Passwords are hashed with Argon2id. Sessions use short-lived access tokens and refresh tokens that rotate on every use. Sign-in and listen counts are rate-limited.

  • Argon2id
  • Rotating refresh tokens
  • Reports, auto-hide, review

Run your own Wave.

One server is enough. Docker Compose starts Wave, PostgreSQL and Caddy, which gets the HTTPS certificate for your domain.

cd deploy
cp .env.example .env    # WAVE_DOMAIN, WAVE_SECRET, POSTGRES_PASSWORD
docker compose up -d
docker compose exec wave wave make-admin <username>

What isn’t done yet