logoalt Hacker News

Mousefood – Build embedded terminal UIs for microcontrollers

129 pointsby orhunp_today at 5:20 PM37 commentsview on HN

Comments

zokiertoday at 7:00 PM

> Embedded-graphics includes bitmap fonts that have a very limited set of characters to save space (ASCII, ISO 8859 or JIS X0201). This makes it impossible to draw most of Ratatui's widgets, which heavily use box-drawing glyphs, Braille, and other special characters

You have a bitmap display, you can just draw lines and stuff without needing to rely on font-based hacks.

show 1 reply
nine_ktoday at 6:40 PM

«Mousefood - a no-std embedded-graphics backend for Ratatui!»

Hence 100% Rust. Works on ESP32, RPi2040, and even STM32. Several displays mentioned, including e-ink.

Liftyeetoday at 9:10 PM

Really neat project but - Rust on embedded. Haven't tried it yet - has anyone got experience comparing it to C/C++?

show 1 reply
orhunp_today at 7:18 PM

Hey all, thanks for the interest to the crate!

I'm currently live on YouTube (doing some maintenance & testing). Feel free to join if you have any questions!

https://www.youtube.com/watch?v=PoYEQJbYNMc

piskovtoday at 10:12 PM

But all the modern TUI are react/solid (claude code, opencode), this should in typescript

(thank god it isn’t; why do people drag web everywhere is beyond me)

onjectictoday at 6:52 PM

Reminds me a lot of the UI styles in the Minecraft mod ComputerCraft.

show 2 replies
wjholdentoday at 6:37 PM

Cool! I just recently began learning the Raspberry Pi Pico. Could anyone recommend a specific display that I could use with the Pico 2/2W and Mousefood?

GeertJohantoday at 6:48 PM

This is awesome! I love ratatui, having it available on embedded is very cool! I wonder if it will work with async on embedded e.g. embassy..

show 1 reply
dbacartoday at 6:25 PM

Hi Orhun, Could it be used with CYD (Cheap yellow display) ?

show 3 replies
IamDaedalustoday at 6:37 PM

aaaaand this how I learn rust I learned go because of bubbletea and mousefood (which combines my work as an embedded systems programmer and love for torminals) is here

show 1 reply