emscripten-core / emscripten-core/emscripten

PHPFS feature suggestion

Open
#14,136 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
27.6k
Forks
3.6k
Avg merge
1d 1h
Merged PRs (30d)
105

Description

Idk if you guys take feature suggestions, but something like this would be epic

something like:
```
FS.mkdir('/working');
FS.mount(PHPFS, '.', '/working');
```
this would maybe be an alternative for nodefs for locally storing files and and also a way to locally store files from the browser.

Now im not sure how create the compatability is between webassembly javascript and php, so if its terrible the just ignore this question.

also im mostly talking about this cuz the only other way i could possibly think of when it comes to keeping the filesystem persistent, even when browsing data is lost/deleted is just by zipping up the entire filesystem altogether and downloading it to the users computer for the user to upload to a app when they want to use the files in that filesystem

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.