Pedro Remigio Bracamontes14 downloadsGenerate Anki flashcards from notes with local or cloud LLMs and send them to Anki through AnkiConnect.
Ankinator is an Obsidian plugin that turns notes, selected text, or multiple files into study cards for Anki using large language models (LLMs) and AnkiConnect.
The goal is to speed up flashcard creation without leaving your Obsidian workflow: select the content, choose how many cards to generate, and send them directly into your Anki deck.
Ankinator does not require payment or an account. It does not display advertisements and does not collect server-side telemetry. The plugin does not include a separate privacy policy because it does not send analytics or usage data to a telemetry service.
The plugin uses network requests only for the services required to generate and create cards:
http://localhost:8765, to read available decks and note types and to create cards. Generated card content is sent to Anki through this connection.When a local LLM is selected, the note content is sent to the configured local endpoint instead of a cloud provider. The plugin does not access files outside the Obsidian vault; it reads only the active note, selected notes, or files explicitly selected in the plugin.
For multiple notes, use the command Create cards from multiple notes, filter the vault files, select the notes, and continue to the same creation modal. Decks and note types are loaded from AnkiConnect when the modal opens; they are not configured as fixed values in the plugin settings.
In simple terms, the workflow is:
Obsidian note -> LLM generation -> flashcards -> AnkiConnect -> Anki
.
├── src/
│ ├── main.ts # Plugin entry point
│ ├── settings.ts # Plugin settings and configuration
│ ├── i18n/
│ ├── index.ts # Internationalization helpers and prompts
│ ├── en.json # English strings
│ └── es.json # Spanish strings
│ ├── services/
│ │ ├── ankiConnectApi.ts # AnkiConnect integration
│ │ ├── controller.ts # Card creation logic
│ │ └── llmApi.ts # LLM connection and generation logic
│ └── ui/
│ ├── modal.ts # Main modal for creating cards
│ └── noteSelectionModal.ts
├── manifest.json
├── package.json
├── LICENSE
├── README.md
├── esbuild.config.mjs
└── styles.css
Requirements:
Install dependencies:
npm install
Development mode:
npm run dev
Production build:
npm run build
Lint:
npm run lint
npm run build.main.js, manifest.json, and styles.css into the plugin folder in your Obsidian vault.Contributions are welcome. To contribute in a clean and consistent way:
npm run build and npm run lint before submitting a pull request.Copyright (C) 2026 Pedro Remigio Bracamontes
This project is licensed under the GNU General Public License v3.0 or later.
You may use, study, modify, and redistribute this software under the terms of the GPL-3.0-or-later license. Distributed versions must preserve the same freedoms and provide the corresponding source code under the applicable license terms.
The full license text is included in LICENSE.
Ankinator is designed to simplify flashcard creation directly from Obsidian, keeping the workflow focused on your notes, your content, and your study productivity.
If you want to extend the project, you can contribute new model integrations, parsing improvements, user experience enhancements, or additional card format support.