Build your product.
We handle the rest.
Herald ships a complete multi-tenant platform — auth, billing, payments, user management — so small teams skip infrastructure entirely. AI-assisted customization means you tailor it to your needs without touching boilerplate.
$ git clone https://github.com/timzaak/herald.git
$ cd herald
$ uv run scripts/dev-start.py
→ Starting PostgreSQL + Redis ...
✓ Database migrated
✓ Multi-tenant auth (RBAC, OAuth, TOTP)
✓ Subscription billing (Stripe, WeChat Pay)
✓ Admin console @ http://localhost:3000
→ Your auth & billing infrastructure is ready. Focus on your product.
Everything except your core product
Auth, billing, payments, user management — the stuff every SaaS needs but nobody wants to build. It's all here, AI-customizable, ready to deploy.
Multi-Tenant Auth
Organize users into isolated Realms with full data separation. Each Realm gets its own users, roles, OAuth providers, and Client Apps. AI-assisted setup means you configure once and customize as you grow.
- Realm-based tenant isolation
- OAuth 2.0 provider (Google, GitHub, WeChat)
- TOTP two-factor authentication
RBAC & Client Apps
Fine-grained role-based access control per Realm. Register Client Apps with OAuth 2.0 credentials, manage redirect URIs and session settings, and control which apps access which resources.
- Role-based permissions per Realm
- Client App registration & secrets
- Third-party API integration
Billing & Payments
Create subscription plans, map them to payment providers (Stripe, WeChat Pay), and assign plans to Client Apps. Includes a points/credits system for usage-based billing and invoice management.
- Subscription plans & pricing tiers
- Stripe & WeChat Pay integration
- Points & credits system
From zero to production in three steps
Deploy the platform. Let AI customize it. Ship your product.
Deploy with Docker
Clone the repo, point your domain, and run dev-start.py. PostgreSQL, Redis, Caddy (with auto-TLS), and the Herald app start together on one machine.
Customize with AI
Create Realms, set up OAuth providers (Google, GitHub, WeChat), configure RBAC roles. Use AI-assisted tools to tailor the platform to your exact needs — no need to hand-write infrastructure code.
Connect Your Apps
Your applications authenticate users through Herald's OAuth 2.0 endpoints. Users sign in with email/password or social logins. Herald handles sessions, tokens, and user management.
Why small teams choose Herald
Auth, billing, and payments in one self-hosted system. AI helps you customize. No stitching services together.
| Feature | Herald | Auth0 | Supabase | Keycloak |
|---|---|---|---|---|
| Multi-tenant auth | Included | Enterprise only | Manual setup | Included |
| OAuth 2.0 provider | Google, GitHub, WeChat | Yes | Limited | Yes |
| TOTP two-factor auth | Built-in | Yes | Yes | Yes |
| Subscription billing | Built-in | — | — | — |
| Points & credits | Built-in | — | — | — |
| WeChat Pay | Supported | — | — | — |
| Self-hosted | Yes | Cloud only | Yes | Yes |
| Open source | Apache-2.0 | No | Partial | Apache-2.0 |
| Admin dashboard | React UI | Yes | Yes | Basic |
Stop building infrastructure. Start shipping product.
Herald gives you auth, billing, payments, and user management out of the box. AI handles customization. You focus on what makes your software unique.
Frequently asked questions
Everything you need to know about Herald.