| Crates.io | mako-tui |
| lib.rs | mako-tui |
| version | 1.0.0 |
| created_at | 2025-09-30 14:13:41.762051+00 |
| updated_at | 2025-09-30 14:13:41.762051+00 |
| description | A small terminal user interface for editing mako notification daemon configuration files. |
| homepage | https://github.com/dominic-codespoti/mako-editor-tui |
| repository | https://github.com/dominic-codespoti/mako-editor-tui |
| max_upload_size | |
| id | 1861207 |
| size | 63,115 |
A small terminal user interface for editing mako notification daemon configuration files.
This project provides a curses-style TUI (built with crossterm + ratatui) to edit mako-style key/value configuration parameters. It includes a typed model of common mako configuration keys in src/mako_config.rs and a simple list editor in src/main.rs.
Prerequisites
Build and run
Run the app in the repo root:
A small terminal UI to edit mako (notification daemon) configuration key/value pairs.
This crate bundles a simple TUI editor built with crossterm + ratatui. It provides
a curated list of common mako options (see src/mako_config.rs), inline editing with
allowed-value hints, and a small Config loader/saver used by the UI (src/config.rs).
Prerequisites
rustupBuild and run
# run in project root
cargo run --release
On first run the editor seeds the configuration with a couple helpful keys (for example font and background-color).
While editing or adding values:
src/main.rs — TUI layout, input handling, main loopsrc/mako_config.rs — typed mako config model, known_keys() and allowed_values() helperssrc/config.rs — load/save logic for the key/value store used by the UI