Nitbit, the nitpicking nitwit, is my personal assistant and chat bot. It's built on the Hubot framework and deployed on a dedicated
Rasperry Pi Model B+. The protype's main interface is Slack and it will have audio output and a small LCD screen.
See the Wiki for further documentation on development and below for [deployment instructions](#Hubot setup).
- Responsive AI
- Changes tone based on your short- and long-term behaviour
- Different states, such as annoyance
- Expandable vocabularity
- Learns new words and phrases
- Creative cursing
- Information management
- Categorization of concepts
- Project and task management
- Raspberry Pi Model B+
- Hubot framework
- Web interfaces
- Other integrations
- LCD screen
- Toy dog
- Text-to-speech audio
To create your own Hubot instance, you need node.js and npm. You also need to install the listed dependencies below.
Install the Hubot generator and create your instance:
npm install -g yo generator-hubot yo hubot
Set the environment variables and run:
- Vital external scripts (see package.json for full list):
Necessary environment variables:
|HUBOT_SLACK_TOKEN||The bot's Slack API token|
|YOUR_SLACK_TOKEN||Your Slack API token|
For more information about the scripts, see the Scripts-wikipage.
List Slack files
Counts all files and snippets uploaded to Slack and lists them in a neat form. Also adds up the total line count.
hubot List files
Nitbit can get annoyed if memes are repeated. When annoyed, Nitbit will stop responding to most things until you apologise.
hubot Hey, the cake is a lie hubot I'm sorry
To query annoyance state (repeated queries also rack up warnings):
While in curse mode, calling Nitbit names causes it to memorize them.
hubot curseout|curseoff|cursebattle on|off hubot you are (a|an) <insult>
You can list the insults or query a word's count, or the amount of sifferent words if no word is specified.
hubot list insults hubot insult (<insult>) count
Responds to names it knows or doesn't know.
hubot My name is <name>