Skip to content

programmersd21/ratty

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ratty 🐁

Under construction ⚠️ Cheese ahead! πŸ§€

Peek.2026-04-26.20-57.mp4

Features:

  • Spinning rat cursor
  • 2D and 3D terminal presentation modes
  • Inline 3D object support via Ratty Graphics Protocol (RGP)
  • Image support via Kitty Graphics Protocol
  • GPU-backed text rendering with Ratatui + Parley/Vello *

Rendering pipeline

The terminal surface currently uses ratatui for the UI buffer, parley_ratatui for text shaping/rendering and Bevy for scene presentation.

Current workflow:

  1. Ratatui buffer on CPU
  2. Parley/Vello renders on GPU
  3. Read back RGBA to CPU
  4. Copy into Bevy image
  5. Bevy uses that texture on its side

What this means:

  • Terminal drawing is GPU-rendered through Parley/Vello
  • The Bevy integration is still a bridge, not a zero-copy shared-texture path
  • The 2D sprite and 3D terminal plane both consume the same Bevy-side image

This is GPU-powered terminal rendering, but it is not fully GPU-resident.

If the project later moves to a fully GPU-resident path, that will require a dedicated Bevy render integration that renders into a Bevy-owned texture on Bevy's render-world device instead of using the current readback bridge.

License

Licensed under the MIT License. See LICENSE for more information.

About

A next-gen terminal emulator for all the terminal rats 🐁🐁🐁

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Rust 100.0%