This repository was archived by the owner on Feb 12, 2024. It is now read-only.
This repository was archived by the owner on Feb 12, 2024. It is now read-only.
Plans to add ls, object.stat, swarm.connect? #3252
Closed
Description
We’re planning to use a shared IPFS worker on our webnative apps, so your data is available instantly across all those apps. We’ve added a HTML file and worker JS file to our auth lobby, so you can load that in using an iframe.
Staging version of that HTML file:
https://round-aquamarine-dinosaur.fission.app/ipfs.html
Ideally you won’t need to think about iframes at all, and the webnative sdk will handle that for you.
For this to work we would need a few extra methods on ipfs-message-port-client:
ls
, listing directory contents.object.stat
, getting the size of directories and files.swarm.connect
, connecting to peers.
Are you planning on adding these methods?
Also posted to our forum https://talk.fission.codes/t/shared-ipfs-worker/996 cc @icidasset