#ratatui #eframe #egui #wasm #com

egui_ratatui

Ratati Backend that is also an EGUI widget! WASM BEVY MACROQUAD EFRAME

28 releases (3 stable)

Uses new Rust 2024

new 1.31.2 May 11, 2025
1.31.0 May 10, 2025
0.0.31 Mar 29, 2025
0.0.29 Nov 13, 2024
0.0.10 Jun 26, 2024

#203 in GUI

Download history 22/week @ 2025-02-12 31/week @ 2025-02-26 114/week @ 2025-03-26 14/week @ 2025-04-02 7/week @ 2025-04-23 577/week @ 2025-05-07

584 downloads per month

MIT/Apache

14KB
110 lines

egui_ratatui : egui widget + ratatui backend (WASM)

Crates.io Documentation License Downloads + Downloads

Discord: https://discord.gg/tDBPkdgApN https://discord.gg/tDBPkdgApN

Web Demo : https://gold-silver-copper.github.io/ (works best on firefox (very outdated))

See also: https://ratatui.rs/ https://github.com/emilk/egui

RataguiBackend is the name of the backend/widget in code

cargo add egui_ratatui

git clone https://github.com/gold-silver-copper/egui_ratatui.git

cd egui_ratatui

cd bevy_example

cargo run --release

This repo provides the Ratagui Backend, which is also a Widget for egui. So you can have a whole ratatui terminal inside of egui. Also since egui is so WASM compatible, this means we can use this to compile ratatui to WASM !

If you would like more information about compiling to WASM please consult the relevant EGUI backend documentation:

Bevy: https://bevy-cheatbook.github.io/platforms/wasm.html

Macroquad: https://macroquad.rs/articles/wasm/

eframe: https://github.com/emilk/eframe_template

Dependencies

~26MB
~374K SLoC

OSZAR »