Expand description
Grouped, category-based internet usage scenario display.
Replaces the flat usage checklist with a visually grouped TUI showing 14 modern internet scenarios across 5 categories, with capacity bars, simultaneous stream counts, and personalized recommendations.
§Layout
┌──────────────────── USAGE CAPABILITY ────────────────────┐
│ ┌─ COMMUNICATION ─────────────────────────────────┐ │
│ │ 📹 HD Video Calls 8 Mbps [████████░░] 62× ✅ │
│ └──────────────────────────────────────────────────┘ │
│ ... (4 more categories) │
│ ──── SUMMARY ───────────────────────────────────── │
│ Your 500 Mbps connection supports: ... │
│ ⚠️ Recommendation: ... │
└──────────────────────────────────────────────────────────┘Structs§
- Scenario
Category - A category grouping scenarios.
- Scenario
Status - Computed status for a single scenario.
- Usage
Scenario - A single usage scenario with bandwidth requirements.
Enums§
- Headroom
Level - Overall headroom level for exit code determination.
Functions§
- all_
categories - Get all scenario categories.
- compute_
all_ statuses - Compute status for all scenarios given download speed in Mbps.
- format_
scenario_ grid - Format the full scenario grid output.
- print_
scenario_ grid - Format the scenario output, printing to stderr.
- worst_
headroom_ level - Determine the worst headroom level across all statuses.