Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/leaysgur/cfw-storage-bindings-studio
- Owner: leaysgur
- Created: 2023-11-08T08:49:39.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-05-10T02:14:45.000Z (6 months ago)
- Last Synced: 2024-05-10T03:24:12.484Z (6 months ago)
- Language: Svelte
- Homepage:
- Size: 883 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
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 itThis 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...