Skip to content

GUI to inspect your (remote | local) Cloudflare KV, R2 and D1 data from local.

Notifications You must be signed in to change notification settings

leaysgur/cfw-storage-bindings-studio

Repository files navigation

cfw-storage-bindings-studio

🚧 Work in progress... 👷

Generic GUI for storage-related bindings based on cfw-bindings-wrangler-bridge module.

You can interact both local and remote data! 🧙

What does it solve?

  • Remotely: Cloudflare dashboard required auth, and not a good UX(sorry, IMO)
  • Locally: miniflare persistent source, no way to easily see what's in it

This module tries to solve these both problems at once.

Usage

npx cfw-storage-bindings-studio

# Options
# For GUI running port, default: 3000
npx cfw-storage-bindings-studio --studio-port 5173
# For bridge worker settings
npx cfw-storage-bindings-studio --config ./path/to/wrangler.toml --remote
npx cfw-storage-bindings-studio --config ./path/to/wrangler.toml --persist-to ./path/to/.wrangler/state

Development

# Run wrangler dev .. cfw-bindings-wrangler-bridge .. somewhere, then
npm run dev

TODOs

  • CLI
  • CLI <-> APP
  • List bindings
  • Svelte 5 migration(blocked by svelte-query) 🔥
  • Fancy UI(temp)
  • KV.list
  • KV.get
  • Better details by MIME
  • KV.delete
  • KV.put(new)
  • KV.put(update)
  • KV.put(text | binary)
  • KV revalidate all/each
  • D1 showTables
  • D1 showAllRows
  • D1 custom SQL repl
  • D1 LIMIT/OFFSET
  • D1 Add record
  • D1 Update record
  • D1 Delete record
  • R2.xxx
  • TBD...

About

GUI to inspect your (remote | local) Cloudflare KV, R2 and D1 data from local.

Resources

Stars

Watchers

Forks