Files: 1071bfd3ef35fb108626276bc967d1478e72f702 / README.md
803 bytesRaw
ssb-ipfs-share
Find ipfs links in posts and pin them automatically
Command line usage:
node bin.js
Sbot plugin usage:
mkdir -p ~/.ssb/node_modules
cd ~/.ssb/node_modules
git clone ssb://%1Wul6RuMYXjmXqikA5692Xlp95vgYM1aLyk6ws+6YTo=.sha256 ssb-ipfs-share && cd ssb-ipfs-share
npm install
sbot plugins.enable ssb-ipfs-share
# restart sbot
For configuration, you can change options in ~/.ssb/config, add:
"ipfsShare": {
"onlyPeopleIFollow": true,
"ifpsApiUrl":"/ip4/127.0.0.1/tcp/5001",
"timeout":"3m"
}
todo
- ☐ retry
- ☐ stats
- ☐ gc (unpin to keep % disk free)
Built with git-ssb-web