cai-tui
Interactive terminal UI for CAI.
Overview
cai-tui provides a feature-rich terminal user interface for browsing and querying CAI data interactively.
Features
- Dashboard: Overview of recent entries
- Table View: Paginated entry table
- Search: Filter entries by text
- Detail View: Full entry details
- Keyboard Navigation: Intuitive controls
Usage
Standalone
In Code
use MemoryStorage;
use run;
let storage = new;
run.await?;
Keyboard Controls
q/Ctrl+C- Quit↑/k- Move up↓/j- Move downEnter- View detailsEsc- Go back/- Searchn- Next search resultN- Previous search result
Usage
Add to your Cargo.toml:
[]
= { = "../cai-tui" }
Design Decisions
- ratatui: Cross-platform TUI framework
- crossterm: Terminal handling
- Event-driven: Async event processing
Testing
License
MIT OR Apache-2.0