No description
  • TypeScript 83.9%
  • CSS 9.8%
  • HTML 5.7%
  • Shell 0.6%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jeroen van Veen 3aa2715052 fix(coach): change slides only when the presenter asks
The coach moved slides on its own, told to whenever it "helps", and
pulled the presenter off the slide they were rehearsing. The tool, the
coach's briefing and the backend that runs the tool now all say: only
when asked in so many words; name another slide by number instead.
2026-11-08 09:22:08 +01:00
assets feat: open any deck from the page and give the room a real audience 2026-10-22 15:07:55 +02:00
deploy feat: copy rehearsals for your own agent, in place of changing the slides 2026-11-06 08:04:06 +01:00
src fix(coach): change slides only when the presenter asks 2026-11-08 09:22:08 +01:00
.gitignore feat(deploy): midas deploys Podium to podium.garage44.eu 2026-10-30 09:13:16 +01:00
bun.lock feat: add realtime presentation practice app 2026-10-22 13:46:31 +02:00
config.example.toml feat: copy rehearsals for your own agent, in place of changing the slides 2026-11-06 08:04:06 +01:00
handoff.test.ts feat: copy rehearsals for your own agent, in place of changing the slides 2026-11-06 08:04:06 +01:00
package.json feat(server): --no-login, for running Podium on your own machine 2026-11-06 08:04:07 +01:00
README.md feat(server): --no-login, for running Podium on your own machine 2026-11-06 08:04:07 +01:00
server.ts fix(coach): change slides only when the presenter asks 2026-11-08 09:22:08 +01:00
store.test.ts feat: sign in to use Podium; the admin makes the accounts 2026-10-29 19:28:50 +01:00
store.ts feat: sign in to use Podium; the admin makes the accounts 2026-10-29 19:28:50 +01:00
tsconfig.json feat: add realtime presentation practice app 2026-10-22 13:46:31 +02:00

Podium

Rehearse a talk out loud to an AI listener that answers with spoken feedback, built on the OpenAI Realtime API over WebRTC.

Run

bun install
bun local                             # bun server.ts --no-login, on this machine only

Open http://127.0.0.1:4400, set your OpenAI key in the admin panel (the gear in the bar; it opens by itself while there is no key), and press Start. Podium listens without interrupting you until you ask for something:

  • Feedback: a dialogue about what you said since the last round: the coach makes one point at a time and hands the turn back; react, push back or ask about it, and just start talking to interrupt it. It runs on GPT-Live (gpt-live-1, full duplex, so it feels like talking with a person): the listener, which heard the run-through, writes its notes, and a GPT-Live coach briefed with them, the slides and your points to work on opens the conversation. The coach puts the slide to discuss on screen itself (next, previous, or by number) when you ask or it helps, and hears when you move to another slide yourself. Its slide changes go through a backend model (live_backend). When you resume, the listener reads the conversation. live_coach = false, or GPT-Live failing to start, has the listener coach instead. The audience and PA step out meanwhile. Press it again, or say "Podium, resume", to go back to presenting.
  • Work on (checklist): what to improve, kept per deck. After each piece of feedback the model folds it into the list and ranks it by relevance, in two parts: how you present, and what to change on the slides (by slide). Review slides checks the slides against what you actually say on them; Copy puts the slide changes on the clipboard, to apply in your deck. Tick a point off when you've got it. The coach hears your top points and says whether you improved.
  • Copy for your agent: Podium is an overlay on an HTML presentation it loads from slides_url; it doesn't change the slides itself. Your own agent, working in the deck's repository, does: Copy for your agent… at the bottom of Work on puts what came up in rehearsals on the clipboard, as a prompt to paste into it. Podium keeps each rehearsal of a deck, Start to Stop, in the browser (muted speech left out); pick which ones (the last three by default, or those with feedback, or all), and what of each: the feedback conversations, Q&A, what you said on each slide, the written tips, and the open points to work on. A note says what to focus on, and Preview shows the exact text. The prompt asks the agent to say what it read and plans to change, and to ask you, before it changes anything.
  • Demo: Podium gives the talk itself, slide by slide, from your slides, notes, your own words in rehearsals and the points you work on (slides as if the changes were made), spoken through the PA. "Podium, presenteer jij maar" starts it, "Podium, resume" takes the floor back.
  • Tips (lightbulb): while you present, the coach writes the odd short tip in a panel at the bottom left, from your last 90 seconds of speech and the slide on screen: at most every 40 seconds, or none when all is fine. These are small separate requests that leave the spoken conversation alone.
  • Q&A: Podium plays your audience and asks you questions, one at a time. You can interrupt it. Press it again to go back to presenting.
  • Mute: takes you off the record. Podium still transcribes you, to hear "Podium, unmute", but drops what you said from the listener's memory, and doesn't answer in Q&A. Your audio still goes to OpenAI while muted.
  • Slides: load slide exports as images (sorted by file name). Use ◀/▶, the arrow keys or a presentation clicker. Podium is shown each slide as you move to it.
  • Web slides: open an HTML deck by its URL with the screen button in the bar (or set slides_url to open one at start; a deck you open in the bar wins). Podium serves it through /deck/ so it can read the current slide; each slide's text and speaker notes reach the model once you stay on it for a moment. The deck must mark its slides .slide and the current one .active, with notes in a .notes element.
  • Audience (people icon): a room full of people while you present. After Start a recorded theatre audience murmurs until you begin speaking; then it hushes to the odd (synthesised) cough, rustle or creaking chair until Stop. The recording is public domain; see assets/CREDITS.md.
  • PA (microphone icon): hear yourself as through a speech mic and loudspeakers (narrower, mid-forward, a little gritty) in a damped, cinema-sized room, with only a hint of its echo. Both buttons switch their sound on and off at any time; Start brings back the ones you last had on, and Stop silences them. They play only to you; the listener still hears your plain microphone. Use headphones: through speakers the mic would pick them up, and feed back.
  • Listener: changes who is listening (coach, skeptical executive, friendly colleague). You can switch during a session. Beside it, the listener's model (the realtime models of your account, model from the config by default); a change applies from the next Start. Then the transcriber, the separate model that writes your words in the transcript (the listener hears your audio itself): compare them on your own voice; a change applies at once.
  • Language (Auto, EN, NL, DE, FR, ES): the language you present in, so the transcript doesn't drift into others, and the one Podium speaks to you, even when your slides are in English. Switchable during a session; Podium remembers your last pick.

