TheDiscordian / ipfs-sync

A simple daemon which will watch files on your filesystem, mirror them to MFS, automatically update related pins, and update related IPNS keys.
BSD 3-Clause "New" or "Revised" License
95 stars 14 forks source link

Estuary Support #49

Closed TheDiscordian closed 3 years ago

TheDiscordian commented 3 years ago

Using Estuary users could store data long-term for free using the Filecoin network. I think this would be a nice alternative to #42 (but don't worry, both issues are accepted).

TheDiscordian commented 3 years ago

Looks like this should be easy:

  1. Hit this API: https://api.estuary.tech/pinning/pins
  2. With { "name": "root dir name", "cid": "cidofrootdir" }
  3. Include in header Authorization: Bearer API_KEY_HERE
TheDiscordian commented 3 years ago

Actually that commit only supports adding pins, let's add removal support too.