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

Feature: OPFS Support #48

Open
justin0mcateer opened this issue Jun 26, 2024 · 4 comments
Open

Feature: OPFS Support #48

justin0mcateer opened this issue Jun 26, 2024 · 4 comments
Labels
enhancement New feature or request

Comments

@justin0mcateer
Copy link

Is there any intention to support this in the browser via Origin Private File System?

To me, one of the key strengths of Surreal is the ability to run it anywhere. Hopefully that persists with SurrealKV.

@nickchomey
Copy link

nickchomey commented Jun 26, 2024

I brought this up already in the surrealdb.wasm repo. I also brought it up with tobie in one of his AMA sessions.

surrealdb/surrealdb.wasm#59

@arriqaaq
Copy link
Contributor

arriqaaq commented Jun 27, 2024

Hey @justin0mcateer

Thank you for opening the issue. I am not well versed with OPFS, and would like to understand it better. Thanks for sharing the links

@nickchomey
Copy link

@arriqaaq this definitely seems like a more appropriate issue for the surrealdb.wasm repo, which I linked to in my comment above. Surrealkv would simply need to be converted to wasm, stored in OPFS, and then accessed via surrealdb.wasm. In theory, the other backends (eg tikv) could also be used via wasm+opfs as well.

@arriqaaq
Copy link
Contributor

arriqaaq commented Jun 27, 2024

Thanks @nickchomey for the details, I get an idea how it works now. Will look into it more

@arriqaaq arriqaaq changed the title OPFS Support Feature: OPFS Support Oct 1, 2024
@arriqaaq arriqaaq added the enhancement New feature or request label Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants