Summary
Create an interactive browser-based playground for zen at zendb.org. Users can define tables, write queries, and see typed results - all client-side with OPFS persistence.
Components
1. OPFS SQLite Driver
New entrypoint @b9g/zen/browser or @b9g/zen/opfs:
2. Playground UI
3. Code Execution
4. Examples & Presets
5. Persistence & Sharing
Tech Considerations
- SQLite WASM: wa-sqlite with OPFS backend is probably best for persistence
- Editor: Monaco gives TypeScript intellisense for free
- Framework: Keep it simple - vanilla or Preact
- Hosting: Static site on zendb.org
Nice to Have
🤖 Generated with Claude Code
Summary
Create an interactive browser-based playground for zen at zendb.org. Users can define tables, write queries, and see typed results - all client-side with OPFS persistence.
Components
1. OPFS SQLite Driver
New entrypoint
@b9g/zen/browseror@b9g/zen/opfs:Driverinterface for browser SQLite2. Playground UI
3. Code Execution
4. Examples & Presets
.db.formMeta()usage5. Persistence & Sharing
Tech Considerations
Nice to Have
🤖 Generated with Claude Code