HeadlinesBriefing favicon HeadlinesBriefing.com

Infinite USB Drive Built on ESP32‑S3 and Library of Babel

Hacker News •
×

A GitHub repo called p2r3/babel-usb lets developers repurpose an ESP32‑S3 board as a seemingly endless USB drive. The firmware generates a deterministic file space modeled on the fictional Library of Babel, so any possible byte sequence exists somewhere on the virtual disk, and can be flashed in minutes.

To build it, buy any ESP32‑S3 dev kit—preferably a USB‑shaped board for novelty—then install Visual Studio Code with the PlatformIO extension. Clone the repository with submodules, open it in VS Code, hold the BOOT button while connecting, and press the compile‑flash icon. After flashing, the device appears as an MTP storage; copying files off the share may be required before reading, on a typical PC.

The project stitches together RigoLigoRLC’s esp32s3‑tusb‑mtp driver and a fork of Espressif’s tinyusb component, showing how open‑source USB stacks can support exotic use cases. While only the S3 variant guarantees native USB, the approach demonstrates a playful yet technically sound way to explore combinatorial file spaces without external storage. It provides a sandbox for cryptographic or data‑generation experiments.