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 Request: Middleware/Plugin system with compression as an example #3

Open
0x4E69676874466F78 opened this issue Sep 24, 2022 · 3 comments
Labels
enhancement New feature or request

Comments

@0x4E69676874466F78
Copy link

LZ4, ZStandard, LZO?

@0x4E69676874466F78 0x4E69676874466F78 changed the title Compression? Feature request: compression? Sep 24, 2022
@Ceiridge
Copy link
Owner

Ceiridge commented Sep 24, 2022

I probably won't add compression, but maybe somebody will create a pull request for it, possibly with an extendable middleware support, i.e. being able to hook the read/write and file information functions of memefs.

What you can do at the moment, is to use other filesystems that can be mounted, which act as compressing proxies.
For example, you could use RClone to setup a local filesystem remote and a compress filesystem remote, which you can then mount (also uses WinFsp internally).
Keep in mind that RClone only supports gzip, which is slower than the algorithms you have suggested

@Ceiridge Ceiridge added the enhancement New feature or request label Sep 24, 2022
@0x4E69676874466F78
Copy link
Author

Okay, thanks for answer.

@0x4E69676874466F78 0x4E69676874466F78 closed this as not planned Won't fix, can't repro, duplicate, stale Sep 24, 2022
@Ceiridge
Copy link
Owner

I will leave this issue open, because then the feature request stays visible and although I don't expect it, maybe it will motivate someone to add it.
Especially a middleware system would be great, which would allow for easy extensibility with an easy-to-use API. Maybe I will add this in the future and then it would be very easy to also add a compression middleware/plugin.

@Ceiridge Ceiridge reopened this Sep 24, 2022
@Ceiridge Ceiridge changed the title Feature request: compression? Feature Request: Middleware/Plugin system with compression as an example Dec 28, 2022
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

2 participants