{"id":15017320,"url":"https://github.com/eshrh/anki-kunren","last_synced_at":"2025-04-12T11:42:45.291Z","repository":{"id":57410423,"uuid":"270504732","full_name":"eshrh/anki-kunren","owner":"eshrh","description":"Interactive japanese kanji writing drill practice for anki with stroke order","archived":false,"fork":false,"pushed_at":"2020-06-22T17:18:48.000Z","size":11408,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-26T06:24:14.858Z","etag":null,"topics":["anki","japanese","japanese-study","kanji","kanjivg"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eshrh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-06-08T02:49:52.000Z","updated_at":"2023-02-22T18:07:01.000Z","dependencies_parsed_at":"2022-09-09T16:02:03.660Z","dependency_job_id":null,"html_url":"https://github.com/eshrh/anki-kunren","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eshrh%2Fanki-kunren","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eshrh%2Fanki-kunren/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eshrh%2Fanki-kunren/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eshrh%2Fanki-kunren/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eshrh","download_url":"https://codeload.github.com/eshrh/anki-kunren/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248456379,"owners_count":21106605,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["anki","japanese","japanese-study","kanji","kanjivg"],"created_at":"2024-09-24T19:50:18.223Z","updated_at":"2025-04-12T11:42:45.251Z","avatar_url":"https://github.com/eshrh.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Development of this project has moved to [gitlab](https://gitlab.com/esrh/anki-kunren)\n\n# Anki Kunren (暗記 訓練)\nAnki Kunren is a program to drill japanese kanji stroke order and practice writing in sync with an Anki study session.\n\n![screenshot](https://github.com/eshrh/anki-kunren/blob/master/2020-06-09-110417_581x590_scrot.png)\n\n## Installation\n1. install via pip: `pip install anki-kunren`\n2. install [anki-connect](https://ankiweb.net/shared/info/2055492159) with code `2055492159`\n\n\n## Usage\n**Open Anki and begin a review. You can then use `kunren` as follows:**\n\nusage: `kunren [-h] [-s S] [-d D] [--field FIELD] [--size SIZE]`\n\noptional arguments:\n+ `-h, --help` Show help message\n+ `-s S` Start point size in px. defaults to 5px\n+ `-d D` Stroke forgiveness in average px from actual. defaults to 25px\n+ `--field FIELD` name of anki card field containing kanji. defaults to \"Vocabulary-Kanji\"\n+ `--size SIZE` Length of a size of the square canvas in pixels. Defaults to 300.\n\nWhile running, you can use the following controls:\n+ `h`: **h**int the current stroke\n+ `a`: **a**nimate the current stroke\n+ `d`: **d**raw all strokes\n+ `n`: **n**ext kanji in the expression\n+ `esc`: quit\n+ `c`: refresh the current card shown. This is done automatically when all characters have been drawn, but would slow the program to a crawl if checked for every frame.\n\n### Notes\n+ When the size parameter is changed, all tolerances get multiplied by the ratio of `size/109`.\n\n## Other\nThis project uses KanjiVG stroke order data.\nIt is licensed by Ulrich Apel under the [Creative Commons Attribution Share-Alike 3.0](https://creativecommons.org/licenses/by-sa/3.0/) license.\n\nThe KanjiVG ascii filename code is taken from [Kanji Colorizer](https://github.com/cayennes/kanji-colorize) which was also the source of my initial inspiration.\n\n## TODO\n+ different coloring for different parts of stroke based on how wrong it is.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feshrh%2Fanki-kunren","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feshrh%2Fanki-kunren","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feshrh%2Fanki-kunren/lists"}