Mousefood – Build embedded terminal UIs for microcontrollers

github.com

182 points by orhunp_ 12 hours ago


zokier - 10 hours ago

> 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.

orhunp_ - 10 hours ago

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

nine_k - 10 hours ago

«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.

Liftyee - 8 hours ago

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

onjectic - 10 hours ago

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

wjholden - 10 hours ago

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?

GeertJohan - 10 hours ago

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..

piskov - 7 hours ago

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)

dbacar - 11 hours ago

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

IamDaedalus - 10 hours ago

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