Skip to main content

Crate netrunner_cli

Crate netrunner_cli 

Source
Expand description

§netrunner_cli

The terminal front-end for netrunner — a cyberpunk internet speed-test and network-diagnostics tool. All network logic lives in netrunner_core; this crate owns the Ratatui/indicatif/colored presentation layer:

  • ui — spinners, banners and the live bandwidth graph
  • live — the full-screen live test dashboard (tui-chart, tui-spinner)
  • intro — the animated glowing-logo splash screen
  • logo — the NETRUNNER logo widget
  • stats_ui — the full-screen statistics dashboard with pie charts
  • render — bridges netrunner_core progress events to the terminal UI

The core engine reports progress through netrunner_core::TestEvents; render subscribes to that stream and reproduces the cyberpunk output (including the download/upload bandwidth graphs).

Re-exports§

pub use intro::show_intro;
pub use intro::show_simple_intro;
pub use logo::NetrunnerLogoSize;
pub use render::run_diagnostics_tui;
pub use render::run_speed_test_tui;
pub use stats_ui::show_statistics_tui;
pub use ui::BandwidthMonitor;
pub use ui::UI;

Modules§

intro
Animated intro screen
live
Full-screen live speed-test dashboard (ratatui).
logo
Netrunner Logo Widget
render
Bridges netrunner_core progress events to the cyberpunk terminal UI.
stats_ui
Statistics TUI - Visualizes historical speed test statistics using tui-piechart
ui
workbench
The Netrunner workbench: a persistent, tabbed ratatui application.

Structs§

GeoLocation
HistoryStorage
NetworkDiagnostics
Represents detailed network diagnostics
NetworkDiagnosticsTool
SpeedTest
SpeedTestResult
Represents a single network speed test result
TestConfig
Configuration for the speed test
TestStatistics

Enums§

ConnectionQuality
Represents the quality rating of a network connection
DetailLevel
Level of detail for test output
Phase
A single stage of a full speed test.
TestEvent
A progress event emitted while running a test.