It is a simple CLI for running commands.
To add a command, you just have to copy its code in the commands
folder.
Install Git : https://git-scm.com/downloads
Install Node : https://github.com/coreybutler/nvm-windows
Install Yarn : https://yarnpkg.com/lang/en/docs/install/
Clone this repo : git clone https://github.com/acailly/bot.git
Got to folder bot
: cd bot
Run Yarn to download dependencies : yarn
Run the bot to check it works : yarn start
Once the bot started, type help
to show available commands.
For the moment no command is available.
Run the bot and type the command add https://insert_the_command_repo_url
Create the folder commands
Go in this folder : cd commands
Clone the code of the say
command : git clone https://github.com/acailly/bot-say.git
Go back in the parent folder : cd ..
Run the bot to check it works : yarn start
Once the bot started, type help
to show available commands.
The command say
has appeared \o/.
Type say hello
and the bot say hello
Some commands needs parameters.
To set these parameters, create a file named config.yaml
in the same folder of the LICENSE
file.
See each command documentation to know what to write in this file.
Available commands are:
bot-bitbucket
: List open pull requests on BitBucket (https://github.com/acailly/bot-bitbucket)bot-bitcoin
: Get bitcoin price (https://github.com/acailly/bot-bitcoin)bot-bittorrent
: Find peers seeding a torrent (https://github.com/acailly/bot-bittorrent)bot-default-browser
: Change the default browser (https://github.com/acailly/bot-default-browser)bot-epguides
: Ask the bot about your favorite TV show (https://github.com/acailly/bot-epguides)bot-exec
: Execute a command (https://github.com/acailly/bot-exec)bot-github-trends
: Ask the bot about trending projects on github (https://github.com/acailly/bot-github-trends)bot-google-trends
: Explore Google trends (https://github.com/acailly/bot-google-trends)bot-http
: Receive commands on HTTP (https://github.com/acailly/bot-http)bot-irc
: Send commands to the bot through IRC (https://github.com/acailly/bot-irc)bot-jenkins
: Monitor Jenkins jobs (https://github.com/acailly/bot-jenkins)bot-p2pchat
: A simple P2P chat (https://github.com/acailly/bot-p2pchat)bot-pomodoro
: Start a pomodoro (https://github.com/acailly/bot-pomodoro)bot-remote
: Run command on distant bot(s) (https://github.com/acailly/bot-remote)bot-remove-proxy
: Remove the proxy! (https://github.com/acailly/bot-remove-proxy)bot-rfxcom
: Interact with 433Mhz with the RFXtrx433 ("RFXCom") (https://github.com/acailly/bot-rfxcom)bot-say
: Make the bot say something (https://github.com/acailly/bot-say)bot-schedule
: Schedule commands (https://github.com/acailly/bot-schedule)bot-set-home
: Set the HOME environment variable (https://github.com/acailly/bot-set-home)bot-slack-links
: Retrieve links posted on slack in the channel you are in (https://github.com/acailly/bot-slack-links)bot-slack-messages
: Download from Slack all messages of the channels you're in (https://github.com/acailly/bot-slack-messages)bot-sncf
: Get info on SNCF trains (https://github.com/acailly/bot-sncf)bot-translate
: Translate text in another language (https://github.com/acailly/bot-translate)bot-twitter-to-rss
: Create a RSS feed from your Twitter home timeline (https://github.com/acailly/bot-twitter-to-rss)bot-weather
: Get the weather forecast (https://github.com/acailly/bot-weather)bot-windows-kill-service
: Kill a windows service (https://github.com/acailly/bot-windows-kill-service)bot-wolfram
: Ask Wolfram Alpha (https://github.com/acailly/bot-wolfram)bot-worldcup2018
: Display scores of soccer world cup 2018 (https://github.com/acailly/bot-worldcup2018)
If you create some interesting command, please tell me or make a PR ;-)