A web panel and companion app for Blue Protocol: Star Resonance to view mob uptimes and track them in real-time.
git clone https://github.com/woheedev/bptimer.git
cd bptimer
bun installSet up environment variables for web panel:
cp ./apps/web/.env.example ./apps/web/.envFill in ./apps/web/.env:
PB_ADMIN_EMAILandPB_ADMIN_PASSWORDfor the PocketBase admin (password must be 8+ characters)PUBLIC_POCKETBASE_BASE_URL=http://localhost:8090PB_OAUTH2_DISCORD_CLIENT_IDandPB_OAUTH2_DISCORD_CLIENT_SECRETfrom Discord Developer Portal- Add
http://localhost:8090/api/oauth2-redirectas a redirect URL
- Add
Start everything:
bun run devThis starts both the PocketBase backend (via Docker) and the vite dev server.
Open http://localhost:5173 and log in via Discord.
| App | Description |
|---|---|
apps/web |
SvelteKit web app (currently deployed to Cloudflare) |
apps/pocketbase |
PocketBase backend with custom Go hooks (deployed behind a Cloudflare Tunnel) |
apps/desktop |
Native overlay companion app for mob / dps tracking (Rust/egui) |
| Package | Description |
|---|---|
packages/bptimer-api-client |
API client for submitting boss HP data (npm) |
For production deployments:
- Web: Deploy to Cloudflare (or any platform that can host a static SvelteKit app). Set
PUBLIC_POCKETBASE_BASE_URLto your production PocketBase URL. - PocketBase: Run via Docker on any VPS. Configure SMTP for emails and update Discord OAuth redirect URL. Can also run binary directly ideally using Systemd service.