Skip to content

Latest commit

 

History

History
49 lines (31 loc) · 1.62 KB

README.md

File metadata and controls

49 lines (31 loc) · 1.62 KB

hubot-sysadmin

hubot-sysadmin is a chat bot built on the Hubot framework. It was initially generated by generator-hubot. It is designed to run on Raspberry Pis, especially those with pihole configured. In this way, you can do various sysadmin tasks via simply chatting with a configured Slack channel and your hubot user!

ChatOps > SSH (for simple stuff).

Example Usage

Demo

Setup

TODO - make this reader friendly.

Install Slack, set up a workspace, get a Bot user, Get a legacy Api Token.

Install hubot-sysadmin on your raspberry pi.

Add the service to systemd

Adding your own scripts

Basically following along with /scripts/example.coffee, you can make your own little tasks.

For many common tasks, there's a good chance someone has already one to do just the thing. Check out the docs and already made scripts.

Setting up with Slack

Hubot sysadmin uses the slack adapter, so will require a slack API key. This is currently only supported under the legacy API token, which will allegedly die soon. Git em while they're hot!