git ssb

0+

clemo / ssb-ipfs-share



forked from arj / dat-share
Tree:
📄README.md
📄bin.js
📄index.js
📄lib.js
📄package-lock.json
📄package.json
README.md

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

special thanks to arj for writing dat-share

Built with git-ssb-web