Repository navigation
Releases: kchen0x/vnstat-http-server
Releases · kchen0x/vnstat-http-server
Release list
v0.2 - Grafana Cloud Integration
v0.2 - Grafana Cloud Integration
New Features
- Built-in Grafana Cloud push with Protobuf + Snappy compression
- Automatic hostname labels for multi-server environments
- Optimized logging (only log first success and failures to avoid log spam)
- Comprehensive Grafana Cloud integration documentation
Features
- Zero-dependency single binary (with optional Grafana Cloud dependencies)
- Token-based authentication
- CORS support for all endpoints
- Multiple vnstat endpoints (JSON, summary, daily, hourly, weekly, yearly, top, oneline)
- Prometheus metrics endpoint (
/metrics) - iOS Scriptable widget support
- Full internationalization (English/Chinese)
- Grafana Cloud push with automatic hostname labeling
Downloads
- Linux amd64:
vnstat-http-server-linux-amd64 - Linux arm64:
vnstat-http-server-linux-arm64
Installation
- Download the appropriate binary for your system
- Make it executable:
chmod +x vnstat-http-server-linux-amd64 - Run:
./vnstat-http-server-linux-amd64 -port 8080
Grafana Cloud Setup
To enable Grafana Cloud push, add the following parameters:
-grafana-url "https://YOUR_PROMETHEUS_INSTANCE.grafana.net/api/prom/push" \
-grafana-user "YOUR_INSTANCE_ID" \
-grafana-token "YOUR_API_TOKEN" \
-grafana-interval 30sSee README.md for detailed configuration instructions.
v0.1
v0.1 - Initial Release
Features
- Zero-dependency single binary
- Token-based authentication
- CORS support for all endpoints
- Multiple vnstat endpoints (JSON, summary, daily, hourly, weekly, yearly, top, oneline)
- iOS Scriptable widget support
- Full internationalization (English/Chinese)
Downloads
- Linux amd64: vnstat-http-server-linux-amd64
- Linux arm64: vnstat-http-server-linux-arm64
Installation
- Download the appropriate binary for your system
- Make it executable: chmod +x vnstat-http-server-linux-amd64
- Run: ./vnstat-http-server-linux-amd64 -port 8080