Repository navigation
Phase 1: Go Core
Bridge-4 Phase 1 — Go Core Engine
The foundational server library. Runs standalone as a CLI or embeds into any Go host (Wails desktop, gomobile Android).
What's included
- WebDAV server — \golang.org/x/net/webdav, full CRUD + streaming, Windows Explorer-compatible LOCK/UNLOCK
- mDNS discovery — auto-advertise and scan via _bridge4._tcp\ (no manual IP entry needed)
- HMAC-SHA256 auth — time-windowed tokens work as both Bearer headers and Basic Auth passwords
- CLI harness — \cmd/bridge4/\ for direct use and testing
Quick start
\
git clone https://github.com/XyrusCode/Bridge-4
cd Bridge-4
go run ./cmd/bridge4 -dir ~/Documents -name MyPC
→ WebDAV at http://localhost:8765/dav/
\\
Verified on
- Windows 11 (go1.26.4 windows/amd64)
- WebDAV mount in Windows Explorer ✓
- HTTP 207 Multi-Status PROPFIND ✓
- mDNS service registration ✓