Settings

Theme

Show HN: Typos – Render Typst Documents to Thermal Printers (Go and ESC/POS)

2 points by shlewis · 0 comments · 1 min read


I built typos because handling CJK fonts (Korean in my case) natively on thermal printers using standard ESC/POS code pages was pretty terrible.

Instead of messing with internal fonts, I've decided to write a simple script that can do Typst -> Image -> Print.

It features CLI, an optional REST server with async job queue and with template support.

The core Go CLI and printer logic are 100% hand-written. I experimented with AI tools via Opencode to write the REST API once the core logic was done (detailed full disclosure in the README), which is entirely optional.

Repo: https://github.com/shlewislee/typos

Happy to take feedback, especially regarding code quality, or answer questions!

No comments yet.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection