Conf Quiz
Conf Quiz turns a PDF slide deck and a YAML file into an interactive conference presentation. Attendees join from their phones, answer anonymously, and see results as the speaker moves through the deck. There are no points or leaderboards.
The presenter runs locally. The attendee app is a static site that can be published with GitHub Pages, and Firebase provides the shared live state.
Features
- Insert questions after specific PDF pages.
- Run single choice, multiple choice, yes/no, slider, rating, number, ranking, free-text, and word-cloud questions.
- Show live results, close voting, and reveal an optional correct answer.
- Moderate text before it appears on screen.
- Share the active slide with attendee devices when useful.
- Rehearse the complete flow without connecting to Firebase.
- Export a base-path-safe attendee site for GitHub Pages or any static host.
- Resume an interrupted room, release one join code, or clean up old sessions from the local presenter tools.
Installation
Conf Quiz supports Python 3.10 and newer.
pip install conf-quiz
With uv:
uv tool install conf-quiz
Quick start
Create a presentation directory:
confquiz init my-talk
This creates quiz.yml, a safe Firebase web-config example, and a blank sample
PDF. Copy the example to the local filename used by quiz.yml:
cp my-talk/firebase.web.example.json my-talk/firebase.web.json
firebase.web.json is ignored by Git. Replace its placeholders with the web
configuration from your own Firebase project, then replace the PDF and edit
quiz.yml:
schema_version: 1
presentation:
id: my-talk
title: "Reliable Python services"
speaker: "Your name"
public_url: "https://your-account.github.io/my-talk/"
slides:
source: "slides.pdf"
firebase:
web_config: "firebase.web.json"
questions:
- id: first-poll
after_slide: 3
type: single_choice
prompt: "Which constraint matters most to your team?"
options:
- { id: reliability, label: "Reliability" }
- { id: speed, label: "Delivery speed" }
- { id: cost, label: "Cost" }
Rehearse locally without Firebase:
confquiz preview my-talk/quiz.yml
The command prints a presenter URL and an attendee URL. The preview room uses
the code DEMO26 and keeps all data in memory.
When Firebase is configured, validate and export the attendee site:
confquiz validate my-talk/quiz.yml
confquiz export my-talk/quiz.yml --output my-talk/site
Then start the live presenter:
confquiz present my-talk/quiz.yml --credentials /safe/path/firebase-admin.json
The Admin credential stays on the presenter laptop. It is never included in the exported site.
If the presenter computer restarts during a live room, reconnect to the same session with its join code:
confquiz present my-talk/quiz.yml \
--resume PYAU26 \
--credentials /safe/path/firebase-admin.json
Resume uses the last state synchronized to Firebase and keeps existing attendee connections and answers. It requires the same quiz configuration and an active, unexpired room.
Firebase
A live room needs:
- a Cloud Firestore database;
- Anonymous Authentication;
- a Firebase web app configuration;
- a Firebase Admin service-account credential for the presenter; and
- the included Firestore rules and indexes.
Generate the deployment files in your presentation directory:
confquiz firebase scaffold my-talk
Deploy them before sharing the attendee site:
npx firebase-tools use YOUR_PROJECT_ID
npx firebase-tools deploy --only firestore:rules,firestore:indexes
Every speaker supplies their own firebase.web.json; the package does not ship
the maintainer's Firebase project. Its browser identifiers are necessarily
included in that speaker's exported attendee site, but the local source file is
ignored to prevent accidental reuse or publication. The Admin JSON is a private
credential: keep it outside the repository and pass its path to
confquiz present.
For a GitHub Actions deployment, store the JSON object in a per-presentation
FIREBASE_WEB_CONFIG repository secret and create the ignored file during the
build; the deployment guide includes a complete workflow.
See the Firebase setup guide
for the complete project and App Check setup.
Presenter and attendee sites
confquiz present serves the presenter UI from the speaker's computer. The
attendee site is the static output of confquiz export, so it can use a
different host and URL. Set presentation.public_url to that address; Conf Quiz
uses it in the join link and QR code.
The exported homepage shows the first PDF page even when no room is running. When the presenter starts a room, the join form appears above the presentation.
Documentation
The full documentation covers:
- installation and the first rehearsal;
- the YAML configuration;
- question types;
- GitHub Pages deployment;
- presenter controls;
- security; and
- troubleshooting.
Development
uv sync --extra dev
npm install
npm run build
uv run pytest
npm test
The Firestore rules test uses the Firebase Emulator Suite and requires Java:
npm run test:rules
Documentation contributors need Python 3.11 or newer and Quarto:
uv sync --group docs
uv run --group docs great-docs build
More detail is in the development guide.
Security
Conf Quiz is intended for anonymous conference participation, not elections, assessments, or prize-bearing competitions. Anonymous Authentication limits a browser profile to one response document; it does not prove that one browser equals one person.
Please report security issues privately to the maintainer instead of opening a public issue.
License
Conf Quiz is released under the MIT License. Third-party browser assets and their licenses are listed in THIRD_PARTY_NOTICES.md.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file conf_quiz-1.2.0.tar.gz.
File metadata
- Download URL: conf_quiz-1.2.0.tar.gz
- Upload date:
- Size: 988.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
da3c03af8bd392a2f6a71e4e19845aa05b6ae08fc720bfd0975d12952577f35c
|
|
| MD5 |
3bf76d449626745b830aad447330a7a7
|
|
| BLAKE2b-256 |
c3fa1b8f69540b74eac199537dd48fbc0caecb7b4be6da45861cceb7d3b2c6b9
|
Provenance
The following attestation bundles were made for conf_quiz-1.2.0.tar.gz:
Publisher:
publish.yml on adarshdigievo/conf-quiz
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
conf_quiz-1.2.0.tar.gz -
Subject digest:
da3c03af8bd392a2f6a71e4e19845aa05b6ae08fc720bfd0975d12952577f35c - Sigstore transparency entry: 2582532835
- Sigstore integration time:
-
Permalink:
adarshdigievo/conf-quiz@6ec4265d3a3ad0b78ded6c0b11cff808710a4b97 -
Branch / Tag:
refs/tags/v1.2.0 - Owner: https://github.com/adarshdigievo
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@6ec4265d3a3ad0b78ded6c0b11cff808710a4b97 -
Trigger Event:
release
-
Statement type:
File details
Details for the file conf_quiz-1.2.0-py3-none-any.whl.
File metadata
- Download URL: conf_quiz-1.2.0-py3-none-any.whl
- Upload date:
- Size: 985.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f7a464ea5b687fb4220865afd03ea0c7c3d3d2d3656b260521e0e55a1367a95b
|
|
| MD5 |
129549e62b9d5746ca760e5d271ec64c
|
|
| BLAKE2b-256 |
a5e3254932e9f3ee36441b9a95ac630be01462efb093a8def48e702044592df1
|
Provenance
The following attestation bundles were made for conf_quiz-1.2.0-py3-none-any.whl:
Publisher:
publish.yml on adarshdigievo/conf-quiz
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
conf_quiz-1.2.0-py3-none-any.whl -
Subject digest:
f7a464ea5b687fb4220865afd03ea0c7c3d3d2d3656b260521e0e55a1367a95b - Sigstore transparency entry: 2582532839
- Sigstore integration time:
-
Permalink:
adarshdigievo/conf-quiz@6ec4265d3a3ad0b78ded6c0b11cff808710a4b97 -
Branch / Tag:
refs/tags/v1.2.0 - Owner: https://github.com/adarshdigievo
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@6ec4265d3a3ad0b78ded6c0b11cff808710a4b97 -
Trigger Event:
release
-
Statement type: