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

BrowserFS → ZenFS #113

Open
dr-vortex opened this issue May 5, 2024 · 4 comments
Open

BrowserFS → ZenFS #113

dr-vortex opened this issue May 5, 2024 · 4 comments

Comments

@dr-vortex
Copy link

Hey @zardoy, I've been going through the dependents of browserfs and found this repository.

As you already know, browserfs is deprecated and I am working on ZenFS.

Would you be interested in updating migrating to ZenFS?

@dr-vortex dr-vortex changed the title BrowserFS -> ZenFS BrowserFS → ZenFS May 5, 2024
@zardoy
Copy link
Owner

zardoy commented May 5, 2024

I was already experimenting with ZenFS in a separate project since I was running some issues: eg IOS crashing the page when trying to load big files (~400 MB zips). Also need to update internal patching so I can track all read / write operations, redirect or disable them as needed.

Would you be interested in updating and migrating to ZenFS?

Yes, of course!

@dr-vortex
Copy link
Author

Also need to update internal patching so I can track all read / write operations

I plan on adding some event system to the ZenFS internals as part of the FS watch features, though it wouldn't allow for changing the operations.

If you want to change operations it may be better to write a class that extends ZipFS and then intercept the operations using that.

@zardoy
Copy link
Owner

zardoy commented May 5, 2024

If you want to change operations it may be better to write a class that extends ZipFS and then intercept the operations using that.

Thanks, will try it, though I also plan to use remote HTTP and WebAccess backends (already using the last one for writing files back to the user's selected folder).
Currently, I'm just overwriting FS methods so it was easy to patch for me the internals...

@zardoy
Copy link
Owner

zardoy commented May 15, 2024

Sorry, the suggestion to migrate to newer versions is great, but I've just realized I'll not have any time to work on it :(
(just because everything works fine with the old version), but I'm definitely looking into migration for smaller codebase

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

2 participants