Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement IPFS as a NextCloud external storage "app" #7

Open
autonome opened this issue May 14, 2019 · 11 comments
Open

Implement IPFS as a NextCloud external storage "app" #7

autonome opened this issue May 14, 2019 · 11 comments

Comments

@autonome
Copy link

See discussion here:

nextcloud/server#385

Great example of the questions that end up as blockers: privacy, encryption, space concerns, mixed public/private use.

@autonome autonome changed the title Implement a NextCloud "app" Implement IPFS as a NextCloud external storage "app" May 14, 2019
@Bugsbane
Copy link

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.

@autonome
Copy link
Author

autonome commented Aug 6, 2019

Thanks for the poke @Bugsbane! Here's the app contest:

https://nextcloud.com/blog/all-app-developers-put-your-hands-up-best-nextcloud-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:

@zicmama
Copy link

zicmama commented Jan 1, 2020

@autonome Could work backwards?! adding to NextCloud after ipfs add command :)
https://gist.github.com/tavinus/93bdbc051728748787dc22a58dfe58d8

@justicenode
Copy link

I did a thing. Still has some issues with writing, but that's probably the best i can do for now.

@sunjam
Copy link

sunjam commented Apr 30, 2020

I did a thing. Still has some issues with writing, but that's probably the best i can do for now.

You are a god!

@autonome
Copy link
Author

autonome commented May 1, 2020

@autonome Could work backwards?! adding to NextCloud after ipfs add command :)
https://gist.github.com/tavinus/93bdbc051728748787dc22a58dfe58d8

Nice! Sorry, I didn't see this earlier... looks like a rad way to pipeline content into NextCloud.

@autonome
Copy link
Author

autonome commented May 1, 2020

I did a thing. Still has some issues with writing, but that's probably the best i can do for now.

Thanks so much for getting this started!! Huge step forward - which enables others to contribute and help.

Pretty sure we're getting metadata soon, which might help with the timestamp issues. Will look for link...

@autonome
Copy link
Author

autonome commented May 1, 2020

@justicenode metadata is already in js-ipfs, and coming to go-ipfs: ipfs/kubo#6920

@justicenode
Copy link

@autonome thanks I will most likely wait for a release with that but we'll see

@justicenode
Copy link

I was wrong. I played around with js-ipfs and got it to work after many tedious hours. If you're interested click here. It currently only supports js-ipfs version 41.0 and up.

@bam80
Copy link

bam80 commented May 4, 2020

I did a thing.

Good. The next thing is SWARM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants