You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opendal.apache.org by "stormshield-guillaumed (via GitHub)" <gi...@apache.org> on 2023/06/09 09:37:49 UTC

[GitHub] [incubator-opendal] stormshield-guillaumed opened a new issue, #2442: New service suggestion : Origin Private File System

stormshield-guillaumed opened a new issue, #2442:
URL: https://github.com/apache/incubator-opendal/issues/2442

   There is a recent [Web API](https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API) providing access to a file system private to the origin of the page. This could be useful for a cross platform application targeting desktop and WASM, using either the `fs` backend on desktop or the new backend on WASM.
   
   It is not a small task, but maybe some people could find this interesting.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@opendal.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] New service suggestion : Origin Private File System [opendal]

Posted by "Xuanwo (via GitHub)" <gi...@apache.org>.
Xuanwo commented on issue #2442:
URL: https://github.com/apache/opendal/issues/2442#issuecomment-2084861432

   Hello, everyone. This issue has been submitted as this year's OSPP project. I hope we can push this issue forward.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@opendal.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-opendal] Xuanwo commented on issue #2442: New service suggestion : Origin Private File System

Posted by "Xuanwo (via GitHub)" <gi...@apache.org>.
Xuanwo commented on issue #2442:
URL: https://github.com/apache/incubator-opendal/issues/2442#issuecomment-1584341473

   Interesting! I plan to make OpenDAL work in wasm first and than add OPFS support.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@opendal.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Add Origin Private File System support [opendal]

Posted by "LYZJU2019 (via GitHub)" <gi...@apache.org>.
LYZJU2019 commented on issue #2442:
URL: https://github.com/apache/opendal/issues/2442#issuecomment-2172550760

   I'm interested!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@opendal.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Add Origin Private File System support [opendal]

Posted by "Eason0729 (via GitHub)" <gi...@apache.org>.
Eason0729 commented on issue #2442:
URL: https://github.com/apache/opendal/issues/2442#issuecomment-2731863765

   I have open a new issue for OPFS, hopefully we can have a working OPFS in browser soon.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@opendal.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] New service suggestion : Origin Private File System [incubator-opendal]

Posted by "Xuanwo (via GitHub)" <gi...@apache.org>.
Xuanwo commented on issue #2442:
URL: https://github.com/apache/incubator-opendal/issues/2442#issuecomment-1869922096

   We need to wait for https://github.com/rustwasm/wasm-bindgen/issues/3755


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@opendal.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Add Origin Private File System support [opendal]

Posted by "Xuanwo (via GitHub)" <gi...@apache.org>.
Xuanwo commented on issue #2442:
URL: https://github.com/apache/opendal/issues/2442#issuecomment-2708019826

   I believe we should focus on getting our services layout ready first. https://github.com/apache/opendal/pull/5269 is almost ready but still needs some work. Maybe we can leave all functions unimplemented for now. 
   
   Hi, @LYZJU2019 do you have time to address the comments in PR? Or maybe @Eason0729 can help based on your existing work.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@opendal.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Add Origin Private File System support [opendal]

Posted by "Xuanwo (via GitHub)" <gi...@apache.org>.
Xuanwo commented on issue #2442:
URL: https://github.com/apache/opendal/issues/2442#issuecomment-2708017211

   Here are my brief ideas on implementing this service.
   
   ## Tasks
   
   - [ ] setup servies (add deps, figure out CI, add `Access` place holder)
   - [ ] implement core features
     - [ ] read and stat
     - [ ] list
     - [ ] write and create_dir
     - [ ] delete
   - [ ] setup tests
   - [ ] examples and docs


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@opendal.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] New service suggestion : Origin Private File System [incubator-opendal]

Posted by "Xuanwo (via GitHub)" <gi...@apache.org>.
Xuanwo commented on issue #2442:
URL: https://github.com/apache/incubator-opendal/issues/2442#issuecomment-1867442110

   We are ready for this now!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@opendal.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] New service suggestion : Origin Private File System [incubator-opendal]

Posted by "stormshield-guillaumed (via GitHub)" <gi...@apache.org>.
stormshield-guillaumed commented on issue #2442:
URL: https://github.com/apache/incubator-opendal/issues/2442#issuecomment-1867520895

   That's great news ! Unfortunately, AFAIK, there is no high level API for interacting with OPFS in Rust at the moment, but the building blocks are in [web-sys](https://docs.rs/web-sys/latest/web_sys/). The addition of OPFS was discussed in https://github.com/rustwasm/wasm-bindgen/issues/2868 if anyone is interested.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@opendal.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Add Origin Private File System support [opendal]

Posted by "Eason0729 (via GitHub)" <gi...@apache.org>.
Eason0729 commented on issue #2442:
URL: https://github.com/apache/opendal/issues/2442#issuecomment-2708874749

   Hi @Xuanwo  , thanks for bringing this up.
   
   I'm happy to help out if @LYZJU2019   isn’t available. However, I’m new to this codebase, and I won’t be available for the next week.
   Once I’m back, I can jump in and take a look. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@opendal.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Add Origin Private File System support [opendal]

Posted by "Xuanwo (via GitHub)" <gi...@apache.org>.
Xuanwo commented on issue #2442:
URL: https://github.com/apache/opendal/issues/2442#issuecomment-2084882407

   ## Goal
   
   Add [Origin Private File System](https://developer.mozilla.org/en-US/docs/Web/API/File_System_API/Origin_private_file_system) (OPFS) support for opendal so that users can use `opfs` in wasm runtime or browser.
   
   The usage will look like:
   
   ```rust
   let op = Operator::via_map(Scheme::Opfs, map)?;
   let bs = op.read("path/to/file").await?;
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@opendal.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Add Origin Private File System support [opendal]

Posted by "Xuanwo (via GitHub)" <gi...@apache.org>.
Xuanwo commented on issue #2442:
URL: https://github.com/apache/opendal/issues/2442#issuecomment-2338212644

   cc @PsiACE and @LYZJU2019, any updates on this?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@opendal.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Add Origin Private File System support [opendal]

Posted by "Xuanwo (via GitHub)" <gi...@apache.org>.
Xuanwo closed issue #2442: Add Origin Private File System support
URL: https://github.com/apache/opendal/issues/2442


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@opendal.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org