A free, open-source CRM for small B2B sales teams of 3 to 15 people, built with Next.js 16, TypeScript and PostgreSQL. It includes companies, contacts and deals on a drag-and-drop pipeline, a timeline of calls, emails, meetings and notes, tasks with a Today view, win and loss reasons, reports and CSV import and export.
by Light CloudCRM


The CRM sits on the sign-in, teams, admin panel and Stripe billing of the Next.js SaaS starter. Every CRM change goes through a server action in src/app/(app)/crm-actions.ts that checks the role, then through src/lib/crm/records.ts, which validates with zod and scopes each row to the active workspace. The first things to change are the stages and win and loss reasons in src/lib/crm/constants.ts and the currency and locale (GBP and en-GB) in src/lib/format.ts. npm start applies the SQL migrations under a PostgreSQL advisory lock and seeds the demo workspace once, marking every seeded row so Remove demo data deletes only those. On Light Cloud the deploy sets DATABASE_URL and a random AUTH_SECRET, and each push to your copy redeploys.
Yes. This CRM is MIT licensed and built with Next.js 16, PostgreSQL and Drizzle ORM. Without Stripe keys every feature is on and there is no seat limit.
Save the sheet as CSV and use Contacts, Import CSV as an owner or admin. It recognises the usual Excel, Outlook, Google Contacts and HubSpot column names, creates companies by name and skips emails that are already in the CRM.
Edit STAGES, OPEN_STAGES and STAGE_LABELS in src/lib/crm/constants.ts. The board, the list view, the reports and the deal form all read from there, and Won and Lost are the two closing stages.
Yes. Change CURRENCY and LOCALE at the top of src/lib/format.ts, and set TZ for the time zone that Today and due dates use.
Yes. It has no Light Cloud code: any host with Node.js 22.12 and PostgreSQL runs it once DATABASE_URL and AUTH_SECRET are set, with npm ci && npm run build and then npm start.