Raclettui
Build TUI (terminal user interface) windows on Wayland via the layer-shell protocol. Powered by Ratatui and beamterm-core.
About
Raclettui creates zwlr_layer_shell_v1 windows (overlays, panels, bars,
lock screens) and implements the Ratatui Backend trait so you can draw
terminal-style UIs with GPU-accelerated glyph rendering.
This project is still under active development — expect bugs and breaking changes. It was developed to build a UI for the author's personal project when no existing Rust layer-shell libraries fit their needs.
Requirements
- A Wayland compositor that supports the
zwlr_layer_shell_v1protocol (e.g. Sway, Hyprland, River) - OpenGL 3.3+ / EGL
fontconfig(for monospace font discovery)
Usage
Add the dependency:
Minimal example:
use ;
use ;
See examples/hello.rs for a more complete example.
Documentation
Full API documentation: https://docs.rs/raclettui
Contributing
Pull requests are welcome! See the todo list.
License
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE)
- MIT license (LICENSE-MIT)
at your option.