@@ 0,0 1,30 @@
+# wg-manager
+[](https://builds.sr.ht/~muirrum/wg-manager/commits/.build.yml?)
+
+This is the server portion of the Wireguard Management System, which is designed
+to make it easier to provision peers across the network.
+
+## Setup
+Download artifacts from our latest
+[build](https://builds.sr.ht/~muirrum/wg-manager/commits/.build.yml), or clone
+the repo and build yourself with `go build`.
+
+Create a `peers.json` file in your working directory with the following format:
+
+```json
+{
+ "peers": [
+ {
+ "name": "peer name",
+ "public_key": "bad-key",
+ "ip": "AllowedIp",
+ "endpoint": "optional, for the wireguard server
+ }
+ ]
+}
+```
+
+You can then run `wg-manager` with the following flags, listed with their
+default settings:
+- `-port`: The port to listen on, defaults to 3000
+- `-bind`: The address/interface to bind to, defaults to `127.0.0.1`