Kami 1.20 is out. Your AI writes the words, Kami gives them good paper.
From the last three releases: charts drawn from data and checked before delivery, product sites in the product's own color, and Chinese and Korean pages that read well on iPhone.
tw93/kami t.co
37 likes · 2 reposts · 5,254 views
YAMLResume v0.17 更新:全新的 kami HTML 模板、全引擎支持主题色、Docker 镜像瘦身 80%
各位好,
[YAMLResume]( yamlresume.dev) 最近发布了 v0.17 ,在这里简单分享一下。
1. 支持主题色( accent color )
YAMLResume 里所有的排版引擎([docx]( yamlresume.dev)、[html]( yamlresume.dev) 、[latex]( yamlresume.dev))现在都支持主题色( accent color ),目前内置 9 个枚举值,也支持任意合法的十六进制颜色,比如 #RRGGBB。
写法大概是这样:
layouts:
- engine: latex
theme:
colors:
accent: burgundy
下面是几个自定义主题色的示例:


2. 全新的 HTML kami 模板
我们新增了一个 kami HTML 模板,灵感来自 [tw93/kami]( tw93/kami) 这个项目。
这是在 Safari 浏览器里的效果:

代码非常简单,只要把 layouts.[].template 改成 kami 就行:
layouts:
- engine: html
template: kami
前面提到过,我们的 HTML 模板也支持主题色,下面是绿色主题色的 kami 模板:

