Track and monitor Wi-Fi usage throughout the day, logging data usage for each network accessed.
- Network Manager
- Dbus
- Linux
For this program to work, you need to have Network Manager and Dbus installed.
This repo contains the service (backend) with API endpoints
Building requires Go
First step, clone the repo
git clone https://github.com/Clashkid155/UsageMonitor.git
cd UsageMonitor
go build -o usageMonitor
./usageMonitor #To run the file
I prefer using systemd to autostart, so here's an example systemd service file.
[Unit]
Description=Wifi Usage Monitor
After= NetworkManager.service
Requires=NetworkManager.service
[Service]
Type=exec
Restart=on-failure
RestartSec=5
ExecStart=/path/to/executable
[Install]
WantedBy=multi-user.target
...To be continued