Blue Book generates multiple-choice questions for IT certifications, e.g. CompTIA A+ and Security+
1.7K


Blue Book is a web application that generates AI-powered multiple-choice questions for any exam or certification. It ships with a built-in preset for CompTIA Security+, but you can add any exam you need via the Exam Constructor. Powered by Google's Gemini API, it provides instant feedback, detailed explanations, and personalized study recommendations.
| Layer | Technology |
|---|---|
| Backend | Python 3.10+, Flask 3, Click CLI |
| AI | Google Gemini API (google-genai) |
| Database | SQLite via SQLModel |
| Validation | Pydantic v2 |
| Templating | Jinja2 |
| Sessions | Flask-Session (server-side filesystem) |
| Sanitization | Bleach |
| Container | Multi-stage Docker build (Python 3.13 Alpine) |
Run with a pre-built image:
docker run -d -p 5000:5000 --platform linux/amd64 ilyasmut/student-bluebook
Or build from source with Docker Compose:
git clone https://github.com/ilya-smut/blue-book
cd blue-book/
docker compose up -d
pip install student-bluebook
pipx install student-bluebook
Start the application:
bluebook start
Start in debug mode (verbose logging):
bluebook start --debug
The app will be available at http://localhost:5000. On first launch, you'll be prompted to enter your Gemini API key.
For a full walkthrough of the interface, see the wiki.
Blue Book is an independent study tool and is not affiliated with, endorsed by, or sponsored by CompTIA or any other certification body. All certification names are trademarks of their respective owners. You can purchase official CompTIA study materials at their official website.
All questions are generated by third-party AI models (Google Gemini). The author of this application has no control over how these models were trained or what content they produce. Generated questions are intended as study aids and should not be treated as official exam material.
Please don't sue me.
If you'd like to contribute to Blue Book, feel free to submit a pull request or open an issue.
This project is licensed under the GPLv3.
For any questions or feedback, feel free to reach out.
Content type
Image
Digest
sha256:1ba14b7f8…
Size
41.3 MB
Last updated
8 months ago
docker pull ilyasmut/student-bluebook