The slides fill the window with Podium's controls floating on top; the bar fades out while you present and comes back when you move the mouse. F toggles full screen (Podium included), T the transcript.

You can also say the actions, starting a sentence with "Podium": "Podium, feedback", "Podium, questions", "Podium, resume" (back to presenting, from feedback or Q&A), "Podium, mute" / "unmute", "Podium, stop", "Podium, next slide" / "previous slide". The same works in Dutch, German, French and Spanish ("Podium, ga verder", "Podium, volgende", "Podium, geluid uit"), whatever the language setting; see src/voice.ts. Other wording works too: when you address Podium without a known phrase ("Podium, ga naar de slide over Forgejo", "Podium, wat vond je tot nu toe?"), the model works out what you meant from your words and voice, with the slide titles at hand, and Podium notes what it understood. That takes about a second longer, and a small extra request that stays out of the rehearsal conversation. The command takes effect once the transcript of that sentence comes in, about a second after you stop talking.

The transcript on the right is for you and for the WPM count; the listener hears your audio itself, so a misheard line there doesn't mean Podium misheard you. WPM counts words per minute of actual speech, so pauses don't lower it. Transcription models tend to drop filler words, so Podium judges fillers from your audio, not from the transcript.

Configuration

Settings come from ~/.config/podium/config.toml (see config.example.toml). Environment variables override the file.

Config key Variable Default
openai_api_key OPENAI_API_KEY (none; a key set in the admin panel takes over)
database PODIUM_DB ~/.local/share/podium/podium.db (accounts, sign-ins, the key)
listen PODIUM_LISTEN 127.0.0.1:<port> (behind a proxy: an address only it reaches)
public_url PODIUM_PUBLIC_URL (none; the address a proxy serves Podium at)
model PODIUM_MODEL gpt-realtime-2.1
voice PODIUM_VOICE marin
transcribe_model PODIUM_TRANSCRIBE_MODEL gpt-transcribe
language PODIUM_LANGUAGE Auto (the picker in the bar overrides it)
microphone PODIUM_MICROPHONE far_field (near_field for a headset)
port PORT 4400
slides_url PODIUM_SLIDES_URL (none; the deck to open at start)
live_coach PODIUM_LIVE_COACH true (feedback conversations on GPT-Live)
live_backend PODIUM_LIVE_BACKEND gpt-6-luna (reasons and acts for the GPT-Live coach)
live_voice PODIUM_LIVE_VOICE marin
presenter_voice PODIUM_PRESENTER_VOICE voice (for Demo; a custom voice by its voice_… id)

Every session is paid with one OpenAI key, so using Podium needs an account, and only an admin makes them: nobody signs up. The first admin is made on the command line (--create-admin, the password from PODIUM_ADMIN_PASSWORD or asked). On your own machine --no-login (bun local, or PODIUM_NO_LOGIN=1) does without accounts: whoever reaches it is the admin, so it refuses to start with listen on another address than loopback, or with a public_url. The gear in the bar signs out; for an admin it also sets the key and makes, disables, re-passwords, promotes and deletes accounts, and the last enabled admin stays one. The key is shown back only by its last four characters; one saved there is kept in the database, wins over the config file and the environment, and takes effect at once. Passwords are argon2id, and a sign-in is an HttpOnly SameSite=Strict cookie for 30 days from its last use.

Podium keeps your talk (slides, what you said on each) and the points to work on in your browser's IndexedDB; nothing of it leaves your machine except as part of a request during a session.

The server listens on loopback (127.0.0.1) unless listen says otherwise, and only answers requests addressed to 127.0.0.1, localhost or public_url's host, so a website can't reach it through your browser by pointing its own hostname there.

On the server

Podium runs at https://podium.garage44.eu/ on the garage44.eu VPS: main's files in /data/podium/app, run by bun as the podium user under systemd (deploy/podium.service), listening on the docker0 gateway (172.17.0.1:4400) where only Caddy reaches it. Caddy terminates TLS:

podium.garage44.eu {
	reverse_proxy 172.17.0.1:4400
}

There it opens about.cartopolis.org by default, and decks must be at a public address: the server can't reach one on your own machine.

midas deploys it, like any project of the workspace: after a landing on main the hub builds deploy/build.sh on a node, which gathers the files the server runs into deploy/out, starts that copy once as podium against a scratch database, publishes it to /data/podium/app and writes /data/podium/restart.stamp, which deploy/podium-reload.path restarts the service on. midas deploy podium does it by hand. The recipe is the hub's (/etc/midas/hub.conf, projects."jeroen/podium".deploy). The first install:

sudo useradd --system --home-dir /data/podium --shell /usr/sbin/nologin podium
sudo install -d -o podium -g podium -m 750 /data/podium /data/podium/data
sudo cp deploy/podium.service deploy/podium-reload.* /etc/systemd/system/
sudo systemctl enable --now podium-reload.path && sudo systemctl enable podium
midas deploy podium
cd /data/podium/app && sudo -u podium PODIUM_DB=/data/podium/data/podium.db bun server.ts --create-admin <name>