A fast, minimal download manager built with Wails + Svelte + Go.
wails dev
Opens the app with hot-reload for frontend changes.
wails build
Produces build/bin/Surge.app (macOS).
surge-wails/
├── app.go # Backend: download API, SSE, autostart, icon mode
├── main.go # Wails app entry point & config
├── icon_mode_darwin.go # macOS native: dock ↔ menu bar switching
├── icon_mode_stub.go # Non-macOS stub
├── frontend/
│ ├── src/
│ │ ├── App.svelte # Main UI component
│ │ ├── style.css # Global styles
│ │ └── main.ts # Svelte entry
│ └── wailsjs/ # Auto-generated Go bindings
├── build/
│ ├── appicon.png # App icon source
│ └── darwin/ # macOS plist templates
└── wails.json # Wails project config
surge server)MIT