An open-source CRM you can read, run and change.
Revenue Engine is a complete sales CRM published under the MIT license. Use the hosted version for free, or run the same code on your own servers.
A full sales CRM, in the open.
Revenue Engine is a focused tool for running a sales pipeline. It does a small number of things thoroughly, and all of it is on GitHub.
- Pipelines and deals. A drag-and-drop board, several pipelines, win probabilities, required fields per stage, won and lost reasons, merge, archive and restore.
- People and organizations. Linked to deals, with activities, rich-text notes, @mentions and file attachments.
- Automation. Assignment rules, and automations that create activities and deals, call webhooks, send Slack messages and notify people.
- Insights. Dashboards built from eight chart types over your deals and activities.
- Search and import. Global search, phone numbers included, and a guided CSV import that recognizes Pipedrive exports.
- Workspaces. Self-serve sign-up, admin and member roles, teams, and a history of every change.
- English and Arabic, with a right-to-left layout.
MIT, with no paid edition.
The whole application is released under the MIT License: the API, the web app, the database schema and the migrations. You may use it commercially, modify it, and host it for other people.
There is one codebase. It has no enterprise edition and no features held back behind a license key.
The Sirdab name and logos are trademarks and are not covered by the MIT License. If you distribute a fork or host it for others, use your own name and marks. See TRADEMARKS.md.
Built from proven parts.
| Layer | What it is |
|---|---|
| Language | TypeScript, end to end |
| Server | Node.js 24 with Express 5 |
| Database | PostgreSQL 13+ with Drizzle ORM and committed SQL migrations |
| Web app | React 19, Vite and Tailwind CSS on the Sirdab One design system |
| API contract | OpenAPI, with generated validation schemas and React Query hooks |
| Packaging | One Docker image that serves the API and the web app |
The repository is a pnpm workspace. Shared libraries hold the database schema, the API contract and the deal filter language that the server and the browser both use.
Workspaces are separated by the database.
Revenue Engine is multi-tenant: one deployment serves many workspaces. Each row carries the ID of the workspace it belongs to, and PostgreSQL row-level security filters every query to the workspace of the person signed in.
The policy is forced, so it applies even to the database role that owns the tables. A query that forgets its filter still returns nothing from another workspace, because the database never offers those rows.
Passwords are hashed with scrypt. Sessions are signed cookies, and changing a password ends every session issued before it. Sign-in, sign-up and password-reset requests are rate limited.
Built in the open.
Development happens on GitHub. Bug reports, fixes, translations and features are welcome: CONTRIBUTING.md explains how to set up, and SECURITY.md explains how to report a vulnerability privately.
git clone https://github.com/sirdab/revenue-engine.git
cd revenue-engine
pnpm install
cp .env.example .env # then set SESSION_SECRET
pnpm db:setup # Postgres, storage and mail in Docker, plus demo data
pnpm dev # http://localhost:3210
You need Node 24, pnpm 10 and Docker.
Open-source questions.
Is it free for commercial use?
Yes. The MIT License permits commercial use, modification and redistribution.
Do I have to host it myself?
No. You can use the hosted version for free, host it yourself, or do both.
How do I report a security problem?
Privately, through the repository's Security tab on GitHub, as described in SECURITY.md. Please do not open a public issue.
Put your pipeline to work.
Create a workspace in under a minute. Bring the team in when you are ready.