Skip to content

nexusriot/ducknetview

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ducknetview 🦆

Minimalistic network monitoring TUI written in Go.

Built with:

  • Bubble Tea + bubbles (UI framework)
  • tcell (terminal backend)
  • gopsutil (network / process info)

The focus is a clean, usable terminal UI even on hosts with many interfaces (Docker, bridges, veth).

Overview Interfaces Ports Processes

Features

  • Overview

    • Hostname, uptime, timestamp
    • Selected interface summary
    • RX/TX rate with mini charts
  • Interfaces tab

    • Scrollable interface list
    • Auto-updating details (no Enter required)
    • Per-interface RX/TX charts
  • Ports tab

    • Open listening TCP / UDP ports
    • PID and process name (best-effort)
    • Scrollable list
    • Search (/) by port, address, protocol or process
  • Processes tab

    • Processes ranked by network connections
    • Scrollable list
    • Search (/) by process name or PID

Key bindings

Global

Key Action
Switch tabs
tab / shift+tab Cycle tabs
ctrl+c Quit

Lists / Viewports

Key Action
↑ ↓ Scroll
PgUp / PgDn Page scroll
Home / End Jump

Search (Ports / Processes)

Key Action
/ Start search
Enter Apply search
Esc Exit search
Ctrl+u Clear query (while searching)

Build & run

go mod tidy
go run .

Build binary:

go build -o ducknetview
./ducknetview

Notes

  • Process ↔ port mapping may require elevated privileges depending on OS.
  • Per-process bandwidth is not implemented (would require eBPF / netlink accounting).
  • Primarily tested on Linux.

License

MIT

About

Minimalistic network monitoring TUI written in Go

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors