Repository navigation
PenKaku v0.1.0
English · 简体中文
The first public release of PenKaku (formerly chixie-rs): an open-source desktop app and CLI for GRBL / Grbl_ESP32 pen plotters and handwriting machines. Type or import a document, lay it out on ruled, grid or table paper, turn it into natural handwriting from a single-line SVG font, and let the plotter write it. It runs on Windows, macOS and Linux and works fully offline.
Highlights
- Word-style editor: rich text with undo/redo, find & replace, format painter, autosave, DOCX and TXT open/save, inline tables and Mermaid flowcharts drawn by the pen.
- Paper templates: ruled paper (信纸), composition grids (作文格) and merged-cell tables, with your own tags; import tables from vector PDFs, scans or phone photos.
- Realistic handwriting: deterministic per-character jitter, glyph deformation, cursive stroke joining (连笔), per-character pen pressure, separate styles for English and digits. The same document always gives the same G-code.
- Reliable writing: CH340 / GD32 serial streaming with auto-reconnect after USB drops, pause / stop, and line-exact resume (断点续写); pen-down calibration,
$$firmware editor, custom command buttons. - Fonts: any single-line SVG font (Inkscape Hershey Text compatible) in a watched local library; optional ChiXie (炽写) account login to download your cloud fonts, after which everything works offline.
- Output: G-code export, vector PDF export, and a full
penkaku-clifor headless use.
Downloads
| File | What it is |
|---|---|
penkaku-portable-Windows.zip / -macOS.tar.gz / -Linux.tar.gz |
Recommended. Optimised build; settings, fonts and templates stay in a data folder beside the program, so the folder is portable |
penkaku-debug-Windows.zip / -macOS.tar.gz / -Linux.tar.gz |
Debug build using the normal per-user data folders; the Linux package includes install.sh for a menu entry |
sample-Windows.pdf / -macOS.pdf / -Linux.pdf |
A sample page exported by CI on each OS |
- Windows: unzip and run
penkaku.exe. Install the WCH CH340 driver if the board's COM port does not appear. - macOS: the app is not notarized; on first start right-click
penkaku.app› Open (or runxattr -dr com.apple.quarantine penkaku.app). - Linux: run
./penkaku/penkaku; add your user to thedialoutgroup for serial access.
Notes
- Hardware tested: CH340 + Grbl_ESP32 1.3a board (~300 × 300 mm). Other GRBL boards should work over USB serial; Marlin is not supported yet.
- Licensed under GPL-3.0-only.
简体中文
PenKaku(原名 chixie-rs)的第一个公开版本:一款开源的写字机 / 笔式绘图机上位机软件和命令行工具,支持 GRBL / Grbl_ESP32 固件。输入或导入文档,排进信纸、作文格或表格,用单线 SVG 字体生成自然的手写笔迹,再交给写字机写出来。支持 Windows、macOS、Linux,完全离线可用。
亮点
- 类 Word 编辑器: 富文本、撤销/重做、查找替换、格式刷、自动保存草稿,打开/保存 DOCX 与 TXT;文中可插入表格和 Mermaid 流程图,由笔直接画出。
- 纸张模板: 信纸、作文格、可合并单元格的表格,标签由你自己定;可从矢量 PDF、扫描件或手机照片识别表格。
- 拟真手写: 每个字固定的随机抖动、字形变形、连笔、逐字轻重、英文和数字单独设置样式;同一份文档每次生成的 G-code 完全一致。
- 可靠书写: CH340 / GD32 串口流控,USB 掉线自动重连,暂停/停止,按行精确断点续写;落笔校准、
$$固件参数编辑、自定义命令按钮。 - 字体: 支持任意单线 SVG 字体(兼容 Inkscape Hershey Text),本地字体库自动监视;可选登录炽写账号下载云端字体,下载后完全离线使用。
- 输出: 导出 G-code、矢量 PDF,另有完整的命令行
penkaku-cli。
下载
| 文件 | 说明 |
|---|---|
penkaku-portable-Windows.zip / -macOS.tar.gz / -Linux.tar.gz |
推荐。 优化版;设置、字体、模板存在程序旁边的 data 文件夹,整个文件夹可随身携带 |
penkaku-debug-Windows.zip / -macOS.tar.gz / -Linux.tar.gz |
调试版,数据存在常规的用户目录;Linux 包含 install.sh,可注册桌面菜单 |
sample-Windows.pdf / -macOS.pdf / -Linux.pdf |
CI 在各系统上导出的示例页 |
- Windows: 解压后运行
penkaku.exe。若看不到主板的 COM 口,请先安装 WCH 官方 CH340 驱动。 - macOS: 应用未经 Apple 公证,首次启动请右键
penkaku.app› 打开(或执行xattr -dr com.apple.quarantine penkaku.app)。 - Linux: 运行
./penkaku/penkaku;使用串口需要把当前用户加入dialout组。
说明
- 已实测硬件:CH340 + Grbl_ESP32 1.3a 主板(约 300 × 300 mm)。其他 GRBL 主板通过 USB 串口应可使用;暂不支持 Marlin。
- 以 GPL-3.0-only 许可证发布。
