档案库 · 开发与企业工具 · 产品决策 · 2024–2025
Better Auth:埃塞俄比亚独立开发者打造的开源认证库,获 Peak XV、YC 投资 500 万美元
独立开发的开源认证框架让用户数据留在开发者自己的数据库中;周下载量超 15 万,获 Peak XV 和 YC 的 500 万美元种子投资
Better Auth
做的是什么生意
Better Auth is an open-source TypeScript authentication framework developers embed on the back end, keeping sign-ins, passwords and user data in their own database, with orgs, teams and roles built in and plug-ins to scale.
起因
Bereket Engida, a self-taught programmer in Ethiopia, started coding at 18 after a friend refused to help him build an e-commerce search app. Through remote jobs and a web-analytics product he kept hitting the same pain: every SaaS app needs sign-in, teams, roles and permissions, but Auth0, Firebase and NextAuth were too limited, stored user data externally, and got expensive at scale. When he needed an organization feature none of them offered, he built it from scratch in about two weeks — then scrapped that project to build a better way.
经过
Working mostly from his bedroom in Ethiopia over six months, Engida built the TypeScript framework that became Better Auth and posted it to GitHub in September 2024. Adoption followed quickly: 150,000+ weekly downloads, 15,000+ GitHub stars and 6,000+ Discord members. Better Auth graduated YC's spring 2025 batch and raised about $5M in seed funding from Peak XV (its first direct investment in an African founder), Y Combinator, P1 Ventures and Chapter One. Peak XV said adoption was strong among AI startups needing custom flows tied to proprietary APIs, secure token handling and low cost at scale.
还没有结局,它还在跑。
背景
Better Auth 是一个开源 TypeScript 认证框架,由埃塞俄比亚自学成才的程序员 Bereket Engida 创建。与 Auth0、Firebase 或 NextAuth 等托管服务不同,它是一个库,由开发者嵌入后端,用户数据保存在自己的数据库中;组织、团队、角色和高级功能旨在通过几行代码添加,并通过插件扩展。
Engida 的赌注在于,托管认证模式对大多数开发者来说是不对的:现有工具将用户数据存储在外部,限制定制,规模扩大时成本增加,而每个 SaaS 应用仍需重新构建常见场景,如组织和权限。当需要一个没有一个提供方提供的组织功能时,他花了两周时间构建,然后用六个月在埃塞俄比亚的卧室里编写了后来成为 Better Auth 的框架,并于 2024 年 9 月将其发布到 GitHub。
实践表明预言正确:截至 2025 年年中,Better Auth 声称周下载量超 15 万,GitHub 星标超 15000,Discord 成员超 6000,早期 AI 初创公司采用它来围绕专有 API 定制认证流程。它从 YC 2025 春季批次毕业,并获得 Peak XV、Y Combinator、P1 Ventures 和 Chapter One 约 500 万美元的种子投资——这是 Peak XV 对非洲创始人的首次直接投资。
据 2025-06-25 的 TechCrunch 报道,核心免费;路线图是在开源基础上构建付费企业基础设施,为不想自托管的用户提供可选云插件,以及一个负责维护、文档和企业支持的小团队。Engida 仍然编写大部分代码。
这件事要成立,得有什么
- 这一赌注反转了托管认证的宣传:开发者不将认证外包,而是将用户数据保留在自己的数据库中,这正是注重隐私的团队和 AI 初创公司明确想要的。
- 先有吸引力,后有资本——周下载量超 15 万,GitHub 星标超 15000,使 500 万美元的种子投资变成顺理成章的后续动作,而不是一场赌博。
- 独自在埃塞俄比亚的创始人构建全球开发者基础设施,证明关于创始人市场的偏见是错误的,而 Peak XV 首次投资非洲创始人具有象征意义。
- 切入精准:几行代码就能实现组织、角色和权限,解决了 Auth0、Firebase 和 NextAuth 无法灵活处理或根本不处理这个常见场景的问题。
可借鉴之处
独立开发者可以通过将数据所有权交还给用户,并让开源分发来推销产品,从而击败成熟托管供应商。
后续进展
截至 2025-06-25,Better Auth 已上线并免费,拥有周下载量超 15 万、GitHub 星标超 15000、Discord 成员超 6000;Engida 计划在开源核心基础上提供付费企业层和云插件,并正在招聘一个小团队负责代码库维护、文档和企业支持。它是第三家通过 Y Combinator 的埃塞俄比亚初创公司,前两家是无人机健康平台 Avion 和食品配送初创公司 BeU Delivery。
资料来源
- Better Auth, an authentication tool by a self-taught Ethiopian dev, raises $5M from Peak XV, YC
- Better Auth, by a self-taught Ethiopian dev, raises $5M from Peak XV, YC
发现哪里写错了?告诉我们。
轮到你了
你刚读完一家。说说你在做什么,看看谁在赌同一件事。
免费账号 · 3 次免费提问 · 不用绑卡