/AutoBot

Awesome little automater

Primary LanguagePowerShellMIT LicenseMIT

AutoBot

teamcity.codebetter AutoBot build status

Introduction

AutoBot is inspired by GitHub's splendid HUBOT and a childhood love of Transformers, AutoBot however is a chat bot for the Windows crew.

  • The core bot engine is written in C# (.NET 4), his functionality and extensibility is provided by the addition of PowerShell 2.0 script modules which are dynamically loaded and executed at runtime.
  • AutoBot currently chats only with the XMPP powered awesomeness that is HipChat using the jabber-net library

WARNING: AutoBot is an infant and has some obvious (and other not so obvious) restrictions/issues/flaws, please take a look at AutoBot's current issues before continuing.

Building Your AutoBot

  1. Setup Git

  2. Get AutoBot source by cloning the github repo

     $ git clone git@github.com:lholman/AutoBot.git
    
  3. Build AutoBot

     C:\AutoBot>rename "src\AutoBot\App.config.example"  "src\AutoBot\App.config"
     
     C:\AutoBot>build.bat
    

Running Your AutoBot

  • Set PowerShell Execution policy (be sure to use the 32 Bit Powershell Command Prompt as an Administrator) PS C:>Set-ExecutionPolicy RemoteSigned

  • As a CommandLine App

      C:\AutoBot\build\>AutoBot.exe
    
  • As a Windows Service

      C:\AutoBot\src\>Install AutoBot service.bat
      
      Then simply Start\Stop the service in services.msc until your hearts content
    

Scripts

AutoBot's scripts are written in PowerShell.
AutoBot comes with a couple of simple scripts to get you started. If you'd like to contribute to his library of scripts please head over to the community scripts repository at AutoBot-Scripts and get scripting.

Contributing To AutoBot Scripts

  1. Head over to AutoBot-Scripts

Contributing To AutoBot's Core Engine

  1. Check out AutoBot's current issues
  2. Fork it.
  3. Create a branch (git checkout -b my_autobot)
  4. Commit your changes (git commit -am "Added cool feature")
  5. Push to the branch (git push origin my_autobot)
  6. Create an Issue with a link to your branch for everyone to discuss
  7. If your contribution is needed/wanted we will ask you to send us a Pull Request and merge your changes in

License

AutoBot is released under the MIT license