Home›Launches›Better Auth
2144

Better Auth - The Authentication Framework for TypeScript

The fastest growing Auth framework for TypeScript: 13K stars + 100K weekly downloads!

Hey! 👋 We’re building Better Auth - a comprehensive, framework-agnostic authentication framework for TypeScript. It lets you roll your own auth directly on your backend and database, without relying on 3rd party services. From basic sign-ins to complex enterprise systems all with great DX.

https://www.youtube.com/watch?v=j_HjHmprVOs

Auth has been a pain point for many developers in the TypeScript ecosystem for a while. Other open-source libraries require a lot of additional code for anything beyond basic authentication. So, we set out to build a comprehensive auth library - framework-agnostic, with a robust set of features out of the box, a plugin ecosystem for everything else you might need, and great documentation.

Since launching v1 just 5 months ago:

  • 13K+ GitHub stars and 350K+ monthly npm downloads
  • We've grown into one of the most influential and well-loved open source projects in the TypeScript ecosystem.
  • Used in production by great teams including YC companies and major OSS projects including folo, same, dokploy, zero, onejs and many more.
  • We’re the recommended auth library by Next.js, Nuxt, Astro, and other top JS frameworks.
  • A thriving community with 5K+ members on Discord, 7K+ followers on X, and a growing ecosystem of adjacent libraries built by community members.
  • Featured by creators like Theo, Dev Ed and more

To take it further, and after seeing the pain points of our current users, we're building an infrastructure layer on top of the framework to extend the library with functionality we can't offer through the framework alone:

  • A comprehensive admin dashboard with user management & analytics
  • Bot/fraud/abuse detection
  • Global session storage
  • and more…

To be clear – we’re not building a third-party auth service. Our goal is to make rolling your own auth so ridiculously easy that you’ll never need one.

Get started with the library here: better-auth.com/docs/installation

Join the waitlist for infra: http://better-auth.build/

Star the repo: https://github.com/better-auth/better-auth