An open-source help desk and support ticketing system for small support teams of 2 to 20 agents, built with Next.js 16, TypeScript and PostgreSQL. It includes a shared inbox with saved views and keyboard shortcuts, tickets with internal notes, canned replies, merging and SLA timers, a public help centre with a knowledge base and customer portal, and reports.
by Light CloudHelpdesk and support


Ticket logic lives in src/lib/helpdesk/ (tickets, SLA, knowledge base, portal and reports) rather than in pages, and every server action checks the owner, admin or agent role and validates input with zod. Portal links are random tokens stored only as a SHA-256 hash, so a customer follows a request without a password and a leaked database does not leak working links. The first things to set are the help desk name, contact details, support hours and SLA targets under Settings > Help desk, which also feed the structured data and /llms.txt. npm start applies the migrations under a PostgreSQL advisory lock and the demo help desk is seeded once on first start; on Light Cloud each push to your copy redeploys.
Yes. This help desk is MIT licensed and built with Next.js 16, PostgreSQL, Drizzle ORM and Better Auth. It runs with no third-party keys and starts with a demo help desk you remove under Settings > Help desk.
No, not out of the box. Customers write through the help centre form or reply through their private link, and agents log phone and email requests with New ticket. To take email in, point an inbound email webhook at a route that calls createTicket and addCustomerReply in src/lib/helpdesk/tickets.ts.
In calendar time from when the ticket came in, against first reply and resolution targets per priority. Changing the priority re-times the ticket, and pending tickets show Waiting on customer instead of a clock. For business hours, change slaClock in src/lib/helpdesk/sla.ts.
Each request gets a private link, shown after the form is sent and emailed when Resend is set up, and links last 7 days. A customer's reply reopens the ticket.
Yes. It is a standard Next.js app with no Light Cloud code: any host with Node.js 22.12 and PostgreSQL runs it with npm ci && npm run build and npm start, once DATABASE_URL and AUTH_SECRET are set.