Text2Anki is an AI-powered web application designed to help users convert large texts into Anki flashcards. This app uses DeepSeek to identify key information and generate flashcards that can be easily imported into Anki, a popular spaced repetition software.
- DeepSeek text processing: Utilizes the DeepSeek natural language processing to extract key information and generate flashcards.
- Web interface: An web interface for ease of use.
- Preview flashcards: Allows users to preview the generated flashcards before exporting.
- Support for multiple languages: Can process texts in various languages.
- Seamless Anki integration: Directly exports flashcards in a CSV format compatible with Anki.
To set up Text2Anki locally, follow these steps:
- Clone the repository:
git clone https://github.com/Bluh7/Text2Anki.git
cd Text2Anki
-
Get an API key from OpenRouter: https://openrouter.ai/settings/keys
-
Adjust the environment variables: You can check
.env.example
-
Build and initialize with Docker:
docker compose up --build
- Open the application: Navigate to
http://localhost:3000
in your web browser. - Upload your text: Write or paste your text into the provided text area.
- Generate flashcards: Click the button to Generate your flashcards.
- Preview the flashcards: Preview all the generate flashcards before downloading.
- Export to Anki: Click the button to download the flashcards in CSV and import to your Anki.
I welcome contributions from anyone! So feel free to contribute if you want.
This project is licensed under the MIT License - see the LICENSE
file for details.