Skip to content
nedabPublic

About

QuizBit – free offline flashcard app (Android, GPL-3.0): card-box levels L0–L4, streaks, badges, QR/offline transfer. Create your own question sets (CSV/Markdown) – also with AI. Community sets: github.com/nedab/quizbit-sets

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

⚡ QuizBit

🇩🇪 Deutsche Version

Free, offline flashcard/quiz app for Android (Kotlin, Jetpack Compose, Material 3, GPL-3.0). Import question sets (CSV / Markdown / text paste), learn with a level system (L0–L4, spaced repetition), streaks, per-set stats (accuracy + avg answer time), QR-code transfer to another device, export/share sets. No account, no ads, no cloud, minimal permissions.

Built by an AI agent (OpenCode), directed, reviewed and released by a human — see Transparency and docs/JOURNAL.md.

👥 Made for learning groups (the heart of QuizBit)

The group creates its own question sets (CSV/Markdown – also with AI) and quizzes each other: offline, no account, no ads. Share sets via QR code, file, or ZIP backup between phones – or load 77+ community sets from nedab/quizbit-sets. Teachers: hand out the one-page group handout (PDF/print): docs/lerngruppen-handbuch.en.md · EN · UK.


Community question sets

Ready-made question sets (CSV, 10 questions each, incl. QR-code count per set) live in nedab/quizbit-sets – contribute your own via PR!

✨ Features

  • Import question sets: CSV (from Excel/Sheets), Markdown checkboxes ("paste text"), JSON fallback – with import preview (editable set name, questions, warnings) and duplicate dialog (replace / append / cancel); built-in sample sets (general knowledge, math with $…$, geography/chemistry, French)
  • LaTeX math in questions/options rendered natively (own Compose renderer, no WebView): fractions as 1/2, multiplication dot ·, roots, superscripts, Greek letters
  • Level system L0–L4 in quizzes (max 10 questions/round, low levels first, progress bar, A/B/C options, green/red feedback); per-set stats (accuracy + avg answer time) and a streak (only counts if not everything is L4 yet – anti-farming, visible in set detail)
  • Collections (e.g. "School") with filter chips in the set list
  • Share & transfer: set as CSV/Markdown file via share sheet (Quick Share, WhatsApp…), QR-code transfer to another device (set detail shows "shareable as N QR code(s)", scan via camera)
  • Breadcrumbs on top show the current level ("My sets › Math › Quiz") and jump back on tap
  • Menu (⋮): dark mode, collections, version + build visible, about & license
  • Two-stage delete (whole set or only certain levels), accessible (TalkBack, ≥48 dp targets, dynamic font size), tablet-adaptive (centered content max 600 dp, two-pane master-detail ≥840 dp)
  • Sets overview page (sortable by name / created / last used) + per-level question view + set editor directly on the phone (create/edit without a PC)
  • Daily reminder (18:00, local notification, optional)
  • Persistence: SQLite via Room (v3, migrations, schema export), DataStore (settings/streak), Hilt, Navigation 3 (type-safe, ViewModel per screen)
  • Security: SAF import with limits, CSV-injection guard, JSON depth limit, CAMERA only for QR scan; CI gates: 65 unit tests + Android Lint + detekt + OSV CVE scan (0 CVEs) + dependency verification (sha256)

📱 Build & Run

./gradlew assembleDebug        # debug APK
./gradlew testDebugUnitTest    # unit tests (65)
./gradlew :app:lintDebug :app:detekt
./gradlew :app:assembleRelease :app:bundleRelease  # signed release (keystore.properties, gitignored)
python3 scripts/osv-scan.py    # CVE scan of dependencies (OSV, no key)
./gradlew :app:dokkaGenerateModuleHtml   # API docs from KDoc

Open in Android Studio (project root = this directory), pick emulator/device, ▶ Run.

🗂 CSV format (for creating your own sets)

Set;Topic;Question;Opt1|Opt2|Opt3;Correct answer
"Math 7a";"Basics";"What is 7 x 8?";"54|56|63";56

Delimiter ;/, (auto), options separated by | (max 3), answer = text or 1-based number. Samples in app/src/main/assets/beispiele/.

🎨 Logo & Icon

Logo/Icon are pure vector art with no text (language-neutral): docs/assets/logo.svg, PNGs icon-*.png, social preview og-image.png. App name comes from strings.xml (de/en/uk).

📚 Docs

Design mockups + emulator screenshots in the sibling repo test-v1-figcraft (FigCraft).

⚖️ License

GNU GPL-3.0 – free software: use/modify/share only under GPL-3.0 (copyleft). Libraries used (Apache-2.0/MIT/EPL): see CREDITS.md.

🔒 Privacy

Fully offline; no data collected, no ads, no account → Play Data-Safety "no data collected". Only permissions: CAMERA (optional, QR scan only) and POST_NOTIFICATIONS (optional daily reminder), both requested at runtime only when the feature is used.

🤖 Transparency: human + AI

This app was built by an AI (OpenCode agent, Mistral model) — directed, reviewed and released by a human (nedab, repo owner). All architecture decisions, priorities and releases come from the human; the AI wrote code, tests and docs (see docs/JOURNAL.md).

About

QuizBit – free offline flashcard app (Android, GPL-3.0): card-box levels L0–L4, streaks, badges, QR/offline transfer. Create your own question sets (CSV/Markdown) – also with AI. Community sets: github.com/nedab/quizbit-sets

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages