How Cal.com built scheduling in the open, then closed it
Cal.com is a scheduling platform and API that companies use to let people book time with them. For five years its code was public: a TypeScript monorepo with Next.js, tRPC, Prisma and Postgres, plus a NestJS API, until it moved production to a private repository in 2026.
Since 2024, Cal.com runs millions of background tasks a month on Trigger.dev: everything that happens after a booking, calendar syncs, and phishing and fraud checks.
A Cal.com engineer said developer experience was the deciding factor: clean docs, an easy dashboard and a simple fit with their Prisma monorepo, with production workflows live within days.
In April 2026, Cal.com moved its production codebase to a private repository. The company argued that AI tools now make it cheap to scan public code for vulnerabilities, putting customer data at risk.
The public repo became Cal.diy, an MIT-licensed community edition without the enterprise features. Cal.com says production has since diverged, with major rewrites of systems like authentication and data handling, so the stack below reflects the open code and may differ from what runs today.