Skip to content
iwl-statPublic

About

Offline-first Qt study workspace and mock exam simulator with optional local AI.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

7 Commits

Folders and files

Repository files navigation

fancy.ai logo

fancy.ai

An offline-first desktop study workspace and mock exam simulator. Import questions, build reusable practice sets, take timed or untimed tests, and review your progress. Core study features work without an AI account.

fancy.ai Dashboard with demo activity and study progress

Features

  • Question bank with offline JSON, JSON Lines, and CSV import, search, difficulty and alphabetic ordering, explanations, notes, favorites, and suspected duplicates.
  • Set builder with a four-step wizard, templates, question filters, timing, and draft previews.
  • Simulator with pause and resume, question flags, answer checking, and a focused testing layout.
  • Results and Analytics with answer review, retry, score trends, flashcards, history exports, and database backups.
  • Optional AI for question drafts, explanations, grading suggestions, and filling missing metadata. The app validates generated questions before they can be added to the bank.
Question bank Simulator results
Question bank with sample question Completed test with score and answer breakdown

Install on Linux

Download a package and SHA256SUMS from the repository’s Releases page when a release is available. Run sha256sum --ignore-missing --check SHA256SUMS in the download folder before installing.

AppImage for x86-64 Arch Linux. This edition uses the system Qt libraries and plugins, so install them first.

sudo pacman -S --needed sqlite qt6-declarative qt6-imageformats qt6-wayland
chmod +x fancy.ai-x86_64-system-qt.AppImage
./fancy.ai-x86_64-system-qt.AppImage

If FUSE is unavailable, run ./fancy.ai-x86_64-system-qt.AppImage --appimage-extract-and-run.

Arch Linux users can install the x86-64 package with system Qt:

sudo pacman -U ./fancy-ai-0.2.0-1-x86_64.pkg.tar.zst

Get started

  1. On first launch, choose a database folder. Use default opens the normal local workspace. Use Browse to open an existing database or create a workspace elsewhere.
  2. Open Import to add your own questions or try the bundled practice questions. See the supported import formats.
  3. Open Sets → Create set to filter questions, set the order and timing, preview selections, and save the set.
  4. Start the set or open Simulator → Test Settings to choose a source. During the test you can pause, flag a question, or mark a suspected duplicate. Checking an unanswered question counts it as incorrect.
  5. Submit to open Results. Select an answer group to review individual questions, retry missed questions, or open Analytics for trends. Use the Analytics overflow menu for backup and restore.

Question banks, notes, saved sets, and attempt histories stay in the selected database folder. Use --choose-database to switch folders and Storage & diagnostics to see the current database and log paths. Saved exam reviews are migrated locally to reviews.sqlite3 and loaded on demand. The first migration keeps library.json.pre-review-migration as a rollback copy. Use the in-app backup export for a portable file with the full review history.

Configure AI

Open AI in the toolbar, select a provider, and choose a model or enter its identifier. Run Test model before using AI Studio or AI-assisted imports.

Provider Configuration
Ollama Start Ollama and install a chat model. Use http://localhost:11434/v1 and the model name shown by Ollama.
LM Studio Load a chat model and start its local server. Use http://localhost:1234/v1 and the loaded model identifier.
OpenAI or Gemini Choose the corresponding preset and supply your own API key and model identifier.
Custom OpenAI-compatible server Set the API base URL, model identifier, and key if required. Remote URLs require HTTPS. Plain HTTP is limited to loopback addresses.

AI keys are held in memory for the current session. AI tools send the supplied prompt, selected question, or import content to the configured provider. Choose an offline import option for material you want to keep local.

Build and develop

fancy.ai uses Qt 6 and C++ for the backend, Qt Quick/QML and JavaScript for the interface and study logic, and CMake for builds. Linux is the tested platform. Install Qt 6.7 or newer, including Qt Quick, Quick Controls, Quick Dialogs, Network, and the appropriate platform plugins. Install a C++ compiler, CMake 3.21 or newer, and Ninja. On Arch Linux:

sudo pacman -S --needed base-devel cmake ninja sqlite qt6-declarative qt6-imageformats qt6-wayland
cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release
cmake --build build
ctest --test-dir build --output-on-failure
./build/fancy.ai

ctest includes an isolated offscreen startup check and study logic tests for import, scoring, and answer reveal. cmake --install build --prefix ~/.local installs the binary, desktop entry, and icon without a system-wide package.

Directory Purpose
src/ Qt entry point, database, diagnostics, and AI networking
qml/screens/ and qml/expressive/ Workspaces and reusable Material 3 Expressive controls
qml/logic/ Import, practice rules, and answer history
tests/ Scoring and import checks
packaging/ and scripts/ Linux package recipes and build scripts

GitHub Actions builds, tests, and packages Arch Linux artifacts. Maintainers can start an AppImage packaging run manually after reviewing redistribution requirements. For local AppImage packaging, use the packaging script with the same Qt installation used for the build, a verified AppImage tool, and the matching runtime. See binary distribution notes before redistributing bundled dependencies.

Contributing and license

Open an issue with reproduction steps or submit a focused pull request. Include test results and screenshots for UI changes. Use original synthetic examples in bug reports and tests, and keep API keys, study databases, exports, and third-party question banks out of commits.

The original application source and demo content are licensed under MIT. Cascadia Mono and Pixelify Sans retain their SIL Open Font Licenses. Qt and other runtime dependencies retain their own licenses.

About

Offline-first Qt study workspace and mock exam simulator with optional local AI.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages