Raclettui
Build terminal-themed wayland layer shell applications with Rust. Powered by Ratatui.
About
Raclettui allows you to create windows using wayland layer shell protocol and implements the Ratatui Backend trait to draw terminal style UIs. Layer shell protocol is usually used to create menus, bars and lockscreens. This project is still under active development. Expect bugs and breaking changes. However, it works if you would like to try it out. It has cpu and wgpu rendering backends. This library was developped to cook a UI for my project as no UI libraries in the rust ecosystem implementing the layer shell protocol were to my liking.
Quickstart
Setup
Add Raclettui as a dependency in your Cargo.toml:
Here is a minimal example:
use ;
use ;
Demo
Converting the bluetui app interface in to a layer shell window is as simple as switching the backend. However, converting the crossterm events to window events is still a work in progress.
Documentation
Acknowledgements
Thanks to Ratzilla projects for the inspiration. Thanks to Ratatui for providing the core UI components.
Contributing
Pull requests are welcome! Please see todo list: TODO
Copyright
Copyright © 2025, Ishrut