Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Themes
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

Ankinator

Pedro Remigio BracamontesPedro Remigio Bracamontes14 downloads

Generate Anki flashcards from notes with local or cloud LLMs and send them to Anki through AnkiConnect.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates2

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.

Privacy and external services

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:

  • LLM provider: You can use a local OpenAI-compatible service, such as Ollama, or an external provider such as OpenAI, OpenRouter, Groq, Together AI, DeepSeek, Mistral, or a custom endpoint. When an external provider is selected, the note content or selected text is sent to that provider to generate cards. The provider API key is sent only as authentication for that request. Review the provider's privacy policy and terms before sending sensitive content.
  • AnkiConnect: The plugin connects to the AnkiConnect URL configured by you, normally a local Anki instance at 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.

What this project does

  • Generates study cards from the active note.
  • Generates cards from selected text in the editor.
  • Generates cards from multiple Markdown files at once.
  • Supports a local LLM setup (for example, an OpenAI-compatible local server such as Ollama) or an external provider.
  • Supports OpenAI, OpenRouter, Groq, Together, DeepSeek, Mistral, and a custom provider.
  • Sends generated cards to Anki through AnkiConnect.
  • Lets you configure the target deck, Anki model, and card field names.
  • Enforces a total card generation limit to prevent excessive use.

Use cases

  • Turn lecture notes or reading summaries into review cards.
  • Create study cards from meeting notes or lesson materials.
  • Generate vocabulary or concept cards from multiple files.
  • Keep your study workflow in Obsidian without manually copying content into Anki.

Workflow

  1. Configure the LLM environment in the plugin settings tab.
  2. Choose whether to use a local model or an external provider.
  3. Configure the AnkiConnect URL and load the available LLM models.
  4. Open a note in Obsidian or select text.
  5. Run the plugin command to create cards.
  6. In the creation modal, choose an existing Anki deck or create one, select one or more Anki note types, and set the number of cards.
  7. The plugin reads the content, sends it to the LLM with a generation prompt, parses the response, and creates notes in Anki.

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

Recommended setup

  • Local LLM: use an OpenAI-compatible endpoint such as a local Ollama server or equivalent local API.
  • External LLM: provide the provider API key and select an available model.
  • AnkiConnect: make sure Anki is running and that the AnkiConnect add-on is installed and reachable at the configured URL.

Project structure

.
├── 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

Development and running

Requirements:

  • Node.js 18+
  • npm
  • Obsidian
  • Anki + AnkiConnect

Install dependencies:

npm install

Development mode:

npm run dev

Production build:

npm run build

Lint:

npm run lint

Manual testing

  1. Build the plugin with npm run build.
  2. Copy main.js, manifest.json, and styles.css into the plugin folder in your Obsidian vault.
  3. Restart Obsidian and enable the plugin from Settings → Community plugins.
  4. Open a note and run the plugin command.

Contributing

Contributions are welcome. To contribute in a clean and consistent way:

  1. Fork the repository.
  2. Create a branch for your change.
  3. Keep the change focused and small.
  4. Run npm run build and npm run lint before submitting a pull request.
  5. Open a pull request with a clear description of:
    • the problem being solved,
    • the proposed fix,
    • and any configuration or usage changes required.

Contribution guidelines

  • Keep changes small and specific.
  • Avoid adding large dependencies unless they are clearly necessary.
  • Favor compatibility with Obsidian and standard LLM interfaces.
  • If you change plugin settings, document the new option in the README or relevant workflow notes.
  • If you add new features, aim for clear, testable behavior.

Contribution style

  • Use descriptive branch names.
  • Keep the code readable and modular.
  • Keep logic separate from UI concerns whenever possible.
  • Document behavioral changes that may affect existing users.

License

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.

Final note

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.

HealthExcellent
ReviewPassed
About
Generate Anki study cards from the active note, selected text, or multiple Markdown files using local or external LLMs. Send cards straight into your Anki deck via AnkiConnect and opt for a local LLM to keep data on-device.
FlashcardsAIIntegrations
Details
Current version
1.0.1
Last updated
4 days ago
Created
3 weeks ago
Updates
2 releases
Downloads
14
Compatible with
Obsidian 1.8.7+
Platforms
Desktop only
License
GPL-3.0
Report bugRequest featureReport plugin
Sponsor
Buy Me a Coffee
Author
Pedro Remigio BracamontesPedro Remigio Bracamontestheshanto
GitHubtheshanto
  1. Community
  2. Plugins
  3. Flashcards
  4. Ankinator

Related plugins

Fast Note Sync

Real-time sync of your vaults across server, mobile, and web; shareable with anyone; supports REST and MCP integrations to build your personal AI knowledge base.

Agent Client

Chat with Claude Code, Codex, Gemini CLI, and more via the Agent Client Protocol — right from your vault.

Snipd Official

Sync Snipd podcast highlights to your vault with transcript, notes, AI summaries and metadata.

Yanki

Sync flashcards from a folder in your vault to Anki. Pure Markdown syntax. No fuss.

Claude Sidebar

Run Claude Code in your sidebar.

Claude Code IDE

Connect your vault to Claude Code and share editor context with the CLI.

Plaud Sync

Sync Plaud voice recordings into Markdown notes with transcripts, AI summaries, and highlights.

Copilot

Run AI agents such as Claude Code, Codex, and OpenCode inside your vault. Turn your second brain into a smart assistant that gets knowledge work done.

Claudian

Embeds Claude Code/Codex and other local Agents as AI collaborators in your vault.

BRAT

Easily install a beta version of a plugin for testing.