r-universe-org / help

Support and bug tracker for R-universe
https://docs.r-universe.dev/
8 stars 2 forks source link

Add vfs packer for emscripten #332

Closed jeroen closed 5 months ago

jeroen commented 6 months ago

Packages can be loaded faster in webr if they provided as vfs images instead of tarballs. The rwasm packages does this using emscripten file_packager (which is a python implementation sadly).

If there is a javascript file_packager, we could have an API that extracts and packs the emscripten packages server side. I think we could even create an API that packs multiple packages into a single vfs.

@georgestagg

jeroen commented 5 months ago

We have this now.