{"id":15105968,"url":"https://github.com/imbryan/anki-kanji-cards","last_synced_at":"2025-04-05T13:25:42.157Z","repository":{"id":240331720,"uuid":"802342860","full_name":"imbryan/anki-kanji-cards","owner":"imbryan","description":"Generate kanji cards for Anki","archived":false,"fork":false,"pushed_at":"2024-06-02T01:38:10.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-11T08:48:45.276Z","etag":null,"topics":["anki","anki-cards","jisho","kanji","learning-japanese","python3"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/imbryan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-05-18T03:28:05.000Z","updated_at":"2024-06-02T01:38:13.000Z","dependencies_parsed_at":"2024-05-18T04:26:28.596Z","dependency_job_id":"90589c10-4308-4a88-8e2d-8a1c4b2fa2dc","html_url":"https://github.com/imbryan/anki-kanji-cards","commit_stats":{"total_commits":9,"total_committers":1,"mean_commits":9.0,"dds":0.0,"last_synced_commit":"b3c413d5a10609ff775bae6a87714b7637f8f828"},"previous_names":["imbryan/anki-kanji-cards"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imbryan%2Fanki-kanji-cards","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imbryan%2Fanki-kanji-cards/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imbryan%2Fanki-kanji-cards/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imbryan%2Fanki-kanji-cards/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/imbryan","download_url":"https://codeload.github.com/imbryan/anki-kanji-cards/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247340971,"owners_count":20923347,"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","anki-cards","jisho","kanji","learning-japanese","python3"],"created_at":"2024-09-25T21:00:25.923Z","updated_at":"2025-04-05T13:25:42.137Z","avatar_url":"https://github.com/imbryan.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Anki Kanji Cards\nThis is a CLI script that generates Anki cards for a given list of kanji.\n\n## Usage\nInstall dependencies:\n```\npip install -r requirements.txt\n```\n\nRun script:\n```\npython kanji_cards.py \u003cpath_to_kanji_file\u003e \u003cpath_to_output_file\u003e [-d file_name] [--jlpt]\n```\n\n\u003e **path_to_kanji_file** is the relative path to a text file containing your kanji list. The script will ask you to specify how the kanji are separated. Personally, I copied kanji from [nihongo-pro.com](https://www.nihongo-pro.com/kanji-pal/list/jlpt) into a text file.\n\n\u003e **path_to_output_file** is the relative path (and name) of the file that will be created to contain your cards.\n\n\u003e **-d file_name** (optional) is the relative path to your current deck, exported (in Anki Notes format). This is only used in a comparison operation to avoid creating duplicate cards.\n\n\u003e **--jlpt** (optional) gets the JLPT grade and puts it in the Anki tags field for each kanji. WARNING: this option doubles the amount of requests you make due to a bug in a dependency (see \"NOTE ON JLPT OPTION\" in code).\n\nYou can create a `.env` file to configure default headers:\n```\nHEADERS=\"\"\nTERM=\"\"\nDEFINITION=\"\"\n```\n\n\u003e **HEADERS** is your comma-separated list of headers. **TERM** is the header corresponding to the term. **DEFINITION** is the header corresponding to the definition.\n\n## Acknowledgements\nThis script makes use of the [jisho-api](https://github.com/pedroallenrevez/jisho-api) project, which scrapes [jisho.org](https://jisho.org) for data.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimbryan%2Fanki-kanji-cards","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fimbryan%2Fanki-kanji-cards","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimbryan%2Fanki-kanji-cards/lists"}