Ankify

AnkiWeb addon 162628593

Turns clipboard text into Anki flashcards using a chosen AI provider directly in the Add window, with review, regeneration, note-type mapping, and specialization options.
AI-generated summary; may contain mistakes.

card-creationaishortcutscloze

Open on AnkiWeb GitHub Find alternatives

AnkiWeb

Votes
1 (πŸ‘ 1 Β· πŸ‘Ž 0)
Updated
2026-10-27
Anki versions
2.1.1~
License
GPL-3.0 (from the README)
Virus scan
No ClamAV match A match does not prove malware. No match does not prove that the code is safe.
Languages
Python, JSON
Description language
en

Maintenance

active

  • Last update or commit: 2026-10-27 (5 days before the snapshot).
  • Commits in the last year: 5.
  • Issues: 0 open, 0 closed.
  • Pull requests: 0 open, 0 merged.

GitHub

Repository
dreskindir/ankify Β· more by dreskindir
Stars
⭐ 0 · forks 0 · open issues 0
Last commit
2026-10-27
License
A license file that GitHub does not recognize
Languages
Python
Tests
0

Will it work on my Anki?

Version branches
Min AnkiMax AnkiUpdated
2.1.1+2026-10-27
History across monthly snapshots

Loading…

Similar addons

pasteOCR has 1 fork β†’

Extracts text from clipboard images using Tesseract OCR, letting users paste screenshots of lecture slides or textbooks directly into Anki cards via a button or keyboard shortcut.

card-creationshortcutsbeta

16 votes 72% approval πŸ‘ 15 Β· πŸ‘Ž 1 ⭐ 6 Anki 2.1.16~ Updated 2023-02-26
AI-Hints and Options

Generates AI hints and multiple-choice options for flashcards during review, with multi-provider fallback, batch generation, inline editing, undo, and mobile support.

aischedulingreview-flowquizmobile-compatible

4 votes 30% approval πŸ‘ 3 Β· πŸ‘Ž 1 ⭐ 2 Anki 26.05~ Updated 2026-10-31
DirectEdit

Enables direct in-reviewer flashcard text editing with formatting, cloze and list tools, a medical spellchecker, and image resizing, avoiding the browser or edit window.

note-managementformattingshortcutscloze

3 votes 21% approval πŸ‘ 2 Β· πŸ‘Ž 1 Anki 2.1.1~ Updated 2026-10-25
FlashCard GPT

Generates basic, cloze, and pairing flashcards from any text using ChatGPT, with selectable model, card count, response length, editing, manual review, and automatic language detection.

card-creationaicloze

7 votes 16% approval πŸ‘ 3 Β· πŸ‘Ž 4 Anki 25.07.5~ Updated 2025-10-15

Description

If you are tired of wasting time on thinking about how to reshape an information you are trying learn into a good question, or cleaning up an awkward copy-pasted text, then this add-on is for you.

Ankify turns study material on your clipboard into Anki flashcards using an AI model of your choice, generated directly inside Anki's native Add window - no separate app, no context switch, and more importantly: you are still in control of what passes as a card.

FEATURES

  • Instant generation: copy any text, press Ctrl+M in the Add window, get flashcards.
  • Multi-provider: Gemini, OpenAI, Groq, Cerebras, OpenRouter, or any custom OpenAI-compatible endpoint (including a local Ollama server).
  • Smart formatting: the AI picks Basic Q&A or Cloze per fact, or you can force a specific type.
  • Deep Anki integration: maps generated content to your existing custom Note Types, and auto-switches the editor's active Note Type as you move through generated cards.
  • Context-aware prompts: built-in specializations for Medical (Radiology), Language Learning, Programming, or your own custom field of study.
  • Queue window: review, switch format, regenerate, or discard any generated card without leaving the Add window.
  • Card-quality principles baked into the prompt: minimum information principle, self-contained context, unambiguous single answers, and interference avoidance between similar facts.

GETTING STARTED

  1. Tools -> Ankify Settings (or Ctrl+Shift+S).
  2. Pick a provider, paste your API key, click Fetch to choose a model.
  3. If you use custom Note Types, set up Field Mappings so generated content lands in the right fields.
  4. Open the Add window, copy some study text, press Ctrl+M.

GET AN API KEY

  • Gemini: aistudio.google.com/app/apikey
  • OpenAI: platform.openai.com/api-keys
  • Groq: console.groq.com/keys
  • Cerebras: cloud.cerebras.ai
  • OpenRouter: openrouter.ai/keys
  • Custom: point the Base URL at your own OpenAI-compatible server (e.g. a local Ollama instance)

SHORTCUTS Ctrl+M generate | Ctrl+Q queue window | Ctrl+H/G next/previous | Ctrl+S switch type | Ctrl+J regenerate | Ctrl+O discard | Ctrl+Shift+D discard all | Ctrl+Shift+A/B/C/2 generation mode | Ctrl + Shift + N Clean Up Newlines in All Fields | Ctrl+Shift+S settings

