You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found your project from this issue here, in the discussion about the Level project. I've been using leveldb-zlib locally with Node.js, and I have the hopes of running it, or another format-compatible implementation in the browser as well.
My project needs to open ZLIB-compressed LevelDB archives, those present in Minecraft Bedrock Edition. It seems like not all LevelDB implementations support the ZLIB handling, so only this one has worked for even opening the database for me, so far.
My initial idea was to try compiling leveldb-zlib to WASM so it can run in the browser, but that seems to keep running into dead-ends of things not working as expected/at all. It's also likely my inexperience thus far with things like Makefile, but I think I should try a different option instead, it might not work even if it compiles. I'm not sure how it would handle some sort of file system.
So my more-focused question (sorry for all of the pre-explanation), would it be feasible to build a JS-based LevelDB implementation similar to yours, which allows for the handling of this? In the browser, it would fit nicely to have the backing implementation to be driven by the File System API (more specifically, the Origin Private File System or the File System Access API if the user wants to use their own locally-saved files, rather than 'uploading' them to the app), and Node's FS module when running locally.
This is my (currently experimental) project that's trying to set this up so far, it's just using leveldb-zlib locally in Node at the moment.
The text was updated successfully, but these errors were encountered:
Hello!
I found your project from this issue here, in the discussion about the Level project. I've been using
leveldb-zlib
locally with Node.js, and I have the hopes of running it, or another format-compatible implementation in the browser as well.My project needs to open ZLIB-compressed LevelDB archives, those present in Minecraft Bedrock Edition. It seems like not all LevelDB implementations support the ZLIB handling, so only this one has worked for even opening the database for me, so far.
My initial idea was to try compiling
leveldb-zlib
to WASM so it can run in the browser, but that seems to keep running into dead-ends of things not working as expected/at all. It's also likely my inexperience thus far with things like Makefile, but I think I should try a different option instead, it might not work even if it compiles. I'm not sure how it would handle some sort of file system.So my more-focused question (sorry for all of the pre-explanation), would it be feasible to build a JS-based LevelDB implementation similar to yours, which allows for the handling of this? In the browser, it would fit nicely to have the backing implementation to be driven by the File System API (more specifically, the Origin Private File System or the File System Access API if the user wants to use their own locally-saved files, rather than 'uploading' them to the app), and Node's FS module when running locally.
This is my (currently experimental) project that's trying to set this up so far, it's just using
leveldb-zlib
locally in Node at the moment.The text was updated successfully, but these errors were encountered: