A live mood map — pick a feeling or activity, see in real time how many people around the world picked the same.
- WebSocket-backed live counts across ~50 categories (feelings, doing, life)
- City is inferred from request headers; broadcast in the recent-activity feed
- Stateless — everything lives in-memory in the Bun server, resets when the process restarts
- Single static HTML page in
public/connects via/ws
Bun (native Bun.serve + WebSocket). No DB, no framework.
bun install
bun run dev # watch mode
bun run start # production- Listens on
PORTenv var, defaults to3110. - No persistence — counts reset on restart by design.
Caddyfileandnginx.confin the repo are the deployed reverse-proxy configs, kept for reference.