Skip to content

Latest commit

 

History

History
29 lines (18 loc) · 1.25 KB

File metadata and controls

29 lines (18 loc) · 1.25 KB

Better Auth Fork

This is a fork of Better Auth that includes the @btst packages—a focused extraction of Better Auth's database layer.

Purpose

This fork enables Better Stack, a composable full-stack plugin system for modern React frameworks. Better Stack uses the @btst packages for database schema definition, multi-ORM support, and CLI-driven migrations.

@btst Packages

The @btst packages provide Better Auth's proven adapter pattern and CLI tools, focused purely on database management without the auth domain:

  • @btst/db — Schema definition with defineDb()
  • @btst/cli — Generate Prisma, Drizzle, and Kysely schemas
  • @btst/adapter-prisma — Prisma adapter
  • @btst/adapter-drizzle — Drizzle adapter
  • @btst/adapter-kysely — Kysely adapter
  • @btst/adapter-mongodb — MongoDB adapter
  • @btst/adapter-memory — In-memory adapter (testing)

📖 Full Documentation →

Upstream

This fork stays aligned with Better Auth updates. The core better-auth package remains unchanged.

License

MIT © Better Auth