Description
Ratzilla is a Rust framework for building terminal-themed web applications that run in the browser through WebAssembly. It is powered by Ratatui, the Rust terminal UI library, so you build the interface with the same widgets you would use in a terminal app. The README describes two ways to start. You can generate a project from one of the templates with cargo-generate, or add Ratzilla as a dependency in Cargo.toml and write your own index.html. During the build, trunk injects and starts your Rust code, compiled to WebAssembly, as a JavaScript module. To serve the app locally, you install trunk, add the wasm32-unknown-unknown target, and open the local server on port 8080. For deployment, you build the WebAssembly bundle and serve the dist directory, and a Vercel template is available. The project documents its API and its backends, including a DOM backend and a canvas backend, and it has examples such as a minimal app, a demo, a pong game, RGB colors, animations and a world map. The README lists several websites built with Ratzilla and thanks the people who helped with the initial implementation and a WebGL2 backend.…
Highlights
- Terminal-style web apps written in Rust
- Built on Ratatui widgets
- Compiles to WebAssembly and runs in the browser
- Templates with cargo-generate
- DOM and canvas backends
Ratings & Reviews
No ratings yet
Be the first to rate Ratzilla.
People also visit
Rust Yew Realworld Example App
Exemplary real world app built with Rust + Yew + WebAssembly
Ratzilla FAQ
What is Ratzilla?
A Rust framework for building terminal-themed web applications that run in the browser with WebAssembly.
Do I need to know WebAssembly?
Not directly. The README says trunk builds and injects the Rust code as a JavaScript module.
How do I start a project?
Use a template with cargo-generate, or add the crate to Cargo.toml and write your own index.html.
How do I run it locally?
Install trunk, add the wasm32-unknown-unknown target, and serve the app, which the README says opens at localhost port 8080.
Which rendering backends are there?
The README mentions a DOM backend and a canvas backend, and a WebGL2 backend was added later.
What are the best Ratzilla alternatives?
Popular alternatives to Ratzilla include Zzhack, Create Rust App and Rust Yew Realworld Example App. See all Ratzilla alternatives

