Rcarmo/Python-FastAPI-trmnl-server: Lightweight TRMNL BYOS server
github.comยท4hยท
Discuss: Hacker News
โšกFastAPI
Preview
Report Post

BYOS TRMNL Server in FastAPI

This is a self-hosted FastAPI backend that emulates the TRMNL cloud so e-paper devices can fetch fresh images and metadata from your local network.

It is loosely based on a Flask implementation by @ohAnd, rewritten (nearly) from scratch to use FastAPI, async I/O, and a plugin-driven architecture for rendering various charts and images, prioritizing greyscale output suitable for later firmware versions but allowing you to force 1-bit BMP for legacy devices on a per-item basis

The server maintains device/playlists in SQLite, renders plugin-driven charts/photos into BMP/PNG assets, and exposes /api/display plus legacy-compatible endpoints expected by the firmware.

It also tries too hard โ€ฆ

Similar Posts

Loading similar posts...