8 releases

new 0.2.1 Jan 19, 2025
0.2.0 Jan 19, 2025
0.1.24 Jan 18, 2025

#145 in Network programming

Download history 238/week @ 2025-01-12

263 downloads per month

MIT license

16MB
3K SLoC

Contains (DOS exe, 9.5MB) unifi-tui-x86_64-pc-windows-gnu.exe, (ELF exe/lib, 6.5MB) unifi-tui-x86_64-unknown-linux-gnu

unifi-tui

Crates.io License

A terminal user interface (TUI) using the unifi-rs library for the UniFi Network API.

Currently, a work in progress. Intend to add more features as the unifi-rs library gets more features.

Usage

unifi-tui --url {url} --api-key {api-key} --insecure

Or with environment variables

export UNIFI_URL={url}
export UNIFI_API_KEY={api-key}

unifi-tui

Features

  • View sites
    • Select a site to limit the devices and clients to that site
  • View devices
    • View device overview
    • View device network throughput, granular to 5 second updates. Don't want to kill your controller with too many requests
    • View device ports and port status
    • View device radios
  • View clients
    • View client overview with Name, IP, MAC, device it is connected to, wired/wireless, uptime and status
    • View client information with client information and the upstream device information
  • View stats
    • View general stats for the site
    • All site summary with device count, client count (wired/wireless), network throughput.
    • Device status with device name, CPU usage, memory usage, and network throughput
    • Client history graph with client count over time (wired/wireless)
    • Network throughput graph with network throughput over time

Installation

cargo install unifi-tui

Or download the binary from the releases page. Haven't got cross working with arm macs yet so no mac binaries yet.

Roadmap

Don't have one yet. Will add more features as the unifi-rs library gets more features which is whenever unifi api gets more features available.

Screenshots

Sites

Sites

Unifi Devices

Devices DeviceDetail DeviceDetail2 DeviceDetail3 DeviceDetail4

Clients

Clients ClientDetail

Stats

Stats

Dependencies

~15–29MB
~446K SLoC