WiFi TUI

A cross-platform terminal UI for discovering and listing nearby WiFi networks.

Project Link
Rust Cross-platform Open source

Demo


Features

  • Real-time WiFi network scanning
  • Signal strength visualization with bars
  • Channel and security protocol display
  • Keyboard navigation
  • Built-in log viewer for debugging

Controls

KeyAction
rRefresh/rescan networks
j / Move selection down
k / Move selection up
lToggle log panel
q / EscQuit

Platform Support

PlatformImplementationStatus
macOSsystem_profiler SPAirPortDataType✅ Implemented
Linuxnmcli / iw fallback✅ Implemented
Windowswlanapi.dll raw FFI✅ Implemented

Architecture

src/
├── main.rs # Entry point, event loop
├── app.rs # Application state
├── ui.rs # Ratatui rendering
├── lib.rs # Library exports
└── scanner/
├── mod.rs # Scanner trait, types
├── macos.rs # macOS: system_profiler
├── linux.rs # Linux: nmcli / iw
└── windows.rs # Windows: wlanapi.dll FFI

Only three dependencies: ratatui, crossterm, and tracing.