Thanks to visit codestin.com
Credit goes to github.com

Skip to content

crizmo/KankiToAnki

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

KAnki → Anki Converter

A web-based tool to export KAnki vocabulary to Anki format (.apkg files).

🚀 Quick Start

  1. Open https://kankitoanki.vercel.app in your web browser
  2. Copy the content of your kanki_config.js file
  3. Paste it into the textarea on the converter page
  4. Click "Parse Config" to validate your configuration
  5. Click "Export to Anki (.apkg)" to download the Anki package
  6. Import the downloaded .apkg file into Anki

📖 Usage Guide

Step 1: Prepare Your KAnki Configuration

Make sure your kanki_config.js file contains both KANKI_CONFIG and VOCABULARY variables:

var KANKI_CONFIG = {
  language: 'Japanese',
  levels: ['N5', 'N4', 'N3', 'N2', 'N1']
};

var VOCABULARY = {
  N5: [
    { expression: 'こんにちは', meaning: 'Hello', reading: 'konnichiwa' },
    { expression: 'ありがとう', meaning: 'Thank you', reading: 'arigatou' }
  ],
  N4: [
    { expression: '勉強', meaning: 'Study', reading: 'benkyou' },
    { expression: '学校', meaning: 'School', reading: 'gakkou' }
  ]
};

Step 2: Use the Converter

  1. Open the converter: Open https://kankitoanki.vercel.app in any modern web browser
  2. Paste configuration: Copy your entire kanki_config.js content and paste it into the textarea
  3. Parse configuration: Click "Parse Config" to validate and load your vocabulary
  4. Review statistics: Check the word count, level count, and language information
  5. Export to Anki: Click "Export to Anki (.apkg)" to download the package

Step 3: Import to Anki

  1. Open Anki: Launch Anki desktop application
  2. Import deck: Go to File → Import and select your downloaded .apkg file
  3. Review import: Anki will show you the import summary
  4. Start studying: Your KAnki vocabulary is now available in Anki!

🃏 Card Format

Each vocabulary entry is converted to an Anki card with the following format:

Front of Card

Expression (Reading)

Back of Card

Meaning

Level: [KAnki Level]

Example

Front: こんにちは (konnichiwa)
Back: Hello
Level: N5

About

A web-based tool to export KAnki vocabulary to Anki format (.apkg files).

Topics

Resources

Stars

Watchers

Forks