Open daviddias opened 8 years ago
@amstocker would love to have your help on updating python-ipfs-api, 0.3.10 changed the format to ndjson for IPFS HTTP API responses and the files API is only available on 0.4.0 (which will be released 'soon')
is there any work that has been done?
Tahoe-LAFS has a built in interface to support multiple storage drivers (yeei for common interfaces 🎉) and currently supports 4 storage providers (AWS S3, Azure, OpenStack and Google Cloud Store).
We can make an Storage Driver that uses IPFS files API for Tahoe-LAFS by creating a shim that follows the same interface, using the new files API available on IPFS 0.4.0, as we did to support the blob-store interface with ipfs-blob-store.
Current storage providers on Tahoe-LAFS (note that is only available on 2237.cloud-backend.s4.2 branch):
https://github.com/tahoe-lafs/tahoe-lafs/tree/2237.cloud-backend-s4.2/src/allmydata/storage/backends/cloud
Storage Interface:
https://github.com/tahoe-lafs/tahoe-lafs/blob/2237.cloud-backend-s4.2/src/allmydata/storage/backends/cloud/cloud_common.py#L54-L96
TODO: