Giter Club home page Giter Club logo

informatics-lab.labby-the-rat's Introduction

Labby Build Status Docker Repository on Quay

Labby is a chat bot built on the Hubot framework.

For more information about generic hubot behaviour see hubot.md.

Labby now runs on Docker!

Extending Labby

You can extend Labby in a few ways. Once you've done this see the restart instructions below to make the changes take effect.

hubot-scripts

Labby has the (now depricated) hubot-scripts package installed. You can add a script from that package by adding the script name to hubot-scripts.json.

External hubot scripts

New Hubot scripts are externally packaged and installed via npm. To add an external package you just add it as a dependency in package.json and include the package name in external-scripts.json.

A full list of external packages can be found in the hubot-scripts org.

Custom scripts

You can also add your own scripts by creating a coffee-script file in the scripts directory in this repository. Sometimes this is better than using hubot-scripts or external scripts as you can customise them for Labby, just copy the contents of the desired script and hack away.

See example.coffee for a ton of good examples to get you started. There are also a ton of tutorials, this is one of the better ones.

Reloading Labby

Labby is currently running two scripts which allow you to update him without accessing his server.

First you must make your changes to this repository and make sure they are merged into master. Then open a direct chat with Labby in slack and tell him to update yourself and to reload all scripts.

Labby should then be good to go with your new functionality.

Testing Labby

Tests can be run using npm run test

informatics-lab.labby-the-rat's People

Contributors

alastair-gemmell-lab avatar jacobtomlinson avatar ryleysill93 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.