All work

Fairer onboarding, and a support platform beyond Discord channels

Xlantis

Jithin Roy's community platform replaces a race for whitelist interviews with a visible queue. Its largest ongoing initiative is a dedicated ticket system for a community of roughly 33,000 members, with a web desk and Electron app already built.

Visit live siteSource is private
Xlantis: Fairer onboarding, and a support platform beyond Discord channels
Role
Jithin Roy: project concept, product planning, architecture, full-stack implementation, and deployment setup
Timeline
2026
Status
Whitelist workflow implemented; ticket system in development

Xlantis had outgrown the way its community workflows were organized inside Discord. Whitelist applicants could wait months, then miss their chance because they were not present during the short window when the interview voice channel opened. Pending-clearance roles could also be delayed, and bot crashes could freeze the workflow. I wanted an applicant's place in the process to matter more than their ability to catch an opening.

Support is the bigger, ongoing challenge. Our community has roughly 33,000 members and uses three Discord servers just for tickets. A dedicated ticket system needs to remove the channel-capacity constraint while preserving the things staff value: organized conversations, flexible access, media, mentions, and convenient clients. I have built the web desk and Electron app; the wider support system is still in development.

Xlantis brings those workflows into a pnpm and Turborepo workspace. The public website, staff panel, ticket desk, and player support app have separate entry points, while a shared backend owns the data and access decisions. The useful boundary is the audience: the player and the reviewer can follow the same process without receiving the same information.

I conceived and planned Xlantis as an entire self-sustaining setup, then built the platform across the public experience, staff tools, backend, data flows, and deployment configuration. The aim was to turn recurring community work into connected workflows: players can see where they stand, staff can act from the right panel, and routine synchronization and recovery happen in the background.

That operating model is visible in the details. A saved question bank can take over when AI generation fails. Periodic Discord reconciliation repairs team changes missed by event delivery. Creator status is checked in the background, and changed rules can refresh their embeddings automatically. Self-sustaining means fewer routine interventions, with staff still responsible for decisions and exceptions.

Community members, owner-reported
~33kCommunity members, owner-reported
Discord servers used for tickets
3Discord servers used for tickets
Next.js frontends
4Next.js frontends
Desktop app built; ticket work ongoing
ElectronDesktop app built; ticket work ongoing

The system

What it is made of

AppRoleStack
WebsiteRules, applications, passport status, and creator pagesNext.js 16, React 19, TypeScript
Staff panelApplication review and interview operationsNext.js, shared UI and auth packages
Ticket deskWeb desk built; broader support workflows in developmentNext.js, Socket.IO client
Electron appBuilt desktop shell for the ticket web appElectron, preload bridge, native window and tray controls
Player supportPlayer-facing ticket foundation in developmentNext.js, shared server proxy
BackendIdentity, permissions, persistence, and live eventsExpress 5, MariaDB, Socket.IO

Largest ongoing initiative

Replace the ticket channel model without losing the support experience

Using three Discord servers for tickets was a workaround for platform constraints, not the support experience I wanted to build. The scale figures describe the existing community and its Discord setup; they are not a claim that the new application already handles 33,000 active users or a measured ticket volume.

Discord gave staff a lot for free: categories, movable and renameable channels, media sharing, mentions, additional participants, role-based access, and familiar web, desktop, and mobile clients. Replicating that usefulness is a much larger job than building a message box. My plan is a dedicated support product whose records and workflow are owned by Xlantis, while preserving or improving the flexibility agents rely on.

The foundations already include persisted tickets and messages, categories and subcategories, ticket status, tags, internal notes, creator access, staff category checks, and Socket.IO delivery. Some finer-grained permission UI is still a prototype rather than a completed backend workflow. The product is under active development, not a finished replacement for every Discord capability.

Built: web and Electron

The ticket web app runs independently. The Electron shell loads it and supplies window controls through a preload bridge, plus tray behavior and hide-on-close.

In development: support parity

Complete the agent workflows around conversation organization, media, mentions, participants, and per-ticket access. Existing UI shapes are not treated as proof that every action is connected end to end.

Possible: native Windows

I may explore WPF or WinUI 3 as another desktop direction. Neither is presented as an implemented client or a decided migration.

Possible: Android and iOS

Expo-based mobile apps are a future option, with the aim of letting agents support players comfortably across devices. No mobile release is claimed.

Product ownership

Plan the operation, then build the interfaces

The website, staff panel, ticket desk, and player support app are parts of one community operation. I designed them around who needs to act next, which information that person needs, and what the system should do without waiting for a developer. Discord identity connects those surfaces to the community's existing membership and roles.

The November 1 production commit changed 685 files. The next four commits, through November 3, developed deployment configuration, creator eligibility, interview and passport workflows, dashboard behavior, and mobile interactions. That is a record of the breadth of the delivery work, rather than a claim that the entire project began and ended in those two days.

Continuity during AI failures

The interview service can fill missing questions from a saved bank, pause AI attempts for ten minutes, and notify the operator when it switches modes and recovers.

Repair after missed events

Background Discord reconciliation refreshes the team projection and backfills missing profile media, complementing bot-driven updates.

Freshness without page-triggered work

Creator live status is polled in the background. Rules embedding synchronization compares content hashes and re-embeds changed rules when configured.

Visible deployment recovery

The migration runner records progress, coordinates through a database lock, retries failures with backoff, and exposes migration state through health output.

Player onboarding

A queue replaces the race to join a voice channel

The old workflow had no dependable application priority. A player who joined the voice channel during its brief opening got a chance; somebody who missed that window could keep waiting. Discord form constraints and bot maintenance made the process harder to evolve. The new system records the application independently, gives pending applicants a position ordered by submission time, and exposes the work to staff in a queue.

