frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Mousefood – Build embedded terminal UIs for microcontrollers

https://github.com/ratatui/mousefood
61•orhunp_•2h ago

Comments

dbacar•1h ago
Hi Orhun, Could it be used with CYD (Cheap yellow display) ?
nine_k•1h ago
At the bottom of the page there is a mention of "Phone-OS - A modern phone OS for ESP32 CYD", so apparently it must be supported.
01HNNWZ0MV43FF•1h ago
Today I Learned: https://github.com/witnessmenow/ESP32-Cheap-Yellow-Display
orhunp_•52m ago
Most likely. I just checked and it uses embedded-graphics already which means you can plug in Mousefood directly. The touchscreen might be a bit tricky though, it might need some hacking on the event handler side. But it will most likely work if you map the coordinates to the terminal cells abstraction somehow.
wjholden•1h 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?
IamDaedalus•1h 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
redanddead•1h ago
Oh bubbletea is really cool. Is this how most interactive CLIs are made?
GeertJohan•1h ago
I used bubbletea for a while but quit it because of inconsistencies in the design. Went to ratatui and never looked back. Go and Bubbletea are nice, but rust is much more suited for building tuis.
nine_k•1h 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.

GeertJohan•1h 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..
orhunp_•58m ago
absolutely, it will work with any other embedded Rust application. The backend only provides a bridge between the embedded-graphics library and the Ratatui widget renderer.
onjectic•1h ago
Reminds me a lot of the UI styles in the Minecraft mod ComputerCraft.
orhunp_•57m ago
we're bringing back those aesthetics!
zokier•1h 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.

weinzierl•54m ago
Sure, but that's beside the point.

Text based graphics with fancy or custom fonts is just crazy efficient. That is exactly how we got the amazing graphics of The Last Ninja or Turrican on machines with less than 64KiB useable RAM.

Same for more modern embedded devices. If you constrain yourself to text you increase both runtime performance and your developer productivity.

orbital-decay•40m ago
It was crazy efficient on character or tile-based hardware. It makes little difference on bitmap displays.
weinzierl•22m ago
I don't know what tile-based hardware is. In the end it is always pixel - alway has been [1] - and the efficiency storing and blitting a small number of fixed size rectangles is hard to beat if you can get away with it.

[1] Except for the early oscilloscope style vector displays maybe.

zokier•31m ago
Are you claiming that scrapping together boxes and whatnot with line drawing characters is more efficient than just drawing the lines directly?
orhunp_•56m 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

Microsoft forced me to switch to Linux

https://www.himthe.dev/blog/microsoft-to-linux
1193•bobsterlobster•5h ago•969 comments

Airfoil (2024)

https://ciechanow.ski/airfoil/
244•brk•5h ago•39 comments

Mousefood – Build embedded terminal UIs for microcontrollers

https://github.com/ratatui/mousefood
61•orhunp_•2h ago•20 comments

Oban, the job processing framework from Elixir, has come to Python

https://www.dimamik.com/posts/oban_py/
94•dimamik•3h ago•45 comments

Computer History Museum Launches Digital Portal to Its Collection

https://computerhistory.org/press-releases/computer-history-museum-launches-digital-portal-to-its...
32•ChrisArchitect•2h ago•3 comments

Show HN: The HN Arcade

https://andrewgy8.github.io/hnarcade/
257•yuppiepuppie•9h ago•66 comments

I have written gemma3 inference in pure C

https://github.com/robitec97/gemma3.c
18•robitec97•2d ago•6 comments

I Overengineered a Spinning Top

https://www.youtube.com/watch?v=Wp5NodfvvF4
78•bane•5d ago•22 comments

Spinning around: Please don't – Common problems with spin locks

https://www.siliceum.com/en/blog/post/spinning-around/
27•bdash•3h ago•8 comments

LM Studio 0.4.0

https://lmstudio.ai/blog/0.4.0
56•jiqiren•1h ago•28 comments

3D-Printed Mathematical Lampshades

https://hessammehr.github.io/blog/posts/2025-12-24-maths-to-lampshade.html
30•hessammehr•4d ago•7 comments

Show HN: SHDL – A minimal hardware description language built from logic gates

https://github.com/rafa-rrayes/SHDL
9•rafa_rrayes•8h ago•1 comments

When Every Network is 192.168.1.x

https://netrinos.com/blog/conflicting-subnets
38•pcarroll•6h ago•33 comments

Immanuel 'the Königsberg clock' Kant (2015)

https://www.versobooks.com/en-gb/blogs/news/1963-immanuel-kant-the-errrr-walker
24•rishabhd•3d ago•3 comments

Show HN: Dwm.tmux – a dwm-inspired window manager for tmux

https://github.com/saysjonathan/dwm.tmux
75•saysjonathan•4d ago•12 comments

There's only one Woz, but we can all learn from him

https://www.fastcompany.com/91477114/steve-wozniak-woz-apple-the-tech-interactive-humanitarian-award
286•coloneltcb•5d ago•138 comments

Rust at Scale: An Added Layer of Security for WhatsApp

https://engineering.fb.com/2026/01/27/security/rust-at-scale-security-whatsapp/
220•ubj•13h ago•105 comments

Show HN: I built a small browser engine from scratch in C++

https://github.com/beginner-jhj/mini_browser
100•crediblejhj•6h ago•26 comments

A verification layer for browser agents: Amazon case study

https://sentienceapi.com/blog/verification-layer-amazon-case-study
42•tonyww•18h ago•18 comments

A few random notes from Claude coding quite a bit last few weeks

https://twitter.com/karpathy/status/2015883857489522876
860•bigwheels•1d ago•769 comments

Kyber (YC W23) Is Hiring a Staff Engineer

https://www.ycombinator.com/companies/kyber/jobs/GPJkv5v-staff-engineer-tech-lead
1•asontha•8h ago

Prism

https://openai.com/index/introducing-prism
742•meetpateltech•1d ago•499 comments

Show HN: Cua-Bench – a benchmark for AI agents in GUI environments

https://github.com/trycua/cua
27•someguy101010•2d ago•6 comments

SVG Path Editor

https://yqnn.github.io/svg-path-editor/
216•gurjeet•5d ago•35 comments

Android's full desktop interface leaks: New status bar, Chrome Extensions

https://9to5google.com/2026/01/27/android-desktop-leak/
56•thunderbong•16h ago•59 comments

Show HN: Build Web Automations via Demonstration

https://www.notte.cc/launch-week-i/demonstrate-mode
24•ogandreakiro•1d ago•9 comments

That's Not How Email Works, HSBC

https://danq.me/2026/01/28/hsbc-dont-understand-email/
127•HotGarbage•2h ago•73 comments

Virtual Boy on TV with Intelligent Systems Video Boy

https://hcs64.com/video-boy-vue/
85•hcs•11h ago•29 comments

430k-year-old well-preserved wooden tools are the oldest ever found

https://www.nytimes.com/2026/01/26/science/archaeology-neanderthals-tools.html
480•bookofjoe•1d ago•249 comments

Make.ts

https://matklad.github.io/2026/01/27/make-ts.html
195•ingve•12h ago•104 comments