Use Ratty as a daily terminal emulator with a novel GPU rendered interface
Build a custom terminal application with embedded 3D objects using the ratatui-rgp widget library
Toggle 3D mode to explore the terminal's rendering as an interactive 3D scene
| orhun/ratty | withcoral/coral | nubskr/walrus | |
|---|---|---|---|
| Stars | 2,082 | 2,247 | 1,887 |
| Language | Rust | Rust | Rust |
| Setup difficulty | moderate | moderate | moderate |
| Complexity | 3/5 | 3/5 | 5/5 |
| Audience | developer | developer | developer |
Figures from each repo's GitHub metadata at analysis time.
Needs a GPU and graphics stack supported by Bevy and wgpu, some platforms need extra system packages.
Ratty is a terminal emulator written in Rust that renders its interface on the GPU and can display inline three dimensional graphics inside the terminal itself. It combines the Ratatui terminal UI library with the Bevy game engine, and its most distinctive feature is a spinning three dimensional rat cursor that replaces the usual blinking text cursor. Beyond the traditional two dimensional terminal view, Ratty has a separate three dimensional mode that can be toggled with a keyboard shortcut, letting a user see what is effectively behind the flat terminal surface. It also supports inline three dimensional objects placed directly in terminal space through its own protocol, called the Ratty Graphics Protocol, which can register OBJ and GLB model files, position them at specific terminal cell locations, and animate their scale, color, and depth. A companion widget library called ratatui-rgp lets other developers build their own terminal applications that include these inline three dimensional objects, with example programs showing a giant rat model, an editable document with embedded 3D content, and a split pane drawing tool with a live 3D preview. Installation is available through Cargo, the Arch Linux package repository, prebuilt binary releases, or building directly from a Git checkout, and it requires a GPU and graphics stack supported by Bevy and wgpu. Configuration is handled through a TOML file that controls cursor appearance and animation, including which 3D model to use and how it scales and moves. Under the hood, the terminal buffer is drawn on the CPU through Ratatui, text is rendered on the GPU using the Parley and Vello libraries, the result is read back to the CPU, and then copied into an image that Bevy presents in either 2D or 3D. The project's author describes this as a GPU powered bridge rather than a fully GPU resident rendering path, and notes that achieving a fully GPU resident pipeline would require a dedicated Bevy render integration. The code is released under the MIT license.
A Rust terminal emulator that renders on the GPU and can show inline, animated 3D objects like a spinning rat cursor.
Mainly Rust. The stack also includes Rust, Bevy, Ratatui.
Use freely for any purpose, including commercial use, as long as you keep the copyright notice.
Setup difficulty is rated moderate, with roughly 30min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.