SalesCompel

SalesCompel

Open source Salesforce replacement

Description

Salesforce pricing climbs every renewal, and leaving is hard because every script, integration and SOQL query is wired to its API. SalesCompel takes a clean-room route: an Apache-2.0 CRM built to be Salesforce API compatible, self-hosted on Go and PostgreSQL, so existing clients can point at it with as few changes as possible.

The bar is real tools working unmodified. Stock sf data query, JSforce autoFetch over 4,500 rows and simple-salesforce query_all already pass its acceptance runs. It is early, pre-0.x work: Apex, Flow and custom UI (LWC, Aura, Visualforce) are not supported yet, so heavily customized orgs can't move today. New teams and simple orgs are the intended first users.

Features



SOQL engine: typed string, number, date and boolean filters, parent paths up to five levels, one-level child subqueries, COUNT, SUM, AVG, GROUP BY, HAVING, date functions, multi-key ORDER BY and server-side paging via nextRecordsUrl.

Composite and sObject Collections: run ordered subrequests in one transaction, optionally all-or-none, and chain results with @{ref.path} references.

OAuth login: authorization code with PKCE, refresh tokens, JWT bearer and client credentials, so existing integrations keep their auth flow.

Dynamic objects and fields: create objects and fields at runtime with number, currency, percent, date, checkbox, picklist, lookup, master-detail and auto-number types.

Tenant isolation: PostgreSQL row-level security per tenant, explicit forward-only migrations, and separate record and identity credentials that refuse owner privileges.

Vue UI prototype: browse Account and Contact lists, details and edit flows with light and dark themes, localization and RTL support; unbuilt areas are marked Planned.