Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/leaysgur/cfw-storage-bindings-studio

GUI to inspect your (remote | local) Cloudflare KV, R2 and D1 data from local.
https://github.com/leaysgur/cfw-storage-bindings-studio

Last synced: 24 days ago
JSON representation

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

Awesome Lists containing this project

README

        

# cfw-storage-bindings-studio

> 🚧 Work in progress... 👷

Generic GUI for storage-related bindings based on [`cfw-bindings-wrangler-bridge`](https://github.com/leaysgur/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

```sh
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
```

## TODOs

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