1
0
Fork
You've already forked trmnl-mm-dev
0
Some simple tools for working with TRMNL
  • Shell 44.9%
  • Go 43.5%
  • CSS 11.6%
Find a file
2026年02月06日 16:12:16 +00:00
scripts Set print darkness to 4 2026年02月06日 16:12:16 +00:00
.gitignore .gitignore output image files 2026年02月06日 11:39:24 +00:00
kobo.css Improve img processing for kobo/thermal print outputs 2026年02月06日 11:34:30 +00:00
md2img.sh Remove redundant redirection on echo 2026年02月06日 16:10:54 +00:00
print.css Fix print height to credit card width 2026年02月06日 16:11:38 +00:00
README.md Update README 2026年02月04日 17:14:27 +00:00
trmnl-server Rename files for better clairty 2026年02月01日 12:58:00 +00:00
trmnl-server.go Rename files for better clairty 2026年02月01日 12:58:00 +00:00

This project is work in progress.

A mashup of re-purposed Kobo ereaders, a BlueTooth thermal receipt printer and a Raspberry Pi Zero W. Combine them into a system for displaying Markdown task lists, with items appearing on different devices/formats depending on their level of importance!

Aims

On my local network I have several devices which I want to display my current todo lists.

A Raspberry Pi Zero W

Although it's low power (sub 1W) it can run full ARMv6 Linux distros. I have a minimal Alpine Linux installation and just access the Pi over SSH.

It's pretty low spec but it can run what I want, including:

  • Compiling Go programs
  • Converting Markdown to images via various packages and scripts
  • Running Python

It's slow at some of those things but usable for my needs.

X6 Thermal Printer

A super-cheap generic thermal receipt printer from AliExpress. My model reports itself as X6H but online sources usually just refer to X6 printers.

It cost 6ドル.60 including a roll of paper. At that price I had to buy one just to experiment with. Refill rolls can be bought for 30p-70p depending on how many you buy at once.

The quality is better than I expected and it's pretty fast, small and quiet. Loads of fun.

A drawback is that it doesn't work with standard drivers but instead depends on an Android app called Tiny Print (or something similar for iDevices). Tiny Print is fine for intended uses of a cheap fun printer like this but it's annoying to only be able to print via a phone/tablet and the app has limited options. It doesn't feel like a high quality piece of software.

I started to look into sending prints directly over BlueTooth but when it got to reverse-engineering the protocol I realised I'd opened a big can of worms. I tried some more searching and eventually found TiMini-Print which is a really nice alternative to Tiny Print. It works with a lot of these kinds of printers, including mine.

Importantly for this project, TiMini-Print allows prints to be sent via the command line, meaning it can be controlled with shell scripts.

The printer can only be connected via BlueTooth. So the Pi sits in the middle. Other devices on the network talk to the Pi, the Pi sends the prints to the printer.

Some old Kobo E-Ink Readers

I have 2 Kobo Glos and a Kobo Mini. I do use them for reading, but most of the time they sit unused. I want to be able to use them as displays.

Simplified software for working with TRMNL. I didn't need all of the features of TRMNL Server myself so have just built a small version to suit my needs.