Store state and 9p filesystem in IndexedDB #778
krishenriksen
started this conversation in
Ideas
Replies: 2 comments
-
I personally use localForage because it simplifies the complexity of IndexDB |
Beta Was this translation helpful? Give feedback.
0 replies
-
My fork uses filer.js (a node like FS library in the browser with unix permissions and all the jazz) for the filesystem (code taken from humphd's browser shell) for 9p persistence. It works pretty well https://github.com/MercuryWorkshop/v86/blob/master/lib/9p-filer.js |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
An example would be to initialize
V86Starter
without defininginitial_state
Then Load or Store the state using IndexedDB
Beta Was this translation helpful? Give feedback.
All reactions