buckket / twtxt

Decentralised, minimalist microblogging service for hackers.
http://twtxt.readthedocs.org/en/stable/
MIT License
1.91k stars 79 forks source link

IPFS support #104

Open buckket opened 8 years ago

buckket commented 8 years ago

IPFS seems like a neat way to share twtxt feeds. Currently it’s a bit complicated to distribute mutable content to the network, but it’s possible via ipfs publish. [1]

This should also be implemented as an optional, but official, plugin.

Regarding the implementation we could make use of IPFS’s HTTP/JSON API.

pkillnine commented 5 years ago

The IPFS urls could be stored in the form of ipfs://, and it could check if the user is running an ipfs daemon, and if they aren't then twtxt could attempt to download from a list of public ipfs gateways, e.g. https://ipfs.io/ipfs/<hash>.