Productivity · since 2020
Public Intent
Voting for clubs, committees and groups: as a questionnaire on the phone or live in the meeting with a timer and projector view, open to anyone, members only or as a secret ballot with paper tokens. Who took part and what they answered are stored apart.
- Status
- In production
- Period
- since 2020
- Area
- Productivity
- Role
- Design, development, operations
What it is
Public Intent is a tool for polls with several questions. The first version was a 2020 prototype with a PHP API and a React front end, which then sat untouched for a long time. In 2026 I rebuilt and finished it with AI assistance: a Go back end with ConnectRPC, a SvelteKit UI, live sessions and secret ballots with tokens.
- Question types: yes/no/abstain, single and multiple choice, scale, free text.
- Two modes: a questionnaire with all questions at once, optionally with an end date, or a live session in which questions are opened one at a time.
- Three ways to take part: public via link without an account, only for signed-in members of an organisation (once per account), or with signed one-time tokens.
- Results update live; two linkable questions can be cross-tabulated.
Features
The images show a local instance with made-up data from a sports club (UI in German); click to enlarge.
Questionnaire on the phone
Opening the link needs no account: all questions on one page, required ones marked, multiple choice with a maximum.

Live in the meeting
In the meeting, the chair opens one question after another, with a timer if wanted. People join with a six-digit code or a QR code; each phone then shows only the open question and the countdown.

The chair runs the session from a page of its own: on the left is what the projector also shows (join code, question, votes cast and, once released, the result), on the right the list of questions, the timer and keyboard shortcuts. The projector view itself opens in its own window or full screen.

Results
The results update while voting is under way: bars for choice questions, distribution and average for scales. Whether only the organisers see them, everyone after closing or everyone at any time is a setting of the poll.

Who may take part?
Each poll is either public, limited to members of the organisation or requires tokens. Once someone has voted, questions and options can no longer be changed, only texts.

Secret ballot with paper tokens
For a secret ballot, the browser creates a batch of tokens and prints them as cards with a QR code. Everyone draws a card and can vote exactly once with it; nobody knows who had which card.

How it stays anonymous
- Participation and answers are stored apart. One table only records that someone took part (account, hash of the token or a random ID), another only what was answered. Nothing links the two.
- No time, no order. Both tables use random keys and no timestamps, so the order of votes cannot be reconstructed.
- Isolated or linkable, per question. Only answers to linkable questions carry a random ballot ID so they can be cross-tabulated. Isolated questions are stored without it and cannot be combined with anything else, not even by the operators.
- Tokens without a key. For each batch the browser creates an Ed25519 key pair, sends only the public key to the server, signs the tokens itself and discards the private key. The server checks the signature and locks each token after its vote. The token sits in the link’s fragment (
#t=…) and so never reaches a server log.
There are limits: in public polls only the browser prevents a second vote, whoever runs the server can watch live traffic, and in very small groups the result alone gives a lot away.
How it is built
- One binary. The Go server serves the API and the UI; the SvelteKit app is built statically and embedded, data lives in SQLite (no CGO).
- API from Protobuf. The interface is defined in Protobuf, and Go and TypeScript code are generated from it. ConnectRPC speaks JSON over plain HTTP.
- Live without WebSockets. Live sessions and results arrive as Connect server streams over HTTP/1.1 via
fetch. - Runs as a container via edgegate: every new image from the Gitea CI is rolled out automatically.