A tool to enhance Korean Anki cards using AnkiConnect and OpenAI. This tool helps you automatically generate additional information for your Korean language cards, such as phonetics, example sentences, related words, and grammar rules.
- View cards one by one with all fields
- View notes in a list format
- Enhance notes with AI-generated content:
- Phonetics (English pronunciation guide)
- Example sentences (Korean and English)
- Related words and synonyms
- Grammar rules and conjugations
- Tag management (e.g., marking cards as "leech" for review)
- Anki installed on your computer
- AnkiConnect plugin installed in Anki
- Node.js and npm installed
- An OpenAI API key
- Clone the repository
- Install dependencies:
npm install
- Create a
.envfile from the template:cp .env.template .env
- Add your OpenAI API key to the
.envfile:OPENAI_API_KEY=your_api_key_here - Build the project:
npm run build
- Make sure Anki is running and AnkiConnect is properly installed
- Start the tool:
npm start
- Select a deck to work with
- Choose from the available actions:
- View cards: Browse through cards one by one
- View notes: See a list of all notes in the deck
- Enhance notes with AI: Generate additional information for your cards
The AI enhancement feature uses OpenAI's GPT-4 to generate helpful information for your Korean language cards:
- Select "Enhance notes with AI" from the deck menu
- Choose a note to enhance
- Select which types of information you want to generate:
- Phonetics
- Example sentences
- Related words
- Grammar rules & conjugations
- Optionally mark the card as a "leech" for review
- The tool will generate the requested information and update your Anki card
npm run build: Build the TypeScript codenpm run dev: Watch for changes and rebuildnpm run clean: Remove build artifacts