r/coolgithubprojects • • 8d ago

Hartbox: a Rust RISC-V emulator that boots Alpine Linux on iPhone

https://github.com/u6420771547-hash/hartbox

I’ve been working on Hartbox, a full-system RISC-V emulator in Rust that boots Alpine Linux locally on an iPhone without JIT. It has a terminal, persistent storage and networking, and you can SSH into the guest from a Mac.

I tested it on an iPhone 17e and just released 1.1.0. The repo includes the iOS app, the interpreter, a CLI and setup instructions. I used an AI assistant for parts of the code, debugging and tests.

I’d love feedback from anyone who tries it, especially on other devices.

1 Upvotes

0 comments sorted by