Replace from-scratch rewrite with real ngoduykhanh/wireguard-ui fork

The from-scratch Go rewrite had unresolved bugs (missing go.sum, UI
404s, path issues) from being built without a working local Go
toolchain to verify against. Switching strategy: use the actual
upstream wireguard-ui codebase (proven, battle-tested single-server
manager) as the base, and extend it for multi-server support instead
of re-deriving everything from zero.

Kept our own installers (bootstrap.sh, update.sh, scripts/install.sh,
scripts/proxmox-install.sh) - these still apply, just need updating
to build/install the upstream module layout instead of the old
cmd/wireguard-ui-multi structure.

Module path intentionally left as upstream's own
(github.com/ngoduykhanh/wireguard-ui) for now to avoid touching every
internal import; revisit if this needs to be fully rebranded.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
sysops
2026-07-10 18:34:44 +02:00
co-authored by Claude Sonnet 5
parent 6eeea65ede
commit 867dc7740a
79 changed files with 11951 additions and 2548 deletions
+382
View File
@@ -448,3 +448,385 @@ Keine Commits in dieser Session.
- systemd/wireguard-ui-multi.service | 22 ++
---
## 2026-07-10 17:31 17:31 (0m)
**Beschreibung:** Claude Code Session
**Projekt:** wireguard-ui-multi
### Commits
- 9a1d811 Add one-shot bootstrap installer script
### Geänderte Dateien
- DEVLOG.md | 360 +++++++++++++++++++++++++++++++++++++++++++++++++++
- scripts/bootstrap.sh | 71 ++++++++++
---
## 2026-07-10 17:31 17:31 (0m)
**Beschreibung:** Claude Code Session
**Projekt:** wireguard-ui-multi
### Commits
Keine Commits in dieser Session.
### Geänderte Dateien
- DEVLOG.md | 360 +++++++++++++++++++++++++++++++++++++++++++++++++++
- scripts/bootstrap.sh | 71 ++++++++++
---
## 2026-07-10 17:32 17:32 (0m)
**Beschreibung:** Claude Code Session
**Projekt:** wireguard-ui-multi
### Commits
Keine Commits in dieser Session.
### Geänderte Dateien
- DEVLOG.md | 360 +++++++++++++++++++++++++++++++++++++++++++++++++++
- scripts/bootstrap.sh | 71 ++++++++++
---
## 2026-07-10 17:32 17:32 (0m)
**Beschreibung:** Claude Code Session
**Projekt:** wireguard-ui-multi
### Commits
Keine Commits in dieser Session.
### Geänderte Dateien
- DEVLOG.md | 360 +++++++++++++++++++++++++++++++++++++++++++++++++++
- scripts/bootstrap.sh | 71 ++++++++++
---
## 2026-07-10 17:34 17:34 (0m)
**Beschreibung:** Claude Code Session
**Projekt:** wireguard-ui-multi
### Commits
Keine Commits in dieser Session.
### Geänderte Dateien
- DEVLOG.md | 360 +++++++++++++++++++++++++++++++++++++++++++++++++++
- scripts/bootstrap.sh | 71 ++++++++++
---
## 2026-07-10 17:35 17:35 (0m)
**Beschreibung:** Claude Code Session
**Projekt:** wireguard-ui-multi
### Commits
Keine Commits in dieser Session.
### Geänderte Dateien
- DEVLOG.md | 360 +++++++++++++++++++++++++++++++++++++++++++++++++++
- scripts/bootstrap.sh | 71 ++++++++++
---
## 2026-07-10 17:38 17:38 (0m)
**Beschreibung:** Claude Code Session
**Projekt:** wireguard-ui-multi
### Commits
Keine Commits in dieser Session.
### Geänderte Dateien
- DEVLOG.md | 360 +++++++++++++++++++++++++++++++++++++++++++++++++++
- scripts/bootstrap.sh | 71 ++++++++++
---
## 2026-07-10 17:40 17:40 (0m)
**Beschreibung:** Claude Code Session
**Projekt:** wireguard-ui-multi
### Commits
Keine Commits in dieser Session.
### Geänderte Dateien
- DEVLOG.md | 360 +++++++++++++++++++++++++++++++++++++++++++++++++++
- scripts/bootstrap.sh | 71 ++++++++++
---
## 2026-07-10 17:41 17:42 (0m)
**Beschreibung:** Claude Code Session
**Projekt:** wireguard-ui-multi
### Commits
- 18188f4 Move bootstrap installer to project root, document one-liner install
### Geänderte Dateien
- README.md | 25 +++++++++++++++++++++++--
- scripts/bootstrap.sh => bootstrap.sh | 0
---
## 2026-07-10 17:47 17:47 (0m)
**Beschreibung:** Claude Code Session
**Projekt:** wireguard-ui-multi
### Commits
Keine Commits in dieser Session.
### Geänderte Dateien
- README.md | 25 +++++++++++++++++++++++--
- scripts/bootstrap.sh => bootstrap.sh | 0
---
## 2026-07-10 17:48 17:48 (0m)
**Beschreibung:** Claude Code Session
**Projekt:** wireguard-ui-multi
### Commits
- 6e0e681 Fix bootstrap.sh: go not found on PATH after install
### Geänderte Dateien
- bootstrap.sh | 8 ++++++++
---
## 2026-07-10 17:50 17:51 (0m)
**Beschreibung:** Claude Code Session
**Projekt:** wireguard-ui-multi
### Commits
Keine Commits in dieser Session.
### Geänderte Dateien
- bootstrap.sh | 8 ++++++++
---
## 2026-07-10 17:52 17:52 (0m)
**Beschreibung:** Claude Code Session
**Projekt:** wireguard-ui-multi
### Commits
Keine Commits in dieser Session.
### Geänderte Dateien
- bootstrap.sh | 8 ++++++++
---
## 2026-07-10 17:53 17:53 (0m)
**Beschreibung:** Claude Code Session
**Projekt:** wireguard-ui-multi
### Commits
- f333623 Run go mod tidy before build in all installers
### Geänderte Dateien
- bootstrap.sh | 1 +
- scripts/install.sh | 1 +
- scripts/proxmox-install.sh | 1 +
---
## 2026-07-10 17:54 17:54 (0m)
**Beschreibung:** Claude Code Session
**Projekt:** wireguard-ui-multi
### Commits
Keine Commits in dieser Session.
### Geänderte Dateien
- bootstrap.sh | 1 +
- scripts/install.sh | 1 +
- scripts/proxmox-install.sh | 1 +
---
## 2026-07-10 17:55 17:55 (0m)
**Beschreibung:** Claude Code Session
**Projekt:** wireguard-ui-multi
### Commits
Keine Commits in dieser Session.
### Geänderte Dateien
- bootstrap.sh | 1 +
- scripts/install.sh | 1 +
- scripts/proxmox-install.sh | 1 +
---
## 2026-07-10 17:57 17:57 (0m)
**Beschreibung:** Claude Code Session
**Projekt:** wireguard-ui-multi
### Commits
Keine Commits in dieser Session.
### Geänderte Dateien
- bootstrap.sh | 1 +
- scripts/install.sh | 1 +
- scripts/proxmox-install.sh | 1 +
---
## 2026-07-10 17:58 17:59 (0m)
**Beschreibung:** Claude Code Session
**Projekt:** wireguard-ui-multi
### Commits
- b2b6b82 Add update.sh, persist Go on PATH via profile.d
### Geänderte Dateien
- README.md | 10 +++++++
- bootstrap.sh | 5 ++++
- scripts/install.sh | 8 ++++++
- update.sh | 76 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
---
## 2026-07-10 18:05 18:05 (0m)
**Beschreibung:** Claude Code Session
**Projekt:** wireguard-ui-multi
### Commits
Keine Commits in dieser Session.
### Geänderte Dateien
- README.md | 10 +++++++
- bootstrap.sh | 5 ++++
- scripts/install.sh | 8 ++++++
- update.sh | 76 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
---
## 2026-07-10 18:07 18:07 (0m)
**Beschreibung:** Claude Code Session
**Projekt:** wireguard-ui-multi
### Commits
Keine Commits in dieser Session.
### Geänderte Dateien
- README.md | 10 ++++++++++
- bootstrap.sh | 5 +++++
- scripts/install.sh | 8 ++++++++
- update.sh | 76 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
---
## 2026-07-10 18:07 18:08 (0m)
**Beschreibung:** Claude Code Session
**Projekt:** wireguard-ui-multi
### Commits
Keine Commits in dieser Session.
### Geänderte Dateien
- README.md | 10 ++++++++++
- bootstrap.sh | 5 +++++
- scripts/install.sh | 8 ++++++++
- update.sh | 76 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
---
## 2026-07-10 18:09 18:09 (0m)
**Beschreibung:** Claude Code Session
**Projekt:** wireguard-ui-multi
### Commits
Keine Commits in dieser Session.
### Geänderte Dateien
- README.md | 10 ++++++++++
- bootstrap.sh | 5 +++++
- scripts/install.sh | 8 ++++++++
- update.sh | 76 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
---
## 2026-07-10 18:11 18:11 (0m)
**Beschreibung:** Claude Code Session
**Projekt:** wireguard-ui-multi
### Commits
Keine Commits in dieser Session.
### Geänderte Dateien
- README.md | 10 ++++++++++
- bootstrap.sh | 5 +++++
- scripts/install.sh | 8 ++++++++
- update.sh | 76 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
---
## 2026-07-10 18:14 18:14 (0m)
**Beschreibung:** Claude Code Session
**Projekt:** wireguard-ui-multi
### Commits
Keine Commits in dieser Session.
### Geänderte Dateien
- README.md | 10 ++++++++++
- bootstrap.sh | 5 +++++
- scripts/install.sh | 8 ++++++++
- update.sh | 76 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
---
## 2026-07-10 18:14 18:14 (0m)
**Beschreibung:** Claude Code Session
**Projekt:** wireguard-ui-multi
### Commits
Keine Commits in dieser Session.
### Geänderte Dateien
- README.md | 10 ++++++++++
- bootstrap.sh | 5 +++++
- scripts/install.sh | 8 ++++++++
- update.sh | 76 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
---
## 2026-07-10 18:16 18:16 (0m)
**Beschreibung:** Claude Code Session
**Projekt:** wireguard-ui-multi
### Commits
Keine Commits in dieser Session.
### Geänderte Dateien
- README.md | 10 ++++++++++
- bootstrap.sh | 5 +++++
- scripts/install.sh | 8 ++++++++
- update.sh | 76 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
---
## 2026-07-10 18:16 18:18 (2m)
**Beschreibung:** Claude Code Session
**Projekt:** wireguard-ui-multi
### Commits
- 41894e6 Fix 404s: serve UI templates/static from configurable ui-root, not CWD
### Geänderte Dateien
- README.md | 15 +++++++++++++++
- bootstrap.sh | 71 ++++++++++++++++++++++++++++++++++++++++++++++-------------------------
- cmd/wireguard-ui-multi/main.go | 7 ++++---
- internal/api/router.go | 15 +++++++++++++--
- internal/api/ui_handlers.go | 8 +++-----
- scripts/install.sh | 9 ++++++++-
- scripts/proxmox-install.sh | 2 +-
- update.sh | 2 +-
---
## 2026-07-10 18:22 18:23 (0m)
**Beschreibung:** Claude Code Session
**Projekt:** wireguard-ui-multi
### Commits
- 6eeea65 Fix "Text file busy" on reinstall while service is running
### Geänderte Dateien
- scripts/install.sh | 5 +++--
---
## 2026-07-10 18:27 18:27 (0m)
**Beschreibung:** Claude Code Session
**Projekt:** wireguard-ui-multi
### Commits
Keine Commits in dieser Session.
### Geänderte Dateien
- scripts/install.sh | 5 +++--
---
## 2026-07-10 18:30 18:31 (0m)
**Beschreibung:** Claude Code Session
**Projekt:** wireguard-ui-multi
### Commits
Keine Commits in dieser Session.
### Geänderte Dateien
- scripts/install.sh | 5 +++--
---