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
| Key | Action |
|---|---|
r | Refresh/rescan networks |
j / ↓ | Move selection down |
k / ↑ | Move selection up |
l | Toggle log panel |
q / Esc | Quit |
Platform Support
| Platform | Implementation | Status |
|---|---|---|
| macOS | system_profiler SPAirPortDataType | ✅ Implemented |
| Linux | nmcli / iw fallback | ✅ Implemented |
| Windows | wlanapi.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 FFIOnly three dependencies: ratatui, crossterm, and tracing.