# Hexclave

Hexclave is a self-hosted databases app. Self-hostable platform combining user auth, payments, email, and analytics into modular building blocks that fit around your existing product.

Canonical page: https://ourlocalhost.com/app/8985/hexclave

## Description

Self-hostable platform combining user auth, payments, email, and analytics into modular building blocks that fit around your existing product.

## Platform availability

Available on 1 of 10 platforms: Any server.

## Health score

65/100 (Good), based on 4 of 5 factors.
- Maintained: 100 (last commit 0 days ago)
- Popular: 77 (6,900 GitHub stars)
- Easy to install: 25 (1 install platform, install notes)
- Security check: 20 (1 serious finding, 8 minor, CI, tests)

## Security check

1 serious finding: A private key is committed in the source code.
Automated checks on commit 6e096f2, 4 Dec 2026. Not an audit.

## Links

- GitHub: https://github.com/hexclave/hexclave
- Documentation: https://docs.hexclave.com
- Official website: https://www.hexclave.com/

## Common questions

### What do I need to create before first starting Hexclave?

Create a hexclave.config.ts file in your project's root and set it to "show-onboarding". This triggers a friendly setup wizard on first launch; without it you'd be guessing at settings yourself.

### How do I launch Hexclave locally and get the secret environment variables?

Add a dev script such as "dev": "hexclave dev --config-file ./hexclave.config.ts -- <your-backend-dev-command>" to your package.json. This starts the local dashboard and automatically injects the secret environment variables your app needs to run.

### Does it matter which SDK package I install?

Yes. Install the SDK matching your framework, e.g. @hexclave/tanstack-start for TanStack Start, @hexclave/next for Next.js, or @hexclave/react. Installing the wrong one means the integration simply won't work with your setup.

### Can Hexclave see the secrets I store in the Data Vault?

No. The Data Vault is locked with your own secret, so Hexclave never sees the plaintext. Storing and retrieving tokens takes two lines each and it's server-only by design.

### How does Hexclave handle leaked or compromised API keys?

Leaked keys are automatically revoked. Keys work for both users and teams, and the full secret is shown only once — the plaintext is never kept after creation.

### How can I set up Hexclave without reading all the docs?

You can set it up with one prompt by pasting "Read skill.hexclave.com and help me setup hexclave in this project" into a coding agent, or curl the skill documentation for up-to-date integration instructions.

## Alternatives

- Apereo CAS
- Auth0: You can connect any application (written in any language or on any stack) to Auth0 and define its Connection, the method used to authentica…
- Authelia: Authelia is an open-source authentication and authorization server that provides login, multi-factor authentication, and single sign-on for…
- Better Auth: Better Auth is a framework-agnostic authentication and authorization library for TypeScript that lives inside your application.
- Hanko: Open source authentication platform supporting passkeys, 2FA, SSO, and social login.
- Keycloak: Keycloak is an open-source Identity and Access Management platform for adding authentication to self-hosted applications.
- Logto: An open-source identity solution offering customizable login experiences, multi-tenant support, and comprehensive user management.
- WorkOS

---
Source: Our Local Host (https://ourlocalhost.com/app/8985/hexclave), the self-hosted and open-source app directory.
