Deck structure
Decks in KAnki are organized by proficiency levels defined inKANKI_CONFIG.levels. Each level corresponds to a key in the VOCABULARY object.
kanki_config.js
Creating a new deck
1
Add the level to KANKI_CONFIG
Add your new level name to the
levels array:kanki_config.js
2
Create the vocabulary section
Add a corresponding key in the
VOCABULARY object:kanki_config.js
3
Save and transfer to Kindle
Save the file and transfer it to your Kindle’s
kanki/js/ directory.Deck management tools
Managing large decks directly in the configuration file can be tedious. Use these tools for easier deck management:- Üben (Recommended)
- KAnki Web Editor
- Manual editing
Üben is the official companion tool for KAnki with a modern UI.
Features
- Import
.apkgfiles from Anki - Visual card editor with preview
- Deck organization and management
- Direct export to
kanki_config.jsformat - Community deck sharing
Workflow
1
Import or create deck
Upload an Anki
.apkg file or create a new deck in Üben.2
Edit cards
Add, modify, or delete cards using the visual editor.
3
Export configuration
Export your deck as
kanki_config.js.4
Transfer to Kindle
Copy the exported file to
kanki/js/kanki_config.js on your Kindle.Importing Anki decks
You can convert existing Anki decks to KAnki format:1
Find or export an Anki deck
Download a shared deck from AnkiWeb or export your own deck as
.apkg.2
Import to Üben
Upload the
.apkg file to Üben.3
Customize for KAnki
Edit the deck to match your preferred level structure and add any missing fields.
4
Export and transfer
Export as
kanki_config.js and copy to your Kindle.When importing from Anki, you may need to manually map Anki’s tags or note types to KAnki’s level system.
Organizing large decks
By proficiency level
Organize cards into levels that match standardized proficiency frameworks:kanki_config.js
By topic or theme
Alternatively, organize by subject matter:kanki_config.js
By word type
Group by grammatical category:kanki_config.js
Card best practices
Keep cards simple
Focus on one concept per card:Use consistent formatting
Maintain uniform capitalization and punctuation:kanki_config.js
Add context in notes
Use thenotes field to provide helpful context:
kanki_config.js
Real example from KAnki
Here’s a complete working configuration from the KAnki source:kanki_config.js
Exporting to Anki
If you want to use your KAnki deck on desktop or mobile, convert it to Anki format:- Visit KankiToAnki
- Upload your
kanki_config.jsfile - Download the generated
.apkgfile - Import into Anki desktop or mobile app
Deck maintenance tips
- Regular backups: Keep copies of your
kanki_config.jsfile - Version control: Use git to track changes if editing manually
- Test after changes: Load a few cards after editing to verify syntax
- Start small: Begin with 20-30 cards per level before expanding
Next steps
Language setup
Configure KAnki for different languages
Custom fonts
Install fonts that support your language