FLASH is an application that automatically generates Anki Flashcards from your Notes, Lecture Slides, or Papers (in .pdf format). It integrates seamlessly with Anki and saves the cards directly into your Anki storage. It even syncs automatically if you have syncing set up!
- Download and install Anki
- Simply download the .exe file provided here and run it!
Note: Windows Defender might try to delete and claim it's a trojan. This happens because it was generated using PyInstaller without a signed certificate.
- Clone the repository
- Run the following commands:
npm run init
python -m venv venv
.\venv\Scripts\activate
pip install -r requirements.txt
npm run init
npm run start
npm run build
Note: If any dependency issues arise please refer to the pywebview documentation
FLASH processes documents through the following steps:
-
Document Processing
- Read and split the document into small and large chunks
-
Embedding and Question Generation
- Embed small chunks using nv-embed-v1
- Generate questions from large chunks
-
Question Refinement
- Deduplicate generated questions
-
Answer Generation
- Create parallel subgraphs for each question
- Retrieve relevant document chunks
- Generate and validate answers
-
Flashcard Creation
- Route Q&A pairs to appropriate Flashcard Generation Experts
- Generate various card types (Basic, Reversed, Cloze, etc.)
-
User Review
- Present generated cards to the user for final editing
-
Anki Integration
- Write cards to selected Anki deck
- Sync with AnkiWeb (if enabled)