Mastodon: Feature: file storage plugin of IPFS

Created on 28 May 2018  路  2Comments  路  Source: tootsuite/mastodon

I am a mastodon heavy user, and a huge fan of IPFS.
For the purpose of decentralization, how about we build a storage plugin to store images
to IPFS
?
I've read IPFS code but not familiar with mastodon code, any idea of where should I start?


  • [x] I searched or browsed the repo鈥檚 other issues to ensure this is not a duplicate.

Most helpful comment

One thing we can get benifit from IPFS is that if other instance don't support IPFS we can just render it from public gateway(ipfs.io/xxx) and the image hash.

All 2 comments

duplicate of #360

to get any benefit from using IPFS, you'd have to have other instances using it as well鈥攐therwise there's no benefit over just storing the images locally.

what are your thoughts for how an ipfs plugin would function from a high level?

from a technical level, what you'd want to do is read the Paperclip docs on how to implement a storage backend.

One thing we can get benifit from IPFS is that if other instance don't support IPFS we can just render it from public gateway(ipfs.io/xxx) and the image hash.

Was this page helpful?
0 / 5 - 0 ratings