Dashboard
Running tryaudex with no arguments launches an interactive terminal dashboard built with ratatui.
tryaudexThe dashboard has three tabs, switchable with Tab, arrow keys, or number keys:
1. Overview
Section titled “1. Overview”The default view. Shows:
- Active sessions — Currently running sessions with remaining TTL
- Recent sessions — Table of the last sessions with ID, status, actions, command, and age
- AWS services — Bar chart of which AWS services have been used (S3, Lambda, DynamoDB, etc.)
- Summary — Total sessions, completed, failed, and total budgeted spend
2. Sessions
Section titled “2. Sessions”Full scrollable table of all sessions with:
- Session ID (first 8 characters)
- Status (color-coded: green for completed, red for failed, yellow for expired)
- Allowed actions
- Command
- TTL
- Created timestamp
3. Audit
Section titled “3. Audit”Scrollable audit trail showing all events, color-coded by type:
SESSION_CREATED— greenCREDENTIALS_ISSUED— blueSESSION_ENDED— varies by statusBUDGET_WARNING— yellowBUDGET_EXCEEDED— red
Keybindings
Section titled “Keybindings”| Key | Action |
|---|---|
Tab / Right / Left | Switch tabs |
1 / 2 / 3 | Jump to tab directly |
Up / k | Scroll up |
Down / j | Scroll down |
r | Refresh data |
q / Esc | Quit |
Data Sources
Section titled “Data Sources”The dashboard reads from:
~/.local/share/audex/sessions/*.json— Session files~/.local/share/audex/audit/audit.jsonl— Audit log
Press r to reload data from disk at any time.