{"id":18971998,"url":"https://github.com/llamaware/coffin-anki","last_synced_at":"2026-04-25T12:32:24.913Z","repository":{"id":261782512,"uuid":"885302948","full_name":"Llamaware/coffin-anki","owner":"Llamaware","description":"Generate Anki decks from Coffin of Andy and Leyley translations","archived":false,"fork":false,"pushed_at":"2024-11-08T11:34:05.000Z","size":17,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-02-21T07:12:41.673Z","etag":null,"topics":["anki","language-learning"],"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/Llamaware.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-11-08T10:25:56.000Z","updated_at":"2024-11-08T11:37:56.000Z","dependencies_parsed_at":"2024-11-08T12:30:41.474Z","dependency_job_id":"6908423b-6fc6-4f8e-9698-d51d88a237ac","html_url":"https://github.com/Llamaware/coffin-anki","commit_stats":null,"previous_names":["llamaware/coffin-anki"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Llamaware%2Fcoffin-anki","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Llamaware%2Fcoffin-anki/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Llamaware%2Fcoffin-anki/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Llamaware%2Fcoffin-anki/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Llamaware","download_url":"https://codeload.github.com/Llamaware/coffin-anki/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239970708,"owners_count":19727014,"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","language-learning"],"created_at":"2024-11-08T15:05:50.064Z","updated_at":"2026-04-07T08:30:16.694Z","avatar_url":"https://github.com/Llamaware.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# coffin-anki\r\n\r\nA script to generate Anki decks from Coffin of Andy and Leyley translations.\r\n\r\n![screenshot](/screenshot.png)\r\n\r\n---\r\n\r\n## Usage\r\n\r\nPlace the `dialogue.csv` file of your desired language in the same directory as the script.\r\n\r\nThen run `python gen-anki.py`\r\n\r\n`output.csv` will be generated in this format: `sort_number` | `tl_expression` | `en_meaning` | `TlName` | `EnName`\r\n\r\nThen import the `.csv` file into Anki. You can use the below template, or create your own.\r\n\r\n## Template\r\n\r\nFront template:\r\n\r\n```\r\n\u003cdiv class=\"tag\"\u003e\r\n\tTCAL{{#Tags}} | {{/Tags}}{{Tags}}  {{#JaName}} | {{/JaName}}{{JaName}} {{#EnName}} | {{/EnName}}{{EnName}}\r\n\u003c/div\u003e\r\n\r\n{{^Reverse}}\r\n\t\u003cdiv class=\"japanese\"\u003e\r\n\t\t{{Expression}}\r\n\t\u003c/div\u003e\r\n{{/Reverse}}\r\n\r\n{{#Reverse}}\r\n\t\u003cdiv class=\"japanese\"\u003e\r\n\t\t{{Expression}}\r\n\t\u003c/div\u003e\r\n{{/Reverse}}\r\n```\r\n\r\nBack template:\r\n\r\n```\r\n{{FrontSide}}\r\n\u003chr id=answer\u003e\r\n\r\n\u003cdiv class=\"meaning\"\u003e\r\n \t{{furigana:Meaning}}\r\n\u003c/div\u003e\r\n```\r\n\r\nStyling:\r\n\r\n```\r\n@font-face {\r\n  font-family: \"Yu Mincho\";\r\n  src: url(\"_yumin.ttf\") ;\r\n}\r\n@font-face {\r\n  font-family: \"Yu Mincho DemiBold\";\r\n  src: url(\"_yumindb.ttf\") ;\r\n}\r\n.card {\r\n font-family:Yu Mincho;\r\n font-size: 22px;\r\n background-color:#FFFAF0;\r\n text-align: left;\r\n color:#333;\r\n}\r\n\r\n.tag {\r\n  color:#585858; \r\n  font-size: 20px\r\n}\r\n\r\n.japanese {\r\n  font-size: 35px;\r\n}\r\n.meaning {\r\n  margin-top: 36px;\r\n  font-size: 22px;\r\n}\r\n\r\nb {\r\n  font-family: \"Yu Mincho DemiBold\";\r\n  color:#000;\r\n}\r\n```\r\n\r\n## Sample decks\r\n\r\nSome premade decks may be available from the releases.\r\n\r\n---\r\n\r\nCSS and inspiration from [steins;gate anki](https://github.com/asakura42/steins-gate-anki)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fllamaware%2Fcoffin-anki","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fllamaware%2Fcoffin-anki","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fllamaware%2Fcoffin-anki/lists"}