twtxt
twtxt copied to clipboard
IPFS support
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.
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>
.