No description
  • Python 83.9%
  • Shell 16.1%
Find a file
2025-08-22 11:37:31 +07:00
.gitignore Update Python 2025-08-22 11:37:31 +07:00
netgraph_viewer.py Update Python 2025-08-21 09:03:45 +07:00
netgraph_viewer.sh Update 2025-08-21 03:42:30 +07:00
README.md Update 2025-08-21 03:42:30 +07:00

Netgraph Viewer

This script contains password bypass for ngctl

Use with extra precaution

Requirement : Run ngctl as root without password

  1. doas.conf (modify as neccessary) permit nopass <username> as root cmd ngctl

How to Run

  1. Shell Script (less dependencies)
  • Requires:
    1. ngctl command
    2. dot command
    3. Image Viewer with Live Update (Ex: Risretto)
  • How to Run:
    1. Chmod +x netgraph-vewer.sh
    2. Run netgraph-vewer.sh
    3. Open image.png with Image Viewer
    4. Enjoy live update
  1. Python Script (less secure: need external libs)
  • Requires:
    1. subprocess
    2. tkinter
    3. ngctl command
    4. dot command
  • How to use:
    1. Run with python3.11 netgraph-viewer.py
    2. Wait several seconds for tkinter to show image with update

I am as the writer hold no responsibility for any broken system, or data lost when running this script