diff options
| author | Ahmed AbdelHalim <[email protected]> | 2025-09-06 23:55:19 +0200 |
|---|---|---|
| committer | Ahmed AbdelHalim <[email protected]> | 2025-09-07 02:20:46 +0200 |
| commit | 17168a489392847794de0aed15fe395230a38261 (patch) | |
| tree | 60914d9df4b9b37852e54dcf72818b0df1a958fb /README.md | |
Initial commit
This cleaned up and added linting/readme to the already created web app
that I have been using to control vpn on my raspberry setup
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/README.md b/README.md new file mode 100644 index 0000000..0770e1f --- /dev/null +++ b/README.md @@ -0,0 +1,34 @@ +# WireGuard Gateway Portal + +A lightweight web interface for managing WireGuard VPN connections. + +Ideal for managing the VPN connection running on a RaspberryPi Network Gateway. + +## Quick Start + +1. **Configure WireGuard connections** in `/etc/wireguard/*.conf` +1. **Update configuration** in `config.yaml` (optional) +1. **Run the application**: `go run main.go` +1. **Open your browser** to `http://localhost:8080` + +## Development + +- **Go 1.25+** - For running the application +- **Node.js/npx** - (optional) For frontend linting (HTML/CSS/JS) +- **golangci-lint** - (optional) Go linting + +### Linting + +```bash +# Individual linters +make lint-js # JavaScript (ESLint) +make lint-css # CSS (Stylelint) +make lint-html # HTML (html-validate) +make lint-go # Go (go vet + golangci-lint) + +# All linters +make lint + +# Help +make help +``` |
