https://github.com/fleaz/kea2html
Parse a kea-dhcp4 leases file and generate a html overview
https://github.com/fleaz/kea2html
hacktoberfest
Last synced: 10 months ago
JSON representation
Parse a kea-dhcp4 leases file and generate a html overview
- Host: GitHub
- URL: https://github.com/fleaz/kea2html
- Owner: fleaz
- Created: 2019-10-07T20:28:12.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-10-07T20:40:20.000Z (over 6 years ago)
- Last Synced: 2025-01-18T07:48:11.401Z (over 1 year ago)
- Topics: hacktoberfest
- Language: Go
- Size: 101 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# kea2html
I use kea-dhcp4 in my home network and wanted a simple way to have an overview over the devices in my house. This
script parses the csv file written by kea-dhcp when you use "memfile" as type for the leases-database.
I use [packr](https://github.com/gobuffalo/packr/tree/master/v2) to bundle the html into the binary which makes
deployment more easy. To build this project you first have to install the packr2 cli tool and then run `packr2
build`. This produces a single binary which includes all files and can be moved to your router/DHCP-Server.
## Example

## Usage
```
Usage of ./kea2html:
-in string
Path to your leases csv file (default "/var/lib/kea/kea-leases4.csv")
-out string
Path to the rendered HTML file (default "output.html")
```