{"id":90320,"title":"Better Auth - The Authentication Framework for TypeScript","tagline":"The fastest growing Auth framework for TypeScript: 13K stars + 100K weekly downloads!","body":"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.\n\nhttps://www.youtube.com/watch?v=j_HjHmprVOs\n\nAuth 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.\n\n![uploaded image](/media/?type=post\u0026id=90320\u0026key=user_uploads/1184116/dec3dc74-8395-4d83-b062-c2f3271b8164)\n\nSince launching v1 just 5 months ago:\n\n* **13K+ GitHub stars** and **350K+ monthly npm downloads**\n* We've grown into one of the **most influential** and **well-loved** open source projects in the TypeScript ecosystem.\n* Used in production by great teams including YC companies and major OSS projects including [folo](https://github.com/RSSNext/Folo), [same](https://same.new/), [dokploy](https://github.com/Dokploy/dokploy), [zero](https://github.com/Mail-0/Zero), [onejs](https://github.com/onejs/one) and many more.\n* We’re the recommended auth library by **Next.js, Nuxt, Astro**, and other top JS frameworks.\n* A thriving community with **5K+ members on Discord,** **7K+ followers on X**, and a growing ecosystem of adjacent libraries built by community members.\n* Featured by creators like Theo, Dev Ed and more\n\nTo 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:\n\n* A comprehensive admin dashboard with user management \u0026 analytics\n* Bot/fraud/abuse detection\n* Global session storage\n* and more…\n\nTo 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.\n\nGet started with the library here: [better-auth.com/docs/installation](http://better-auth.com/docs/installation)\n\nJoin the waitlist for infra: http://better-auth.build/\n\nStar the repo: https://github.com/better-auth/better-auth","slug":"NUm-better-auth-the-authentication-framework-for-typescript","created_at":"2025-05-13T13:36:07.545Z","updated_at":"2026-04-23T00:39:06.463Z","total_vote_count":2189,"url":"https://www.ycombinator.com/launches/NUm-better-auth-the-authentication-framework-for-typescript","share_image_url":"https://www.ycombinator.com/media/?type=post\u0026id=90320\u0026key=user_uploads/1184116/dec3dc74-8395-4d83-b062-c2f3271b8164","company":{"id":30452,"name":"Better Auth","slug":"better-auth","url":"https://better-auth.com/","logo":"https://bookface-images.s3.amazonaws.com/small_logos/1f768f164c4dd92121e70abbd42713af3118834a.png","batch":"Spring 2025","industry":"B2B","tags":["Developer Tools","Security","Open Source"],"search_path":"https://bookface.ycombinator.com/company/30452"}}