Pocket apps · on in kwant 0.10.0

Pocket apps: two-way pages your bot runs live

Ask a bot for a pub quiz on Friday, a Secret Santa or a sign-up sheet. You get a small app on your own kwant box and a QR code to share. Friends scan it and join in their phone's browser, with no account and nothing to install. The bot runs it while you play.

How it works

One sentence in, a QR code out

  1. 1

    Say what you want

    Make a pub quiz for Friday, 8 pm, 4 rounds, one on 90s music, about 25 friends.

    The bot writes the questions and checks each answer against the page it quotes.

  2. 2

    It checks before you share

    30 pretend playersEvery question

    A dry run plays the whole quiz with 30 pretend players. The QR code appears only once the run comes out clean.

  3. 3

    Friends scan and play

    Phone browserNo account

    Guests type a name and play. A TV or laptop shows the big screen, your phone is the remote, and the bot keeps the scores.

What you can make

The kits in kwant 0.10.0

Each kit is plain code on your box. The bot sets one up from what you tell it.

Quiz night

Your bot writes the questions and each round's intro, and checks every answer against a source. It settles near misses like "Messi" and "Lionel Messi" and keeps the leaderboard live.

Secret Santa

Names are drawn with couples kept apart. Each person sees only their own match, with their wish list and the budget, on their own phone. Rejoining needs the 4-digit PIN they chose.

Sign-ups, RSVPs and votes

Slots with a cap and a waiting list that moves up on its own. RSVPs with plus-ones and food needs. Secret-ballot votes, one pick or ranked.

Photo wall

Guests send full-size photos from the browser. Location and camera details are removed on arrival, and a photo reaches the big screen only after you approve it.

Guest guide

For a holiday flat or a small shop. Each guest has a private chat with your bot, answered from the facts you gave it, up to a daily limit you set.

Queue ticket

One QR code on the counter. A customer taps Take a ticket and sees their place in the queue. You press Call next. No name needed.

Why it's different

Free, on your own box, with a bot running it

A bot runs the night

Your bot writes every line of the show before the night, then judges near-miss text answers and keeps the leaderboard live. Timers and scores are plain code, so the game never waits on a model. Kahoot's AI drafts questions from your input or a PDF before a game, and Kahoot asks hosts to check what it writes (Kahoot trust page, checked 29 Nov 2026).

Free, with no monthly pool

Pocket apps are part of kwant, which is free and open source. A quiz, Secret Santa or sign-up takes up to 60 people by default, with no monthly pool and no subscription. You pay only for the AI model you connect. For comparison, Slido's free Basic plan allows 100 participants a session (Slido community, staff answer, checked 29 Nov 2026).

Your box, your guests' data

Pocket pages are served from your kwant, and guests' names, answers and photos are stored there. In a quiz, joining, scoring and the leaderboard never call a model. If your bot uses a cloud model such as Claude or OpenAI, a near-miss text answer goes to that model to be judged. A Guest guide's chats are answered by your bot's model, so they go to it too.

A date on the data

Each pocket tells guests how long it keeps their data before they type a name. A quiz deletes names and answers 7 days after it ends, and a Secret Santa 7 days after the reveal or gift date. A photo wall deletes photos 30 days after it ends.

Your choice

Turn it off in one tap

From 0.10.0, Pocket apps are on unless you turned them off before. To turn them off, open Settings › All spaces › Bots and switch Pocket apps off. Guests can't join and bots can't make pocket apps until you turn it back on.

Or from a script, signed in as you:

POST /api/settings
{"pocket_apps": "off"}

The guest port only listens while you have a pocket, so a kwant with no pockets has no extra port open.

kwant Settings, All spaces, Bots: the Pocket apps switch is on, under Bots can use their own tools. Its hint reads: Guests join your quizzes, Secret Santas and other pocket apps from their phones, with no account. Off, guests can't join and bots can't make pocket apps.

Get started

Try it before Friday

Install kwant, add a login, then ask any bot for a quiz.

git clone https://github.com/alexsergivan/kwant && cd kwant && make run

Quickstart → All features →

FAQ

Do guests need an account or an app?

No. Guests scan the QR code, open the page in their phone's browser and type a name. A Secret Santa or a photo wall also asks for a 4-digit PIN, so only they can rejoin as themselves.

Is it free?

Yes. Pocket apps are part of kwant, which is free and open source under the AGPL-3.0. A quiz, Secret Santa or sign-up takes up to 60 people by default. You pay only for the AI model your bot uses.

How do friends reach my box?

On the same Wi-Fi, at your computer's address. From anywhere, through your own https address, a Tailscale Funnel you already run, or a quick tunnel you turn on for one pocket. A Secret Santa runs for weeks, so it never gets a quick tunnel, whose address changes each time it starts.

Where is guest data kept, and for how long?

On your kwant box. Each pocket says how long before anyone types a name: a quiz deletes names and answers 7 days after it ends. In a quiz, only a near-miss text answer goes to your bot's model to be judged, and that is a cloud service if your bot uses one. A Guest guide sends each guest's message to your bot's model to answer it.

Why not self-host an open-source quiz app?

You can. You would still write every question yourself and run the quiz server yourself. With kwant, the bot writes and checks the questions, and the quiz runs on the kwant you already have.

How do I turn Pocket apps off?

Open Settings › All spaces › Bots and switch Pocket apps off, or send POST /api/settings with {"pocket_apps": "off"}. Guests can't join and bots can't make pocket apps until you turn it back on.