Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sqlite wasm support? #44

Open
beaugunderson opened this issue Jun 26, 2023 · 2 comments
Open

sqlite wasm support? #44

beaugunderson opened this issue Jun 26, 2023 · 2 comments

Comments

@beaugunderson
Copy link

I have a Chrome extension that uses PouchDB that I'd love to use Mycelite with instead. Are there any plans to support sqlite wasm for browsers?

@AdjectiveAllison
Copy link

AdjectiveAllison commented Jun 27, 2023

https://sqlite.org/wasm/doc/trunk/index.md
SQLite can run in-browser with emscripten as it provides I/O emulation syscalls.

I don't know a lot about SQlite, it's extension system, or this codebase, but since this extension is written in rust and interacts with a file system I would bet getting it into web assembly would take some heavy work or waiting until wasix(https://wasmer.io/posts/announcing-wasix) is more polished and ready for the web.

I almost guarantee that it is in the plans, but I'll follow this issue to hear from someone more knowledgeable about what the plans may look like.

Contributors -> thanks for your work on this project :)

@knowthen
Copy link
Contributor

@beaugunderson This is an area of interest for us, but we don't have active plans at this time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants