展示HN:看妈,没有Linux:Shell、应用安装器、Vi、Cc 在 ESP32-S3 / BreezyBox 上
Show HN: Look Ma, No Linux: Shell, App Installer, Vi, Cc on ESP32-S3 / BreezyBox

原始链接: https://github.com/valdanylchuk/breezydemo

## BreezyBox:基于ESP32-S3的微型电脑 该项目展示了如何将ESP32-S3微控制器变成一个令人惊讶的、即时启动的“电脑”——让人联想到早期的DOS系统——而无需完整操作系统的臃肿。BreezyBox是一个微型shell ESP-IDF组件,它提供了一个vterm、文件系统导航、类似UNIX的命令以及一个应用程序安装器,利用了ESP-IDF的现有功能,如动态链接。 本质上,它解锁了ESP32-S3在更具交互性、以编码为中心的体验方面的潜力。虽然它不是一个完整的操作系统(它运行在FreeRTOS上),但它提供了一个用户层来运行小型应用程序,甚至可能是复古游戏或自定义小工具。 该项目被设计为易于集成到现有的ESP-IDF项目中,目前在Waveshare ESP32-S3-Touch-LCD-7B板上进行了演示。开发者鼓励贡献,特别是对不同板子的测试、分享示例应用程序以及创建更完整的固件示例,以扩展BreezyBox的可访问性和功能。它采用MIT许可证,是免费软件。

## BreezyBox:基于ESP32-S3的复古计算体验 一个名为BreezyBox的新项目为ESP32-S3微控制器带来了DOS时代的计算体验,提供了一个shell、应用安装程序,甚至Vi编辑器——所有这些都不需要完整的操作系统。该项目由valdanylchuk创建,旨在提供类似树莓派的功能,但开销显著降低。 该项目允许从Git仓库轻松安装应用程序,感觉就像“在烤面包机上进行自制软件”。它利用ESP-IDF组件BreezyBox,以及一个定制的文本模式驱动程序,并计划支持类似VGA的图形显示。 Hacker News上的讨论强调了ESP32-S3的价值、潜在用途(例如廉价的KVM替代品,使用ESP Bus Pirate),以及其令人惊讶的能力。虽然ESP32-S3的RAM有限(传统200kB,8MB PSRAM),但扁平化的内存模型是可行的。开发者正在探索将其移植到其他芯片,如RP2350和ESP32-C6,并设想开发专注于应用程序开发而非系统配置的简单、精简的微控制器操作系统。 链接: * **GitHub仓库:** [https://github.com/valdanylchuk/breezydemo](https://github.com/valdanylchuk/breezydemo) * **Hackaday:** [https://hackaday.com/2026/02/06/breezybox-a-busybox-like-she...](https://hackaday.com/2026/02/06/breezybox-a-busybox-like-she...)
相关文章

原文

This is a demo for how you can turn an ESP32-S3 microcontroller into a tiny instant-on PC with its own shell, editor, compiler, and online apps installer. Something like Raspberry Pi, minus the overhead of a full server/desktop grade OS. I think ESP32 is underrated in hobby maker community for this PC-like use case. This demo uses BreezyBox, my mini-shell ESP-IDF component.

That sounds too good to be true. What is BreezyBox anyway?

First of all, seeing is believing (click to watch the video):

Watch the video

It started as a "cyberdeck" style crafting project. Then I got carried away with the software part. I chose ESP32-S3 for the base platform. It has the nostalgic appeal of the DOS era PCs, with similar resources, and elbow-deep-in-bytes coding experience, plus modern wireless comms.

ESP32-S3 can do everything those PCs did and more, but that is inconvenient out of the box, because that is not the commercial use case it is positioned for. It also forces away the code bloat. If you are like me, and love small elegant things, and technology that punches way above its weight, you ought to try it!

So anyway, I decided to try and package some key missing parts: a basic vterm, the current working directory (CWD) tracking, a few familiar UNIX-like commands, and an app installer. Believe it or not, the rest is already there in ESP-IDF components, including the elf_loader with dynamic linking.

The result is called "BreezyBox", by analogy with the BusyBox commands suite. The name is just a light joke, it is not meant to be a full clone. You can import it with one command in your ESP-IDF project, and if you have some stdio going, even at "Hello World" level, it should mostly just work. I call it a "mini shell", a naïve user might call it an OS (it is not, it runs on FreeRTOS), and you can also call it the userland layer.

This repo is just one possible example

The BreezyBox component leaves the display and other board configuration details to the user's firmware project, providing mainly the vterm/vfs features, and some shell commands. This particular example/demo project supports only one specific dev board: Waveshare ESP32-S3-Touch-LCD-7B (no affiliation). But you can see how all the parts connect, and adapt it to your display/board, or just copy some code snippets from here.

I suggest just fork it, clone it, and try to make it work on your board. Mine was about 40€; you can start with some random $10 two inch LCD S3 dev board if you like. Hint: LVGL text label control is the easiest path to stdout on LCD that works almost everywhere. You can also start with a headless board over USB console, that takes zero code, and gives you free ANSI codes in standard IDF Monitor in VSCode (or in Tabby).

You do not have to write your own font renderer like I did here; that was just to push past 30 FPS on a display slightly too large for this chip.

This is free software under MIT License.

Contributing: Help Wanted!

The best help is currently more testing beyond "works on my computer", more shared examples and fun use cases:

  1. More ELF apps – see the examples at my breezyapps repo, they are super easy to follow. Even a carefully written stdlib C program with no platform-specific bits may work sometimes, also with some ANSI codes. But be sure to verify on the actual ESP32-S3: the memory is tight, the larger PSRAM requires alignment, and there are other limits and quirks. You can publish and install the apps using your own repo.

  2. More full example firmware repositories: for different boards, with different styles. Maybe you provide the basic LVGL text label example on some popular board. Maybe you prefer C++ to plain C. Maybe you embrace the GUI. Maybe you port some retro games. Maybe you even make it work on P4, or C6 (RISC-V, a completely different CPU). Maybe you attach some cool gadgets to it. Maybe you build an extra cool cyberdeck case. Or maybe you reproduce the exact same thing, and just share your setup experience and hands-on impressions.

It would be so cool to see more people using BreezyBox, and to have more ready-to-clone examples for everyone!

Have fun!

联系我们 contact @ memedata.com