Anki Flashcard Generator using an OpenAI-compatible API.
Generate Anki flashcards from lecture material (PDF/PPTX/TXT/MD) with CLI or Streamlit UI.
- Multiple slide uploads in Streamlit
- Generates X cards per uploaded lecture
- Optional previous-exams file upload to steer question style and topic emphasis
- Editable OpenAI-compatible endpoint settings in the sidebar
- Builds one combined
.apkgdeck - Course metadata storage
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txtstreamlit run streamlit_app.pypython main.py list-courses
python main.py create-course "My Course"
python main.py generate --course "My Course" --file ./lecture.pdf --num 20 --out .pytest -qtests/test_generator.py: robust parsing of varied LLM response shapes (cards,flashcards, alt keys)tests/test_pipeline_e2e.py: end-to-end multi-lecture pipeline (text extraction -> card aggregation ->.apkgbuild)