2026-07-05 14:26:03 -03:00
2026-07-05 14:26:03 -03:00
2026-07-05 14:26:03 -03:00
2026-07-05 14:26:03 -03:00
2026-07-05 14:26:03 -03:00
2026-07-05 14:26:03 -03:00
2026-07-05 14:26:03 -03:00
2026-07-05 14:26:03 -03:00
2026-07-05 14:26:03 -03:00

statuspanel

statuspanel is a pure-Go terminal status panel for a network interface. It uses github.com/rivo/tview for the TUI and reads YAML configuration from /etc/statuspanel.yaml by default.

Build

go build ./cmd/statuspanel

ICMP ping uses raw sockets. On Linux, run as root or grant the binary the capability:

sudo setcap cap_net_raw+ep ./statuspanel

Run

./statuspanel -config ./statuspanel.yaml

Press q or Ctrl-C to quit.

Configuration

interface: eth0
gateway: "" # optional; when empty, statuspanel discovers the default gateway for interface
refresh: 2s

dns:
  server: 1.1.1.1
  domain: example.com
  timeout: 1s

ping:
  timeout: 1s

targets:
  - name: Cloudflare DNS
    address: 1.1.1.1
  - name: Google DNS
    address: 8.8.8.8
Description
No description provided
Readme 40 KiB
Languages
Go 99.4%
Makefile 0.6%