0.0.0 • Published 1 year ago

d1-manager v0.0.0

Weekly downloads
-
License
-
Repository
-
Last release
1 year ago

D1 Manager

A Web UI to manage data in Cloudflare D1.

Features

  • Multiple D1 Databases
  • List all tables in a database
  • Show table schema
  • Run SQL queries
  • Create new table through UI
  • Edit table data through UI
  • Custom SQL scripts
  • I18n support (English, Chinese) add more
  • API support (see routes/api for details)

Setup

  1. Fork this repo
  2. Setup a Cloudflare Pages with the forked repo
  3. Use Cloudflare Access to protect the your site
  4. Bind databases to DB_* environment variables

bind-d1

Note: You can bind multiple databases to the manager. In theis example, DB will be default in the UI, and DB_test will be test.

Screenshots

tables

table

0.0.0

1 year ago