Alle projekterAll projects

WebWeb20262026

RooTicketRooTicket

Discord ticket-bot med web-dashboard - de features konkurrenterne tager betaling for, med betalte tiers til power users.Discord ticket bot with a web dashboard - the features competitors charge for, with paid tiers for power users.

NøglepunkterHighlights

  • pnpm-monorepo: discord.js v14-bot og Next.js 16-dashboard deler én Prisma-pakkepnpm monorepo: a discord.js v14 bot and a Next.js 16 dashboard share one Prisma package
  • PostgreSQL 16 via Prisma - 20 modeller og 20 migrationer for guilds, subjects, tickets og auditPostgreSQL 16 via Prisma - 20 models and 20 migrations for guilds, subjects, tickets and audit
  • Ticket-livscyklus med tilladelses-matrix pr. subject, claim, claim-exclusive permissions og auto-closeTicket lifecycle with a per-subject permission matrix, claim, claim-exclusive permissions and auto-close
  • Forms og modals med validering, leveret direkte i ticket-kanalenForms and modals with validation, delivered straight into the ticket channel
  • Vedhæftninger spejles til S3 pr. guild med signed proxy-URL, retention-sweeper og kvoterAttachments mirrored to S3 per guild with signed proxy URLs, a retention sweeper and quotas
  • Dashboard på React 19 + Mantine 8 med transcripts, insights, audit-tabel og subject-editorDashboard on React 19 + Mantine 8 with transcripts, insights, an audit table and a subject editor

RooTicket er en Discord ticket-bot med tilhørende web-dashboard - de features konkurrenterne låser bag betaling, med betalte tiers til power users. Kodet som pnpm-monorepo med en discord.js v14-bot og et Next.js 16-dashboard (React 19 + Mantine 8), der deler én Prisma-pakke oven på PostgreSQL 16 og Redis 7.

Botten dækker den fulde ticket-livscyklus (open, claim, close, rename) med tilladelses-matrix pr. subject, claim-exclusive permissions, forms og modals med validering, audit log, close-scheduler på inaktivitet og en backfill der genopbygger oversprungne beskeder ved start. Vedhæftninger spejles til S3-kompatibel storage pr. guild med signed proxy-URL, retention-sweeper og kvoter, og en guild kan køre sin egen bot-token gennem en worker pool. Dashboardet dækker transcripts med Discord-flavoured markdown, insights med heatmap og svartid, audit-tabel, subject-editor med tilladelser, meldinger og logging samt whitelabel og Paddle-billing. UI’et findes på dansk, engelsk og norsk.

Drift og release er også bygget ind: GitHub Actions kører typecheck, lint, build og Vitest, og en grøn main auto-deployer til en VPS bag Caddy, hvor prod-secrets ligger SOPS/age-krypteret i repoet. Koden er proprietær og repoet er privat.

RooTicket is a Discord ticket bot with a companion web dashboard - the features competitors lock behind a paywall, with paid tiers for power users. Written as a pnpm monorepo with a discord.js v14 bot and a Next.js 16 dashboard (React 19 + Mantine 8) that share one Prisma package on top of PostgreSQL 16 and Redis 7.

The bot covers the full ticket lifecycle (open, claim, close, rename) with a per-subject permission matrix, claim-exclusive permissions, forms and modals with validation, an audit log, a close scheduler for inactivity and a backfill that rebuilds skipped messages on startup. Attachments are mirrored to S3-compatible storage per guild with signed proxy URLs, a retention sweeper and quotas, and a guild can run its own bot token through a worker pool. The dashboard covers transcripts with Discord-flavoured markdown, insights with a heatmap and response times, an audit table, a subject editor with permissions, messages and logging, plus white-labelling and Paddle billing. The UI is available in Danish, English and Norwegian.

Operations and releases are built in too: GitHub Actions runs typecheck, lint, build and Vitest, and a green main auto-deploys to a VPS behind Caddy, where production secrets live SOPS/age-encrypted in the repo. The code is proprietary and the repo is private.