github tw93/Kami V1.6.0
Kami V1.6.0 Markdown Stage

latest releases: V1.7.1, V1.7.0
14 days ago
Kami Logo

Kami V1.6.0

Decks now begin in Markdown, and the same quiet rules carry them to PDF, PPTX, or the browser.

Changelog

  1. Marp Slide Deck Variant: a new Markdown-first deck path (EN/CN) under assets/templates/marp/. One .md source renders to HTML, PDF, or PPTX via marp-cli, and the theme CSS is self-contained, carrying the full Kami token set (parchment, ink-blue, serif rhythm). It joins WeasyPrint HTML-to-PDF (default) and python-pptx (editable) as a third, user-triggered slide path. Kami's own build pipeline does not call marp; users run marp-cli themselves.
  2. Landing-Page Production Companion Files: five .example scaffolding files for shipping a generated landing page as a real multilingual site, llms.txt + llms-full.txt for AI assistants, robots.txt with an AI allowlist, sitemap.xml with hreflang, and vercel.json for rewrites and headers. Documented in SKILL.md and packaged in the skill.
  3. Site Reaches Five Languages: the official site adds Traditional Chinese and Korean pages alongside English, Simplified Chinese, and Japanese, with a collapsible language switcher that auto-detects the browser language.
  4. Scripts Split + Real Render CI: build.py dropped from 1062 to 361 lines, split into focused lint / checks / verify / tokens / optional_deps modules. A new verify-render CI job installs WeasyPrint plus Noto CJK and actually renders the strict-page-count templates, so page-count regressions can no longer slip through lint-only CI. The overflow solver gains end-to-end tests.
  5. Robustness & CI Hardening: render verification now accepts DejaVu / Liberation as a serif fallback and adds a KAMI_ALLOW_FALLBACK_ONLY opt-in so CI (which never has commercial fonts) can still gate page counts; the build warns clearly when Pygments is missing; Marp deck visuals tightened.

更新日志

  1. Marp 幻灯片: 多了一条用 Markdown 写幻灯片的路子(中英文),放在 assets/templates/marp/。同一份 .mdmarp-cli 就能导出 HTML、PDF 或 PPTX,主题样式自成一体,内置整套 Kami 配色和字体节奏,不用再配额外 CSS。加上默认的 WeasyPrint(HTML 转 PDF)和 python-pptx(可编辑 PPT),出片现在有三种方式,按需挑一个。Kami 自己的构建流程不碰 marp,要用时本地跑一下 marp-cli 就行。
  2. 落地页上线配套文件: 新增五个 .example 脚手架,帮你把生成的落地页真正部署成多语言站点:给 AI 助手读的 llms.txtllms-full.txt、带 AI 抓取白名单的 robots.txt、带 hreflang 的 sitemap.xml,以及管 rewrite 和响应头的 vercel.json。SKILL.md 里有说明,也一并打进了 skill 包。
  3. 官网支持五种语言: 在英文、简体中文、日文之外,新增繁体中文和韩文页面,配了个可折叠的语言切换器,会按浏览器语言自动跳转。
  4. 脚本拆分 + 渲染级 CI: build.py 从 1062 行瘦到 361 行,拆成职责清楚的 lintchecksverifytokensoptional_deps 五个模块。新增的 verify-render 任务会装上 WeasyPrint 和 Noto CJK,把限定页数的模板真正渲染一遍,页数超标再也绕不过只跑 lint 的 CI。溢出 solver 也补齐了端到端测试。
  5. 稳健性和 CI 加固: 渲染校验现在认 DejaVu、Liberation 作为 serif 回退,还加了 KAMI_ALLOW_FALLBACK_ONLY 开关,让本来没有商业字体的 CI 也能卡页数;缺 Pygments 时构建会直接提示;顺手收紧了 Marp 幻灯片的视觉细节。

Kami is a quiet design system for professional documents, one constraint set that any agent can trust. https://github.com/tw93/Kami

Don't miss a new Kami release

NewReleases is sending notifications on new releases.