#1313th of 102 in Backends, databases and hosting
better-auth
Framework-agnostic authentication and authorization library for TypeScript with plugins
- Stars
- 30.7k
- License
- MIT
- Last commit
- Nov 2026
- Last release
- Nov 2026
- Language
- TypeScript
27,573 on 21 Apr 202630,711 on 10 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
Better Auth is a TypeScript authentication and authorization library that works across frameworks. It ships core auth features and a plugin system for additions such as 2FA and multi-tenant support. It is a library you add to an existing app, not a hosted service.
Who it is for: TypeScript developers who want self-hosted auth inside their own app
Strengths
- Framework-agnostic TypeScript library, not tied to one web stack
- Plugin system for 2FA, multi-tenant and other advanced features
- MIT licensed, with a release published on the latest commit date
- Self-hosted in your own app, no third-party auth service required
Weaknesses
- README lists no supported frameworks, databases or auth providers
- Library only: no standalone auth server or admin UI described
- README has no install steps, code examples or docs link
- TypeScript only, so non-JS backends cannot use it directly
What it needs
- no GPU
- Compose
- Compose runs MongoDB, Redis, PostgreSQL, MySQL
Quick answers
Is better-auth open source?
Yes. Its code is on GitHub under the MIT license.
Can you run better-auth with Docker?
Yes. Its repository has a Docker setup: a Dockerfile, a Compose file or a published image.
Also in Backends, databases and hosting
See all 102| Rank | Project | Score |
|---|---|---|
| 1 | bunJavaScript and TypeScript runtime with bundler, test runner and package manager | 93 out of 100 |
| 2 | strapiHeadless CMS that generates REST and GraphQL APIs from content models | 92 out of 100 |
| 3 | traefikHTTP reverse proxy and load balancer that auto-discovers routes from orchestrators | 92 out of 100 |
| #4 | appwriteBackend with auth, databases, storage, functions and an MCP server for agents | 92 out of 100 |
| #5 | medusaNode.js commerce platform with modular products, carts, orders and payments | 92 out of 100 |