{"id":37230821,"url":"https://github.com/mkpoli/hundouk","last_synced_at":"2026-01-15T03:40:23.207Z","repository":{"id":331042028,"uuid":"1124423127","full_name":"mkpoli/hundouk","owner":"mkpoli","description":"Typst Kanbun Kundoku renderer","archived":false,"fork":false,"pushed_at":"2026-01-10T10:51:25.000Z","size":151,"stargazers_count":9,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-11T02:45:48.480Z","etag":null,"topics":["classical-chinese","kanbun","kundoku","kunten","literary-chinese","lzh","typst"],"latest_commit_sha":null,"homepage":"","language":"Typst","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mkpoli.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-12-29T02:04:25.000Z","updated_at":"2026-01-10T10:51:28.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/mkpoli/hundouk","commit_stats":null,"previous_names":["mkpoli/hundouk"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/mkpoli/hundouk","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkpoli%2Fhundouk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkpoli%2Fhundouk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkpoli%2Fhundouk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkpoli%2Fhundouk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mkpoli","download_url":"https://codeload.github.com/mkpoli/hundouk/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkpoli%2Fhundouk/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28442310,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-15T00:55:22.719Z","status":"online","status_checked_at":"2026-01-15T02:00:08.019Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["classical-chinese","kanbun","kundoku","kunten","literary-chinese","lzh","typst"],"created_at":"2026-01-15T03:40:22.678Z","updated_at":"2026-01-15T03:40:23.202Z","avatar_url":"https://github.com/mkpoli.png","language":"Typst","funding_links":[],"categories":[],"sub_categories":[],"readme":"# hundouk\n\n漢文訓読レンダリングツール。\n\n`hundouk` (訓讀) is a [Typst](https://typst.app) package for rendering _Kanbun Kundoku_ (漢文訓読) texts, by which Classical Chinese texts are rendered with annotations to be translated mechanically into Classical Japanese, which is still used in modern Japanese education.\n\n## Usage / 使い方\n\nDetailed usage and documentation can be seen in the released PDF manual in the [Release page](https://github.com/mkpoli/hundouk/releases).\n\n```typst\n#import \"@preview/hundouk:0.1.0\": kanbun\n\n#kanbun(\n  \"蓋(けだ)シ時ニ有リ[二]古=今[一]，地ニ有リ[二]南=北[一]；字ニ有リ[二]更(かう)=革（かく)[一]，音ニ有リ[二]轉=移[一]，亦タ勢(いきほ)ヒノ所ナリ[二]必ズ至ル[一]。\",\n  use-unicode-kanbun: true, // Set to false to use normalized CJK characters (e.g. レ) instead of Kanbun Block characters (e.g. ㆑),\n  tight: true, // Default to true, tight layout is without inter-character space (ベタ組) and when false (non-tight layout) is with fixed inter-character space (アキ組),\n  height: 10em, // For `ttb` writing-direction it's the height limit for point to break line automatically, for `ltr` it's the width\n  writing-direction: ttb, // Default to `ttb`, can be `ttb` (縦組) or `ltr` (横組),\n)\n```\n\n![Rendered usage example](example.png)\n\n## What is hundouk? / 名称由来\n\n`hundouk` comes from the Middle Chinese reconstruction of the character \"訓讀\" (訓読 Kundoku) written in [TUPA (切韻拼音)](https://phesoca.com/tupa/) .\n\n## References / 参照\n\n- 漢文HTML https://phesoca.com/kanbun-html/\n- The `kanbun` package\n    - https://github.com/yuanhao-chen-nyoeghau/kanbun\n    - https://ctan.org/pkg/kanbun\n\n## Developments / 開発\n\n\n### フォント / Fonts\n\n以下のコマンドを実行することにより、必要なフォントをダウンロードすることができます。\n\nYou can download the required fonts by running the following command:\n\n```\nwget -O fonts/PlanschriftP1-Regular.ttf https://github.com/Fitzgerald-Porthmouth-Koenigsegg/Planschrift_Project/releases/download/V0.0.2007-pre/PlanschriftP1-Regular.ttf\nwget -O fonts/PlanschriftP2-Regular.ttf https://github.com/Fitzgerald-Porthmouth-Koenigsegg/Planschrift_Project/releases/download/V0.0.2007-pre/PlanschriftP2-Regular.ttf\nwget -O fonts/HaranoAjiMincho-Regular.otf https://github.com/trueroad/HaranoAjiFonts/raw/refs/heads/master/HaranoAjiMincho-Regular.otf\nwget -O fonts/HaranoAjiMincho-Bold.otf https://github.com/trueroad/HaranoAjiFonts/raw/refs/heads/master/HaranoAjiMincho-Bold.otf\nwget -O fonts/HaranoAjiGothic-Regular.otf https://github.com/trueroad/HaranoAjiFonts/raw/refs/heads/master/HaranoAjiGothic-Regular.otf\nwget -O fonts/HaranoAjiGothic-Bold.otf https://github.com/trueroad/HaranoAjiFonts/raw/refs/heads/master/HaranoAjiGothic-Bold.otf\n```\n\n### ドキュメント / Document\n\n```sh\ntypst compile docs/doc.typ --font-path fonts --root .\n```\n\n### スライド / Slides\n\n```sh\ntypst compile slides/main.typ --font-path fonts --root .\n```\n\n## License / ライセンス\n\n[MIT License](LICENSE) (c) 2025 mkpoli\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmkpoli%2Fhundouk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmkpoli%2Fhundouk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmkpoli%2Fhundouk/lists"}