{"repo":"ratatui/ratzilla","free":true,"listed":false,"github":"https://github.com/ratatui/ratzilla","clone":"git clone https://github.com/ratatui/ratzilla.git","description":"Build terminal-themed web applications with Rust and WebAssembly. Powered by Ratatui.","language":"Rust","stars":1427,"topics":["ratatui","rust","trunk","tui","wasm","wasm-bindgen","web","web-framework","web-sys","webassembly"],"license":"Apache-2.0","category":"cli-tools","readme_excerpt":"Watch the conference talk: Bringing Terminal Aesthetics to the Web With Rust (and Vice Versa) Ratzilla Build terminal-themed web applications with Rust and WebAssembly. Powered by [Ratatui]. Quickstart Templates Install cargo-generate : Generate a new project: And then serve the application on your browser ➡️ See templates for more information. Manual Setup Add Ratzilla as a dependency in your Cargo.toml : Here is a minimal example: Add your index.html . During build, trunk will automatically inject and initialize your Rust code (compiled to WebAssembly) as a JavaScript module. index.html And then serve the application on your browser ➡️ Serve Install [trunk] to build and serve the web application. Add compilation target wasm32-unknown-unknown : Then serve it on your browser: Now go to http://localhost:8080 and enjoy TUIs in your browser! Deploy To build the WASM bundle, you can run the following command: Then you can serve the server from the dist directory. Example Build Script Vercel There is a Vercel deployment template available for Ratzilla here. Documentation - API Documentation - Backends - Widgets Examples - Minimal (Preview) - Demo (Preview) - Pong (Preview) - Colors RGB (Preview) - Animations (Preview) - World Map (Preview) Websites built with Ratzilla - - The official website of Ratzilla - - Terminal Collective community website - - Resistor calculator - - Personal website of Tim Beck - - Map of apt-swarm p2p locations - TachyonFX FTL - DSL editor and previewer fo","default_branch":null,"files":null,"tree":[],"storefront":"/r/ratatui","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ratatui/ratzilla/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}