Better Auth Kit
repository·main·Indexed 43 days ago
https://github.com/ping-maxwell/better-auth-kitAn ecosystem of plugins, adapters, and libraries designed to extend Better Auth. Includes features such as legal consent management, waitlists, file storage with UploadThing support, profile image management, password reverification, and a dedicated UI library. Also provides a seeding library for deterministic test data and a deprecated Convex adapter.
What's inside Better Auth Kit
- Better-Auth-Kit is an open-source collection of plugins, adapters, tools, and examples designed to be used on top of Better Auth. It provides extended functionality that is not part of the core Better Auth library, such as specialized adapters and community-driven tools.
Overview of the Better Auth Kit CLI
mainThe Better Auth Kit CLI (
@better-auth-kit/cli) provides a set of commands designed to assist with Better Auth projects.Note: The CLI is currently in early development. Not all commands are available yet. You can check the project roadmap for upcoming features.
Key feature areas include:
- UI Components: Generating UI components for your project.
- Seed: Seeding your Better-Auth database with deterministic, realistic fake data.
- Better Auth Dashboard: A Clerk-like dashboard for managing your Better Auth project.
Overview of the Better Auth UI library
mainTheuipackage is a dedicated UI library designed for use with Better Auth. It provides pre-built user interface components to streamline the integration of authentication flows into your application.Explore Better-Auth-Kit Adapters
mainAdapters allow you to use different databases with Better-Auth. Currently supported adapters include:
- Convex DB: An adapter to use Convex DB as your database with Better-Auth.
Upcoming adapters include Pocketbase DB and Firestore DB.
Use the @better-auth-kit/app-invite plugin
mainThe
@better-auth-kit/app-inviteplugin allows you to invite users to your application and manage their sign-up process via invitations.For detailed implementation guides, configuration options, and API references, please refer to the official better-auth-kit documentation.
Explore Better-Auth-Kit Libraries
mainBetter-Auth-Kit offers libraries to assist with specific development tasks:
- Better-Auth-Kit Tests: A library to assist you during Better-Auth plugin testing.
- Admin Dashboard (Coming Soon): A library to help you get started with an Admin Dashboard.
Use the @better-auth-kit/feedback plugin
mainThe@better-auth-kit/feedbackplugin allows users to submit feedback about your application. For detailed implementation instructions, configuration options, and integration steps, refer to the official better-auth-kit documentation.Seed your Better-Auth database with @better-auth-kit/seed
mainThe@better-auth-kit/seedlibrary allows you to populate your Better-Auth database with deterministic, yet realistic, fake data. This is useful for development and testing environments where you need a consistent set of user and authentication data.Use the Reverify Password Plugin for Better Auth
mainThe Reverify Password Plugin for Better Auth allows you to prompt users to re-verify their identity by providing authentication (such as their password) before performing sensitive actions. This adds a layer of security by requiring re-validation for specific workflows.
For detailed implementation steps and configuration options, refer to the official better-auth-kit documentation.
Use the Better-Auth-Kit CLI
mainThe Better-Auth-Kit CLI is a development toolset that provides several capabilities:
- UI Components: Generate UI components using the ShadCN registry.
- Seed: Seed your Better-Auth database with deterministic, yet realistic, fake data.
- Database Explorer: A Better-Auth powered database explorer and schema visualizer.
- Dashboard (Coming Soon): A Clerk-like dashboard for your Better-Auth project.
Use the @better-auth-kit/profile-image plugin
mainThe
@better-auth-kit/profile-imageplugin allows users to upload and manage custom profile images within your application using Better Auth.For detailed implementation steps, configuration options, and integration guides, refer to the official documentation at https://better-auth-kit.com/docs/plugins/profile-image.
Explore Better-Auth-Kit Plugins
mainBetter-Auth-Kit provides several plugins to extend the functionality of your authentication system. Currently available plugins include:
- Reverify: A plugin to reverify a user's identity.
- Feedback: A plugin to collect feedback from your users.
Other upcoming plugins include Waitlist, Legal Consent, Blockade (for blacklisting/whitelisting users), and Shutdown (for maintenance modes).