7,380 open-source and SaaS tools, with GitHub stats refreshed every day.

Hexclave

Open source

A user infrastructure platform that handles authentication, teams, RBAC, API keys, payments, emails and analytics for apps, with a dashboard and optional deployment hosting.

hexclave.com
Hexclave homepage screenshot
GitHub stars
6.9k
Last commit
today
Repository age
2 years
Version
dashboard-v1.0.123
Licence
Custom
Self-hosted
Yes

About Hexclave

Hexclave positions itself as infrastructure for the user side of an app: you pick the frontend, backend and database, and it manages everything around your users. That covers authentication, teams, permissions, API keys, payments, emails and analytics, packaged as a catalog of modules that you enable when your product needs them, all sharing one user model.

Authentication supports passkeys, OAuth and CLI auth, with methods toggled from the dashboard without code changes. Teams add workspaces, email invites and roles, while RBAC provides nested roles and a single permission check usable on server or client. API keys are auto-revoked if leaked and show their secret only once. Payments cover subscriptions, single charges and credit-based usage metering for individuals or teams, and emails cover transactional and marketing sends with an AI template editor.

Setup is designed around pasting one prompt into a coding agent, and a Hexclave Deploy offering can deploy the frontend, backend and database together. The code is TypeScript with Next.js, topics mention self-hosting and alternatives such as Auth0, Clerk, Supabase and PostHog, and the repository lists the licence as Other, so review the licence terms.

Key features

  • Passkey, OAuth and CLI authentication
  • Teams, workspaces and email invites
  • Nested roles with RBAC checks
  • API keys with auto-revocation of leaks
  • Subscriptions, one-time payments and usage credits
  • Transactional and marketing emails
  • Product analytics for user activity

Good fit for

  • →Adding auth and teams to a Next.js app
  • →Billing for SaaS products
  • →Replacing separate auth, email and analytics vendors
Tags
authentication
teams
rbac
payments
api-keys
analytics
nextjs
multi-tenancy
self-hosted
passkeys

Hexclave: questions and answers

What is Hexclave used for?
Hexclave is a user infrastructure platform that handles authentication, teams, RBAC, API keys, payments, emails and analytics for apps, with a dashboard and optional deployment hosting. It is a good fit for adding auth and teams to a Next.js app; billing for SaaS products; and replacing separate auth, email and analytics vendors.
Is Hexclave open source?
Yes. Hexclave is open source under a custom licence. Its source code is on GitHub at hexclave/hexclave and is written mainly in TypeScript.
Is Hexclave free?
Yes. Hexclave is open source, so the software itself is free to use under the terms of its own licence. A managed cloud version is also available, with paid plans from $49 per month.
Can I self-host Hexclave?
Yes. Hexclave can be self-hosted on your own server or infrastructure.
What is Hexclave an alternative to?
Hexclave is an open-source alternative to Auth0, Stytch, WorkOS and Clerk. Other open-source alternatives to Auth0 include Logto, ZITADEL and Hanko.
Is Hexclave actively maintained?
Yes. The most recent commit to Hexclave was on 2 October 2026. The project has 6.9k stars on GitHub.

Open-source alternatives to Hexclave

See all

SaaS alternatives to Hexclave

See all