mirror of
https://github.com/Threnklyn/wg-ui.git
synced 2026-06-01 03:18:27 +02:00
32 lines
692 B
Markdown
32 lines
692 B
Markdown
# Wireguard UI
|
|
|
|
[](https://buildkite.com/embark-studios/wireguard-ui)
|
|
|
|
A basic web UI for managing Wireguard clients.
|
|
|
|
## Features
|
|
|
|
* Self-serve
|
|
* Supports JWT tokens for authenticated use
|
|
* Expiration
|
|
|
|
|
|
## Developing
|
|
|
|
### Start frontend server
|
|
```
|
|
npm install --prefix=ui
|
|
npm run --prefix=ui dev
|
|
```
|
|
|
|
### Use frontend server when running the server
|
|
|
|
```
|
|
go get -u github.com/go-bindata/go-bindata/...
|
|
go get github.com/elazarl/go-bindata-assetfs/...
|
|
go-bindata-assetfs -prefix ui/public ui/public
|
|
go build .
|
|
sudo ./wireguard-ui --log-level=debug --dev-ui-server http://localhost:5000
|
|
```
|
|
|