ipfs-examples / helia-examples

Ready-to-run Helia examples for Node.js and the browser
81 stars 61 forks source link

feat: create helia-remote-pinning example #86

Open SgtPooki opened 1 year ago

SgtPooki commented 1 year ago

Continuation of https://github.com/ipfs/helia/issues/180

The example should first work for pinning remote content using a backend Helia client running in NodeJS. We should also explore showing a recommended path for browser nodes to pin content remotely.

### Tasks
- [ ] Create remote pinning example from node-js
- [ ] Attempt to use methods discussed in https://github.com/ipfs/helia/issues/180 for pinning browser-authored content on a remote node directly from the browser (no backend).
SgtPooki commented 1 year ago

The plan for this is documented at https://www.notion.so/pl-strflt/create-interface-API-example-for-helia-remote-pinning-library-71011845a7b9476cb95ab425bb54455c?pvs=4 and a library will be created to make it easy for users to do remote pinning. Then the example this issue is tracking will be created.

SgtPooki commented 1 year ago

@helia/remote-pinning library has been published to NPM, unblocking this work: https://www.npmjs.com/package/@helia/remote-pinning