Ankit is an open-source web application for converting text material into formatted Anki-compatible cards.
Ankit is committed to supporting your learning by remaining free and accessible to everyone. Because it’s open-source, anyone can create their own version by forking the project.
Your privacy matters to us - no personal data or usage analytics are collected. Since Ankit’s code is open for inspection, you can trust its transparency, and if you prefer, run your own Ankit web instance offline (see the ▶️ Running Locally section for details).
We want you to feel empowered to tailor Ankit to your unique needs. All feedback, suggestions, issues, and contributions are warmly welcomed and appreciated!
Ankit uses algorithms to scan through users' formatted text materials to convert them into tables that can be imported into Anki as decks.
Ankit currently supports converting two card formats:
- (Default) Two-sided cards
- Multiple-choice cards
Prepare the study materials you wish to use for generating your flashcards. Make use of Ankit's prompt templates to write your prompt for the LLM of choice. This will ensure that the output will be properly formatted and can be recognised by Ankit.
Once the flashcards material is ready, you can import it as a .txt file into Ankit using the file input. After selecting one of the card formats, Ankit will scan your text and process it into the proper card type. You will see how many flashcards were detected, how they look, and if any format discrepancies were found (missing content, empty options, etc.).
After Ankit finished analyzing the text, you will be able to visually view how the flashcards look like. This makes it easier to review if the format is correct, as LLMs can often generate invalid or incomplete output. Ankit will also autohighlight any discrepancies like missing rows, helping you correct them before they are exported. Flashcards can also be edited - you can specify how correct choices in multiple-choice cards are determined, delete invalid cards, or replace any duplicates.
When the flashcards satisfy your preferences and have a valid format, they will be converted into an exportable format that can be downloaded and imported into Anki for educational use. Ankit currently supports the following export file formats:
- Comma separated values (
.csv) - [WIP] Anki packages (
.apkg)
- Clone the repository
git clone https://github.com/tomasgrusz/ankit.git- Navigate to project folder
cd ankit- Install all dependencies
npm install- Run the development environment
npm run dev- Open http://localhost:3000 within your browser
Contributions are the best way to support Ankit's open-source nature and dedication for providing free tools for everyone. For contributing, see CONTRIBUTING.md on how to get started.
License in progress.
Have you found a bug on the website? 🐛
Feel free to open an Issue and we will take a look.
Would you like to sponsor Ankit? 💌
Please contact us at ankit@grusz.dev
Do you have any questions or feedback? ❓
Create a Discussion or drop an email at ankit@grusz.dev