Calagobot — Made by Caloptreyx — is a TypeScript Discord bot for managing Calagopus panels using native Discord Components V2 & Modal V2, Takumi server-side JSX+SVG rendered PNG telemetry cards, Wings WebSocket live consoles, a dual-dialect Drizzle database (SQLite + PostgreSQL), multi-layer Discord & Panel OAuth ACLs, and 37 languages (all 36 Calagopus Crowdin locales + Hinglish hi-Latn).
- Zero-API-Key Browser Login: Uses Calagopus's official Third-Party Key Requests (
/account/api-keys/create&/update) consent redirect so users authenticate in 1 click without copying or pasting API keys. - Built-in OIDC Provider & Panel OAuth ACL: Exposes
/.well-known/openid-configuration+/oauth/*with Discord role claims, plus/admin oauth-setupand/acl mapping-*to auto-provision OAuth providers and role/subuser mappings on Calagopus. - Discord Components V2 & Modal V2:
Container,Section,MediaGallery,File,Separator,Label,RadioGroup,Checkbox,CheckboxGroup, andFileUpload(discord.js14.28+). - Rendered PNG Telemetry Cards: Server Dashboard, Resource History, Server Fleet List, True-Color Console Snapshot, Node Fleet Monitor, Disk & Trash Breakdown, and Account Profile cards rendered offline via
@takumi-rs/corewith bundled multilingual fonts (including Arabic RTL & Thai). - Live Wings WebSocket Console: Coalesced 1.75s V2 streaming, in-band JWT refresh on
token expiring/token expired, Modal V2 command execution, Command Snippets, HD PNG snapshots, and optional Private Thread direct-typing mode. - 37 Locales: English, Hinglish (
hi-Latn), and all 35 target languages fromcrowdin.com/project/calagopus.
cp .env.example .env
# Fill DISCORD_TOKEN, DISCORD_CLIENT_ID, ENCRYPTION_KEY, PUBLIC_BASE_URL, DEFAULT_PANEL_URL
npm install
npm run deploy-commands
npm run devnpm run typecheck
npm test
npm run render:previewMIT License (MIT) — Copyright (c) 2026 Caloptreyx. See LICENSE.