ipfs / notes

IPFS Collaborative Notebook for Research
MIT License
402 stars 31 forks source link

Expose common IPFS bot interface for IRC, Slack, Telegram, and CLI clients integration #113

Open daviddias opened 8 years ago

daviddias commented 8 years ago

So far, we've had pinbot in our side, an IRC bot, to help us with pinning requests. It has proved to be really convenient (being the other option actually ssh'ing into a server and pinning an call ipfs pin from there) and something that other people can also use for the IPFS nodes they are running.

pinbot uses IRC to authenticate if a user is allowed or not to do pinning to the node that it is attached. What we can do is upgrade the interface to set up pinbot to accept more ways to verify auth per client (Telegram, Slack, etc) and also accept a 'token' based auth if a user wants to bypass auth completely (for example for CLI clients)

Another integration we can make is with Github, creating a repo named a ipfs/pinning and each time a issue is opened with a collection of hashes, pinbot will pin them if the user is a owner of that repo and reply on that issue when it has finished pinning.

The current version of pinbot uses hellabot, we might want to upgrade hellabot or make a pinbot version specifically (in Go, Node, or any other language really)

fazo96 commented 8 years ago

Might want to look into Hubot. It's a framework to build chat bots, and it has an adapter system so that you write the bot once and run it on Slack, Telegram, IRC and others

bergie commented 8 years ago

There seems to be a https://github.com/ipfs/ipfs-hubot repo