8000 GitHub - gi11es/etincelle: Étincelle — personalized family learning platform. English, maths, reading quizzes, French B2+, citizenship test prep. Spaced repetition, gamification, and in-browser AI. · GitHub
[go: up one dir, main page]

Skip to content
gi11esPublic

About

Étincelle — personalized family learning platform. English, maths, reading quizzes, French B2+, citizenship test prep. Spaced repetition, gamification, and in-browser AI.

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

155 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
< 8000 a title="scripts" aria-label="scripts, (Directory)" class="Link--primary" href="/gi11es/etincelle/tree/master/scripts" data-discover="true">scripts
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Etincelle

A personalized learning platform for the whole family. Three portals, three learners, one shared home — each with tailored content, adaptive difficulty, and progress tracking.

Built from scratch, kneaded with care, and rising every day — much like a good pain de campagne.

Hosted on our LAN with HTTPS, accessible from any device in the house.

Family selector


Felix (12 ans) — Felix Academy

English vocabulary, maths (collège/lycée), and book quizzes with spaced repetition (SM-2) driving every session.

Felix portal English vocabulary Maths

English — 253 words across 5 themed levels (basics, daily life, school, world, advanced). Five game types rotate each session: flashcards, translate, fill-the-blank, match pairs, listen & type.

Maths — Exercises from 5e to 2nde: fractions, algebra, geometry, functions, statistics. Procedurally generated problems with step-by-step feedback.

Eat well, live well — Atelier d’anglais fondé sur les fiches de cours : lexique audio, traduction et dictée, familles d’aliments, phrases à trous et à reconstruire, compréhension orale et oral guidé en sept étapes sur deux scènes, avec réponses au micro, transcription locale Moonshine et retour sur les idées et les constructions. Audio britannique ElevenLabs v4 embarqué et progression locale.

Dictée · Sur l’eau — L’extrait de Maupassant de la feuille de révision, découpé en 13 passages : lecture audio, mots difficiles, dictées à trous et dictées de passages. Audio français ElevenLabs v4 embarqué, vitesse lente, pause/reprise, barre de lecture pour naviguer dans le passage, réécoute par phrase, correction des accents et accords, progression sauvegardée sur l’appareil.

Quiz Livre — Reading comprehension quizzes on French literature (Jules Verne, Albert Robida). QCM, vrai/faux, associations, timeline ordering, and "qui suis-je" — each answer backed by direct quotes from the source text.

Quiz Livre Felix stats


Zoe (5 ans) — Apprends a Lire

A colorful, unicorn-guided French reading journey — letters, syllables, words, drawing, and AI-powered pronunciation checking.

Zoe portal

8 game modes:

  • Les Lettres — Learn letter names and sounds with family member associations (F = Felix, M = Moustache the dog...)
  • Les Formes — Match letters to their shapes
  • Quiz Syllabes — Identify syllables by sound
  • Labo Syllabes — Build syllables by combining consonants and vowels
  • Les Mots — Read whole words with TTS support
  • Dessine ! — Draw letters on a canvas, recognized in real-time by an EMNIST neural network (ONNX Runtime, runs entirely in-browser)
  • Lis a voix haute — Read aloud and get feedback from Whisper (speech recognition running locally via Transformers.js, no cloud API)

Adaptive difficulty with a tier system: items progress through "new > learning > known > mastered" based on streaks. Cartoon family avatars generated with SDXL-Turbo.


Dasha (Maman) — Francais B2+ & Citoyennete

Advanced French vocabulary and French citizenship test preparation.

Dasha portal French B2+ Citizenship test

Francais B2+ — 180 items across 4 levels:

  1. Vocabulaire courant avance (politique, societe, environnement)
  2. Expressions idiomatiques & proverbes
  3. Registres de langue (soutenu, courant, familier)
  4. Faux amis & nuances anglais-francais

Citoyennete — 200 questions preparing for the French naturalization test:

  • Examen blanc — Full 40-question mock exam with 45-minute timer (pass = 32/40)
  • Revision par categorie — Valeurs & principes, Institutions, Droits & devoirs, Histoire & geographie, Vivre en France
  • Game types: QCM, vrai/faux, flashcards, timeline ordering, qui suis-je

Dasha stats


Technical Highlights

  • 100% static — Pure HTML/CSS/JS, no build step, no server-side logic. Served by nginx over HTTPS on a LAN machine.
  • Runs offline — All assets bundled locally. AI models (Whisper, EMNIST) run in-browser via ONNX Runtime and Transformers.js.
  • Spaced repetition (SM-2) — Shared engine for Felix and Dasha. Items resurface at optimal intervals based on performance.
  • Gamification — XP, levels, streaks, and 40+ badges per user. Confetti, sound effects, and Lottie animations on achievements.
  • User-scoped storage — Each family member gets their own IndexedDB database. Progress is completely isolated.
  • Auto-deployed — Push to GitHub, server pulls every 5 minutes via cron.
  • Mobile-first — Designed for phones and tablets. Dark theme across all portals.

Stack

Layer Tech
Frontend Vanilla JS (ES modules), CSS custom properties
AI / ML ONNX Runtime (WASM), Transformers.js (Whisper), SDXL-Turbo (avatars)
Storage IndexedDB (per-user databases)
Hosting nginx + Let's Encrypt (DNS-01 via Cloudflare)
Deployment GitHub + cron git pull

Bug Reports

A floating bug-report widget is embedded in every page. It captures a screenshot, user description (with speech-to-text support), page URL, and browser info, then submits everything as a GitHub Issue with the screenshot hosted on catbox.moe.

Requires shared/secrets.js with a GitHub PAT (gitignored) and an nginx proxy for screenshot uploads. See HOSTING.md for setup. Without secrets, the widget does not appear.

Hosting

100% static — just point any web server at the repo root over HTTPS. See HOSTING.md for setup instructions and a sample nginx config.

License

MIT — see LICENSE.

Regenerating the learning audio

The English workshop and French dictation bundle ElevenLabs v4 MP3 recordings. Run python3 scripts/generate-learning-audio.py to regenerate changed or missing clips, or pass --activity healthy-lifestyle / --activity dictee to select one. The generator reads ELEVENLABS_API_KEY or the private cached key at ~/.codex/secrets/elevenlabs_api_key; credentials are never shipped to the browser. It requires Python, ffmpeg and ffprobe. Each activity’s audio-manifest.json records the model, voice, source-text hash and audio hash for every clip, allowing interrupted generation to resume without paying again for finished recordings. Use --dry-run to list the number of pending clips, --limit 2 for a sample run, and --force only when intentionally regenerating recordings that already match.

About

Étincelle — personalized family learning platform. English, maths, reading quizzes, French B2+, citizenship test prep. Spaced repetition, gamification, and in-browser AI.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

0