WHAT YOU NEED TO KNOW

  • Bring your own key. Ankify doesn't host or resell model access, and doesn't collect or track analytics - the only network calls it makes are to whichever provider you configure, sending the clipboard text you generate from (and, for regenerate/switch, the current card's fields). If you'd rather nothing leave your machine, point the Custom provider at a local model (e.g. Ollama) instead.
  • Generated cards are a first draft, not a final answer - give them a quick look before hitting Add, the same way you would with any AI output.
  • Costs and rate limits depend on whichever provider you pick; most have a usable free tier to start with.
  • Model choice greatly affects reliability, not just quality - smaller/faster models are quicker (and often free) but follow exact formatting instructions less consistently. If cards come out with odd type mismatches or malformed cloze syntax, try a stronger model.
  • Field mappings are per Note Type - a newly added custom Note Type needs to be mapped once in Settings before generated content lands correctly.

README

Ankify - AI assisted Flashcard Maker for Anki

If you are tired of wasting time on thinking about how to reshape an information you are trying learn into a good question, or cleaning up an awkward copy-pasted text, then this add-on is for you.

Ankify turns study material on your clipboard into Anki flashcards using an AI model of your choice, generated directly inside Anki's native Add window - no separate app, no context switch, and more importantly: you are still in control of what passes as a card.

Features

  • Instant generation - copy any text, press Ctrl+M in the Add window, get flashcards.
  • Multi-provider - Gemini, OpenAI, Groq, Cerebras, OpenRouter, or any custom OpenAI-compatible endpoint (including a local Ollama server).
  • Smart formatting - the AI picks Basic Q&A or Cloze per fact, or you can force a specific type.
  • Deep Anki integration - maps generated content to your existing custom Note Types, and auto-switches the editor's active Note Type as you move through generated cards.
  • Context-aware prompts - built-in specializations for Medical (Radiology, or General), Language Learning, Programming, or your own custom field of study.
  • Queue window - review, switch format, regenerate, or discard any generated card without leaving the Add window.
  • Card-quality principles baked into the prompt - minimum information principle, self-contained context, unambiguous single answers, and interference avoidance between similar facts, not just "make some cards."

Installation

Via AnkiWeb (recommended):

  1. Tools β†’ Add-ons β†’ Get Add-ons...
  2. Enter the add-on code: 162628593
  3. Restart Anki.

From source:

  1. Clone this repo.
  2. Copy (or symlink) the repo folder into your Anki addons21 folder, or zip its contents (not the folder itself) into a .ankiaddon file and install via Add-ons β†’ Install from file.
  3. Restart Anki.

Setting up Ankify

  1. Tools β†’ Ankify Settings (or Ctrl+Shift+S).
  2. Pick a provider, paste your API key, click Fetch to choose a model.
  3. If you use custom Note Types, set up Field Mappings so generated content lands in the right fields.
  4. Optional: set a Field of Study, custom prompt rules, or allowed tags.

Getting an API key

Provider Get a key
Gemini aistudio.google.com/app/apikey
OpenAI platform.openai.com/api-keys
Groq console.groq.com/keys
Cerebras cloud.cerebras.ai
OpenRouter openrouter.ai/keys
Custom (e.g. Ollama) point Base URL at your own OpenAI-compatible server

Shortcuts

Key Action
Ctrl+M Generate flashcards from clipboard
Ctrl+Q Open the Queue Window
Ctrl+H / Ctrl+G Next / previous card in queue
Ctrl+S Switch current card's type (Basic ↔ Cloze)
Ctrl+J Regenerate current card
Ctrl+O Discard current card
Ctrl+Shift+D Discard all queued cards
Ctrl+Shift+N Clean up newlines (strip extra line breaks and spaces from all fields)
Ctrl+Shift+A/B/C/2 Generation mode: Auto / Basic Only / Cloze Only / Both
Ctrl+Shift+S Open Ankify Settings

Project structure

File Purpose
native_hook.py Editor toolbar integration, queue window, all click/shortcut handlers
generator.py Prompt construction and card-quality rules
api_client.py Provider-agnostic API calls (Gemini + OpenAI-compatible)
validator.py Post-generation validation and in-batch dedup
anki_adapter.py Maps generated cards onto actual Anki note fields
ui.py Settings dialog
schemas.py Flashcard/response data model
config.py, config.json Settings storage and defaults

Contributing

Issues and PRs welcome. If you're proposing a prompt change, it helps to include a couple of before/after example cards so the effect on card quality is easy to see.

License

This project is licensed under the GNU General Public License v3.0. See the LICENSE file for the license notice.

What you need to know

  • Bring your own key. Ankify doesn't host or resell model access, and doesn't collect or track analytics - the only network calls it makes are to whichever provider you configure, sending the clipboard text you generate from (and, for regenerate/switch, the current card's fields). If you'd rather nothing leave your machine, point the Custom provider at a local model (e.g. Ollama) instead.
  • Generated cards are a first draft, not a final answer - give them a quick look before hitting Add, the same way you would with any AI output.
  • Costs and rate limits depend on whichever provider you pick; most have a usable free tier to start with.
  • Model choice greatly affects reliability, not just quality - smaller/faster models are quicker (and often free) but follow exact formatting instructions less consistently. If cards come out with odd type mismatches or malformed cloze syntax, try a stronger model.
  • Field mappings are per Note Type - a newly added custom Note Type needs to be mapped once in Settings before generated content lands correctly.