You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Demo implementations are available in the [`examples/`](./examples/) directory for **OpenNextJS ◆** and **Hono 🔥**, along with recommended scripts for generating database schema, migrating, and more. The library is compatible with any framework that runs on Cloudflare Workers.
15
15
@@ -22,6 +22,7 @@ Demo implementations are available in the [`examples/`](./examples/) directory f
22
22
- 📍 **Automatic Geolocation Tracking**: Enrich user sessions with location data derived from Cloudflare.
23
23
- 🌐 **Cloudflare IP Detection**: Utilize Cloudflare's IP detection headers out-of-the-box.
24
24
- 🔍 **Rich Client-Side Context**: Access timezone, city, country, region, and more via the client plugin.
25
+
- 📦 **CLI**: Tools for getting started quickly with Hono or Next.js, managing database schema, and more.
25
26
26
27
## Roadmap
27
28
@@ -34,6 +35,15 @@ Demo implementations are available in the [`examples/`](./examples/) directory f
34
35
-[ ] Cloudflare Images
35
36
-[ ] Durable Objects
36
37
38
+
**CLI:**
39
+
40
+
-[x]`generate` - Create new projects from Hono/Next.js templates with automatic Cloudflare resource setup
41
+
-[ ]`integrate` - Add `better-auth-cloudflare` to existing projects, creating/updating auth and schema files
42
+
-[x]`migrate` - Update auth schema and run database migrations when configuration changes
43
+
-[ ]`plugin` - Generate empty Better Auth plugin for quickly adding typesafe endpoints and schema fields
44
+
-[x]`version` - Check the version of the CLI
45
+
-[x]`help` - Show all commands and their usage
46
+
37
47
**Examples:**
38
48
39
49
-[x] Hono
@@ -43,9 +53,10 @@ Demo implementations are available in the [`examples/`](./examples/) directory f
43
53
44
54
## Table of Contents
45
55
46
-
-[Installation](#installation)
56
+
-[Quick Start with CLI](#quick-start-with-cli)
47
57
-[Configuration Options](#configuration-options)
48
-
-[Setup](#setup)
58
+
-[Manual Installation](#manual-installation)
59
+
-[Manual Setup](#manual-setup)
49
60
-[1. Define Your Database Schema (`src/db/schema.ts`)](#1-define-your-database-schema-srcdbschemats)
The CLI creates projects from Hono or Next.js templates and can automatically set up D1, KV, R2, and Hyperdrive resources. See [CLI Documentation](./cli/README.md) for full documentation and all available arguments.
0 commit comments