Zelo

Zelo

Open source multi-tenant SaaS foundation

Description

Building a B2B SaaS means laying the same groundwork before any real feature ships: sign-in, tenant isolation, org permissions, subscription terms, an admin shell, email, SMS and payments. Then you do it all again for the next product.

Zelo packages that groundwork as an open source base. Accounts, multi-tenancy, organization RBAC, subscriptions, a shared admin console and encrypted integrations are already there, and your product plugs in as pluggable Core business packages, each with its own tables, migrations and admin pages. The base starts and builds on its own with zero Cores installed.

It is built with TypeScript, NestJS, React 19 and Prisma under the MIT license. The repo ships an example ticketing Core, and a rental Core is maintained separately as a fuller reference for building CRM, TMS and other vertical systems.

Features



Multi-tenancy and access control: Two-tier platform and tenant accounts, JWT refresh and revocation, forced password change on first login, login rate limiting, plus organizations and RBAC permission trees.

Shared admin console: One sidebar, breadcrumb, light/dark theme and Chinese/English switch for everything; a Core only declares its routes and page bodies to appear inside the same shell.

Independent Core upgrades: Each Core declares its manifest, permissions, routes and SQL migrations through a common contract. The package console discovers releases and verifies their SHA-256, so the base and every Core upgrade or roll back separately.

Ready-made integrations: SMTP, Stripe, S3/OSS/COS storage and SMS connectors work out of the box, with credentials encrypted using AES-GCM.

Optional AI layer: AI is off by default and business flows never depend on it. Turned on, it adds task orchestration, a single model gateway, a budget ledger, human approval steps and an OAuth-protected MCP endpoint.

One-command base export: Run export:platform to get a clean copy of the base source with no industry-specific code in it.