The workflow covers scheduling, confirmation, interview progress, and an explicit outcome. A no-show receives a 48-hour cooldown; a failed interview receives 24 hours. After the cooldown, a player can resubmit with a new submission time and re-enter the queue. Staff can clear an eligible cooldown when an exception is needed. This gives absence a defined outcome and another chance, rather than leaving an application indefinitely unresolved.

Pending-clearance, visitor, and passport roles have explicit synchronization paths tied to workflow transitions. The website remains integrated with Discord identity and role APIs, but an application is now a stored workflow rather than a voice-channel opportunity. The aim is to prevent applications from being overlooked; there is no measured maximum waiting-time claim or automatic guarantee that staff always process in FIFO order.

The rules interview service defines ten questions across easy, medium, and hard categories. Questions mix direct recall with scenarios; scoring uses difficulty weights rather than treating every answer as equivalent. The current configuration allows 150 seconds per question and a weighted pass threshold of 13 out of 18. These are implementation settings, not measured completion or acceptance rates.

Question generation uses the rulebook and can draw on related rules from a separate PostgreSQL vector store. Generated questions can seed a persistent bank; when AI is unavailable, that bank provides a recovery path for interviews. MariaDB remains the primary application database, with vector search available as a separately configured integration.

Real-time support

Share progress without sharing private notes

Ticket access is resolved against the creator and staff category permissions before a socket joins a room. An eligible player can receive the conversation, while eligible staff can also enter a separate room for internal notes. Interview progress and staff answer bundles use the same separation of audiences.

A public live-creator feed also uses Socket.IO, so an anonymous connection is allowed. Private room membership is checked separately. That distinction matters: a connected socket is a transport, not proof that its visitor can read a ticket.

Public creator presence, player conversations, and internal staff notes use the same transport with different subscription and delivery rules.

Architecture

Separate apps with shared server plumbing

The shared server package provides backend proxying, Discord authentication routes, and redirect handling. The proxy forwards selected request headers and preserves the visitor context needed by backend workflows. It rejects unsafe path segments and masks infrastructure details in matching server-error responses.

Shared UI, utility, and type packages reduce duplication across the panels. The backend uses the mysql2 driver for MariaDB-compatible persistence, while Redis-compatible services support session and cache behavior. I also built an Electron wrapper around the ticket panel, outside the workspace package list.

Media

Image replacement gets a new address

The storage module uses an S3-compatible client and Sharp to prepare public profile images. Avatars are sized to 256 pixels square; banners fit inside 960 by 540 pixels without enlargement. Public uploads carry a one-year immutable cache policy, so replacement images receive fresh object keys instead of overwriting the old URL.

Private objects have a separate bucket path and a signed-read helper with a default lifetime of five minutes. Bucket policies are provisioned outside the application. Neither a random filename nor the absence of a public listing makes a public image private.

Delivery

Build each service from the workspace root

Each app has its own Nixpacks configuration, with the repository root as the build context so shared packages and the root lockfile remain available. Deployment guidance maps each app to a separate service. A Docker path also exists, using Turborepo pruning to select an app and its dependencies.

The operational work includes automated migration attempts, delayed retries, background synchronization, and graceful process shutdown. These mechanisms make routine recovery part of the application rather than a set of steps somebody must remember after each deployment. Migration state remains explicit because a running process and a fully updated schema are different conditions.

Hard parts

What actually took the time

An interview opportunity depended on timing

Problem
Players could wait months and still miss the short voice-channel opening; application priority and clearance-role handling were difficult to maintain.
Approach
Build a visible pending queue, scheduled interviews, explicit outcomes, cooldowns, resubmission, and role synchronization.
Outcome
Applicants have a durable place in the process and a defined retry path, with queue position visible to players and staff.

A ticket platform has to replace more than channels

Problem
A community of roughly 33,000 members uses three Discord servers for tickets, while agents rely on Discord's flexible collaboration and clients.
Approach
Build a dedicated backend, web desk, player support surface, and Electron app; continue developing the richer collaboration workflow.
Outcome
The foundations and desktop shell are built. The broader ticket system remains in development, with native Windows and Expo mobile clients only under consideration.

One process, different audiences

Problem
Players and staff follow the same support and interview workflows, but staff payloads contain private material.
Approach
Resolve room access on the backend and emit notes and answer bundles to separate staff rooms.
Outcome
The code has distinct delivery paths for public progress and staff-only payloads.

Shared code across independent services

Problem
Building only an app directory would omit workspace dependencies and the root lockfile.
Approach
Configure per-app Nixpacks builds from the monorepo root.
Outcome
Each service has an explicit build configuration while retaining shared packages.

Long cache lifetimes and editable profiles

Problem
Overwriting an image at an immutable URL can leave browsers showing the old image.
Approach
Transform uploads and generate a fresh object key for replacements.
Outcome
Updated profile records can refer to a new cache address without relying on query-string invalidation.

Stack

Everything it runs on

Frontend

  • Next.js 16
  • React 19
  • TypeScript
  • Tailwind CSS
  • Radix UI
  • Three.js

Backend

  • Node.js
  • Express 5
  • Socket.IO
  • Discord OAuth

Data and media

  • MariaDB / mysql2
  • Redis-compatible services
  • Optional PostgreSQL vector search
  • S3-compatible storage
  • Sharp

Desktop

  • Electron
  • electron-builder

Workspace and delivery

  • pnpm
  • Turborepo
  • Nixpacks
  • Docker