Open penberg opened 10 months ago
+1 to this.
If you're going to port this to browser, I'd recommend backing it with the Origin Private File System and ensuring it can be used from a web worker for improved performance, possibly adopting a Comlink like API for accessing from other threads.
+1
We currently only support local database with Node, but with a WebAssembly build of libSQL can unlock that in other environments such as the browser. IOW, we need a libsql package similar to https://www.npmjs.com/package/@sqlite.org/sqlite-wasm and write that up to the client SDK.