Skip to content

better-stack-ai/better-auth

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

About

Fork of Better-Auth that extracts the database layer.

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 99.9%
  • Other 0.1%