Better Auth
better-auth/better-authThe most comprehensive authentication framework
Better Auth vs Clerk
HexclaveOpen sourceHexclave is a free, self-hostable alternative to Clerk. Here's how running it yourself compares with paying for the managed product.
Switching from Clerk
If you've moved from Clerk to Hexclave, tell us how it went below.
| Feature | Hexclave | Clerk |
|---|---|---|
| Source code | Open source (custom license) | Proprietary |
| Hosting | Self-hosted | Managed by the vendor |
| Cost | Free software; you pay for your own servers | See clerk.com pricing |
| Your data lives | On your infrastructure | On the vendor's servers |
| Bring your Clerk data | Not checked yet | — |
| Lock-in | Low: fork it or move hosts any time | Tied to the vendor |
| Setup & maintenance | You install, update and back it up | Handled for you |
| Community | 6,899 stars · 526 forks | — |
| Last code change | Active | — |
| Written in | — |
Hexclave is an open-source the user infrastructure platform. You choose the frontend, backend, and database. Hexclave handles everything else. It covers the same ground as Clerk while letting you host it yourself and keep full control of your data. It has 6,899 stars on GitHub.
Yes. Hexclave is open source under its own license, so the software is free to use. Running it yourself costs whatever your server or cloud provider charges.
Yes. Hexclave can be installed on your own server; see its repository for instructions.
The most comprehensive authentication framework
Better Auth vs ClerkThe authentication glue you need.
Authentik vs ClerkZITADEL - Identity infrastructure, simplified for you.
Zitadel vs ClerkOpen source alternative to Auth0 / Firebase Auth / AWS Cognito
SuperTokens vs ClerkAuthentication and authorization infrastructure for SaaS and AI apps, built on OIDC and OAuth 2.1 with multi-tenancy, SSO, and RBAC.
Logto vs ClerkHeadless cloud-native authentication and identity management written in Go. Scales to a billion+ users. Replace Homegrown, Auth0, Okta, Firebase with better UX and DX. Passkeys, Social Sign In, OIDC,
Ory vs Clerk