The Admin Web UI mirrors key management surfaces in a browser, so trusted admins can check in when the Mac running SwiftBot is elsewhere. Start local, then publish it only when you need remote access.
Access modes
| Mode | Reachable from | Supported |
|---|---|---|
| Local-only | The Mac running SwiftBot, at localhost | Yes, default |
| Cloudflare Tunnel | Anywhere over HTTPS | Yes, recommended |
| Custom reverse proxy | Wherever your proxy is reachable | Yes, with Override Public Base URL |
| Router port forwarding | Public internet directly to SwiftBot | No |
Local-only access
-
Open Web UI settings:
Go to Settings > Web UI.
-
Enable the Admin Web UI:
Turn on Admin Web UI.
-
Open it in a browser:
Visit
http://localhost:8090, or the port shown under Advanced.
Cloudflare Tunnel setup
-
Add your domain to Cloudflare:
Confirm the zone is active in your Cloudflare account.
-
Create a scoped API token:
Grant tunnel edit, DNS edit, zone read, and user read permissions.
-
Open Internet Access:
In SwiftBot, go to Settings > Web UI > Internet Access.
-
Verify and enable:
Paste the token, verify it, choose a subdomain, then enable Internet Access.
-
Update Discord OAuth:
Add
https://your-bot.example.com/auth/discord/callbackto your Discord OAuth redirects.
Avoid router port forwarding to SwiftBot's local port. The local server is plain HTTP and expects a TLS-terminating tunnel or proxy for public access.
Custom reverse proxy
Forward your proxy to http://localhost:8090, terminate TLS at the proxy, then set Settings > Web UI > Advanced > Override Public Base URL to the public URL.