Skip to content

D1 Manager

Active
JacobLinCool/d1-manager

A web UI and API for Cloudflare D1: manage multiple databases, browse tables and schemas, run SQL or AI-assisted semantic queries, and edit data.

View on GitHub
Stars
656
Forks
341
Watchers
656
Open issues
24

Overview

D1 Manager is a web UI and API for Cloudflare D1, the serverless SQL database. It offers a friendly interface for databases, tables and records, plus an API for doing the same programmatically.

Features

  • Multiple D1 databases
  • List tables and show table schemas
  • Run SQL queries
  • Run semantic queries through the OpenAI API or Cloudflare Workers AI
  • Edit table data in the UI
  • Interface in English, Chinese, Spanish and Japanese

Setup

  1. Fork the repository and create a Cloudflare Pages project from it (SvelteKit preset, build command npm run build, output .svelte-kit/cloudflare).
  2. Protect the site with Cloudflare Access — the default rules only cover preview deployments, so add your production URL too.
  3. Bind your databases to DB_* environment variables; several can be bound at once.

Similar open-source projects, ranked by shared categories and tags.

All Development Tools projects →