Enable poll owners to discover other users to invite, based on user tags (location, interests, expertise). This is P2P—there's no central user directory. Discovery works by asking connected peers for introductions.
Design
Discovery Mechanism
Direct invite: Share a poll link or paste a peer ID manually
Directory server: Lightweight server where users can register their profile for discoverability
Users opt-in to being listed (toggle in profile)
Server stores: peer ID, name, tags, discoverable flag
Query endpoint: GET /api/users?tag=location:Berlin&tag=expertise:UX
Minimal server—just a thin REST API over a key-value store (e.g., Cloudflare Workers + KV, or a simple SQLite API)
Peer-chain discovery (secondary): Ask connected peers "who do you know matching these tags?"
Supplements the directory for users who are connected but not listed
Privacy Controls
Users opt-in to being discoverable (setting in profile)
Directory only stores public profile data (name, tags)—no private keys, no bio
Users can remove themselves from directory at any time
Plan
Build lightweight directory server (REST API + KV store)