Privacy
Many players will be children. These rules are part of the design, not an afterthought.
What stays on the player’s computer
Section titled “What stays on the player’s computer”- Progress: answers, XP, streaks and the spaced-repetition schedule, in
%APPDATA%\game-learning\progress\. - The hub’s address and pairing token, in
%APPDATA%\game-learning\hub.json. - Study material and content packs.
- Voice answers (setting
voiceAnswers, off by default): the microphone is used only after the player presses the mic button or the voice hotkey, and only until they stop talking. The sound is turned into text on this PC (Whisper, running inside the app) and then thrown away; nothing is recorded to disk. Only the app’s overlay window may use the microphone. - Speech models, in
%APPDATA%\game-learning\models\(shared by all players).
The hub only listens on 127.0.0.1 (this computer) and needs a pairing token, so other computers and web pages cannot connect.
What is sent to the internet
Section titled “What is sent to the internet”- During play: nothing. Questions, audio, voice answers and grading all work offline.
- Speech model download (only with voice answers on): when voice answers are turned on, the app downloads the speech model once from Hugging Face (huggingface.co, about 40 to 250 MB depending on
voiceModel). It asks only for the public model files by name; nothing about the player (no sound, no text) is sent. The page that hears the microphone cannot reach the internet at all: it may only load model files through the app, which keeps them on disk and downloads a missing file only for the allowed models. To avoid any download, copy the model folder (e.g.onnx-community/whisper-base) into%APPDATA%\game-learning\models\yourself. - Update check: the installed app asks GitHub (github.com) about once every 6 hours whether a newer version exists, and downloads it if so. This sends nothing about the player: only what any download sends (the computer’s internet address and the app version). Turn it off with the setting
autoUpdate. - When making a content pack (
apps/pipeline), the source pages are sent to the AI provider you choose (Gemini today). On free tiers, providers may use inputs to improve their products. Only send material you are allowed to share, and never personal information. - Desktop app, “Make a pack from my notes” (only when someone presses Make it): the notes (or the PDF’s pages), the title and the audience (age, grade) are sent to Google’s Gemini API with the user’s own key, and the lessons and questions come back. The window says so before anything is sent. Nothing about the player (name, progress, answers) is sent. The key is checked once with Google (a request that lists models) and is stored only encrypted with Electron
safeStorage(Windows DPAPI) in%APPDATA%\game-learning\gemini-key.bin, never insettings.jsonand never in the log; when the PC cannot encrypt, it is kept in memory until the app closes. With the optional voice, the questions’ text goes to Gemini text-to-speech (English) or Sawtak (Arabic). The made pack stays on the PC in%APPDATA%\game-learning\packs\. A parent’s PIN locks this feature. - Desktop app, “Make a pack” with “Your own AI (no key)” (the default): the app sends nothing. Copy the prompt puts the notes, title and audience on the clipboard; the person pastes them into an AI chat of their choice, so that service’s own terms apply. The answer they paste back is checked and turned into a pack on the PC. No key is asked for or stored.
- Web demo, “Use my own notes”: the notes the visitor pastes are sent from their browser straight to Google’s Gemini API, with the visitor’s own API key. The demo has no server and sends them nowhere else. The key is kept only for the open tab (
sessionStorage); the generated pack and progress stay in that browser (localStorage). Google’s terms for the visitor’s key apply (free tiers may use inputs to improve Google’s products). The example packs need no key and send nothing.
Rules for new features
Section titled “Rules for new features”- No child voice, image or typed text goes to an online service without a clear, opt-in setting that a parent controls.
- Speech recognition must run on the PC (done: voice answers use Whisper on the PC).
- No accounts, tracking or analytics in V1.
- Play-test reports in this repo contain no names, ages tied to names, photos or recordings.