3. Docker 镜像体积缩小 80%
原来的 [yamlresume Docker 镜像]( hub.docker.com)( Node.js 、CLI 、XeTeX 以及全部字体),从磁盘占用约 4GB (下载 1.77GB ),优化到了磁盘 866MB (下载 321MB )。做法是用精选过的 TinyTeX 替代完整的 TeX Live 安装,并裁掉 XeLaTeX 根本不会读取的内容。
| 镜像 | 下载大小 | 磁盘占用 |
| --- | --- | --- |
| v0.16.x (更新前) | 1.77 GB | ~4 GB |
| v0.17.0 (更新后) | 321 MB | 866 MB |
希望有用哈!
- 博客: yamlresume.dev
- Kami 模板: yamlresume.dev
- 主题色支持: yamlresume.dev
- last update: v2ex.com
YAMLResume v0.17 update: new kami HTML template, with accent color support for all engines and slimmed docker image.
Hey guys,
Been a while for YAMLResume's last update.
Recently we've released v0.17, which brings some new things that may be useful for some people here.
1. Accent color Support
All theme engines (docx, html and latex) now support accent colors in YAMLResume, for now it support 9 builtin enum values and any random valid hex color like #RRGGBB
The code looks like this:
layouts:
- engine: latex
theme:
colors:
accent: burgundy
Here is some examples with accent color customized:
yamlresume latex jake's template with burgundy color
yamlresume latex jake's template with cerulean color
2. New HTML Kami template
We've added a new kami html template which is inspired by tw93/kami project.
Here is how it looks like in a Safari browser:
yamlresume html kami template
The code is very simple, just change `layouts.[].template` to `kami` like this:
layouts:
- engine: html
template: kami
As mentioned earlier, our html template also support accent color, here is kami template with green color:
yamlresume html kami template with green accent color
3. 80% slimmed docker image size
The original yamlresume's Docker image that ships the full yamlresume build pipeline—Node.js, the CLI, XeTeX, and all fonts—went from about 4GB on disk (1.77GB download) to 866MB on disk (321MB download), by replacing the full TeX Live installation with a curated TinyTeX install and pruning everything XeLaTeX never reads.
|Image|Download|On disk|
|:-|:-|:-|
|v0.16.x (before)|1.77 GB|~4 GB|
|v0.17.0 (after)|321 MB|866 MB|
Hopefully somebody in r/selfhosted would like these.
Thank you!
- Blog: yamlresume.dev
- Kami template: yamlresume.dev
- Accent color support: yamlresume.dev
1 point · 4 comments
I just discovered today that Kami's architecture redraws are of excellent quality.
tw93/Kami t.co
1 like · 16 views
Mentions
Kami 1.20 is out. Your AI writes the words, Kami gives them good paper. From the last three releases: charts drawn from data and checked before delivery, product sites in the product's own color, and Chinese and Korean pages that read well on iPhone. tw93/kami t.co
YAMLResume v0.17 更新:全新的 kami HTML 模板、全引擎支持主题色、Docker 镜像瘦身 80% 各位好, [YAMLResume]( yamlresume.dev) 最近发布了 v0.17 ,在这里简单分享一下。 1. 支持主题色( accent color ) YAMLResume 里所有的排版引擎([docx]( yamlresume.dev)、[html]( yamlresume.dev) 、[latex]( yamlresume.dev))现在都支持主题色( accent color ),目前内置 9 个枚举值,也支持任意合法的十六进制颜色,比如 #RRGGBB。 写法大概是这样: layouts: - engine: latex theme: colors: accent: burgundy 下面是几个自定义主题色的示例:   2. 全新的 HTML kami 模板 我们新增了一个 kami HTML 模板,灵感来自 [tw93/kami]( tw93/kami) 这个项目。 这是在 Safari 浏览器里的效果:  代码非常简单,只要把 layouts.[].template 改成 kami 就行: layouts: - engine: html template: kami 前面提到过,我们的 HTML 模板也支持主题色,下面是绿色主题色的 kami 模板:  3. Docker 镜像体积缩小 80% 原来的 [yamlresume Docker 镜像]( hub.docker.com)( Node.js 、CLI 、XeTeX 以及全部字体),从磁盘占用约 4GB (下载 1.77GB ),优化到了磁盘 866MB (下载 321MB )。做法是用精选过的 TinyTeX 替代完整的 TeX Live 安装,并裁掉 XeLaTeX 根本不会读取的内容。 | 镜像 | 下载大小 | 磁盘占用 | | --- | --- | --- | | v0.16.x (更新前) | 1.77 GB | ~4 GB | | v0.17.0 (更新后) | 321 MB | 866 MB | 希望有用哈! - 博客: yamlresume.dev - Kami 模板: yamlresume.dev - 主题色支持: yamlresume.dev - last update: v2ex.com
YAMLResume v0.17 update: new kami HTML template, with accent color support for all engines and slimmed docker image. Hey guys, Been a while for YAMLResume's last update. Recently we've released v0.17, which brings some new things that may be useful for some people here. 1. Accent color Support All theme engines (docx, html and latex) now support accent colors in YAMLResume, for now it support 9 builtin enum values and any random valid hex color like #RRGGBB The code looks like this: layouts: - engine: latex theme: colors: accent: burgundy Here is some examples with accent color customized: yamlresume latex jake's template with burgundy color yamlresume latex jake's template with cerulean color 2. New HTML Kami template We've added a new kami html template which is inspired by tw93/kami project. Here is how it looks like in a Safari browser: yamlresume html kami template The code is very simple, just change `layouts.[].template` to `kami` like this: layouts: - engine: html template: kami As mentioned earlier, our html template also support accent color, here is kami template with green color: yamlresume html kami template with green accent color 3. 80% slimmed docker image size The original yamlresume's Docker image that ships the full yamlresume build pipeline—Node.js, the CLI, XeTeX, and all fonts—went from about 4GB on disk (1.77GB download) to 866MB on disk (321MB download), by replacing the full TeX Live installation with a curated TinyTeX install and pruning everything XeLaTeX never reads. |Image|Download|On disk| |:-|:-|:-| |v0.16.x (before)|1.77 GB|~4 GB| |v0.17.0 (after)|321 MB|866 MB| Hopefully somebody in r/selfhosted would like these. Thank you! - Blog: yamlresume.dev - Kami template: yamlresume.dev - Accent color support: yamlresume.dev
I just discovered today that Kami's architecture redraws are of excellent quality. tw93/Kami t.co