跳到正文

better-auth-cloudflare

活跃
zpg6/better-auth-cloudflare

将 Better Auth 与 Cloudflare Workers、D1、Hyperdrive、KV、R2 和地理位置服务无缝集成,附带 OpenNext 与 Hono 示例。

在 GitHub 查看
星标
601
Fork
41
关注
601
未关闭 Issue
9

该介绍目前仅提供英文版本。

Overview

better-auth-cloudflare integrates the Better Auth authentication library with Cloudflare Workers, D1, Hyperdrive, KV, R2 and Cloudflare’s geolocation data. It works with any framework that runs on Workers; the examples/ folder has OpenNext (Next.js) and Hono demos, both live on workers.dev.

Features

  • Databases — D1 (SQLite), Postgres and MySQL through Drizzle ORM, or native D1 without Drizzle
  • Hyperdrive for connecting to Postgres and MySQL
  • KV as optional secondary storage, for example session caching
  • R2 for file uploads tied to users
  • Geolocation from Cloudflare request data
  • Scripts for generating the auth schema and running migrations

按共同分类和标签排序的同类开源项目。

全部 Web 项目 →