Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Implement IPFS as a NextCloud external storage "app" #7
There is still a desperate need for an IPFS Nextcloud app.
The feature request on Nextcloud was closed as they felt (correctly) that this was best implemented as a Nextcloud App, not in Nextcloud itself. Currently, the only distributed backup solution Nextcloud has is Sia, which is complicated, requiring mining or buying an obscure cryptocurrency before being able to store anything on the network. Meanwhile, a simple IPFS solution that has a user with spare storage automatically seed encrypted data equal in size to what they're storing on the network, could have the simplicity to bring distributed storage - with IPFS - to an unprecedented number of people.
Nextcloud is growing exponentially (there are literally millions of installs - check out the NEC announcement in 2018). An IPFS app in the Nextcloud store could easily be a gateway to get the benefits of IPFS out to the world and help backup and seed data.
Nextcloud is also running a competition until the end of August for new app developers which could help raise the profile of a new, even preliminary app, manyfold.
If ever there was a time for this, it's now.
Thanks for the poke @Bugsbane! Here's the app contest:
Here's the example storage app the Nextcloud dev pointed at to use as an example: https://github.com/icewind1991/files_external_ftp
So a start could be to clone that project, and refactor to use IPFS from PHP, connecting to a local IPFS node.
A couple of PHP adapters exist, from a cursory search: