12
Teaming Up With Robot! Practical intro to HUBOT Vladimir Tarasov 2015.02.14

Teaming up with robot!

Embed Size (px)

Citation preview

Teaming UpWith Robot!

Practical intro to HUBOTVladimir Tarasov2015.02.14

It’s all for fun!

Good old days!

IRC - Internet Relay Chat created in 1988.RFCs: 1459, 2810, 2811, 2812, 2813Bots were written in shell-script.Average script size was about 200Kb.

What’s HUBOT?

It’s a bot for your team’s chat…But, with a twist!

It can be controlled through chat.It can interact with anything via APIs.Can live anywhere.It brings fun to geeks!

Blueprints

Based on: Node.JS, JS/CoffeeScript

Parts: CoreAdaptersScripts

Adapters

Hubot serves communications via adapters.

And so he’s able to communicate with:IRC (old buddy), Skype, Twitter,Campfire, XMPP, Jabbr, AIM, HipChat (Atlassian), Slack (shiny one),Kato and more...

Anatomy of a script

For a script to be a script, it needs to:Live in a directory on the hubot script load Path (src/scripts and scripts by default)Be a .coffee or .js fileExport a function

Scripts

Extend your HUBOT whatever you like!

Scripts:Old: http://goo.gl/UqIDB2 New: http://goo.gl/bNNcH3

Cloud

Software as a Service (SaaS)SaaS uses the web to deliver applications that are managed by a third-party vendor and whose interface is accessed on the clients’ side.

Platform as a Service (PaaS)This is the set of tools and services designed to make coding and deploying those applications quick and efficient.

Infrastructure as a Service (IaaS)This is the hardware and software that powers it all – servers, storage, networks, operating systems

Is the Paas with 100 services via Add-ons Marketplace

Supports Ruby, Node.js, Python, Java, and PHP

The app is divided into worker, web, queue and other process types which can be scaled up independently and on-demand.

http://goo.gl/plpAQ3

What’s next?

Links:Access rights to scripts: http://goo.gl/aZlbWr Connecting HUBOTs: http://goo.gl/pkoNhm HUBOT & Arduino: http://goo.gl/xczVFBHUBOT & Philips hue: http://goo.gl/ZvZ4qF HUBOT & Wemo: oops, nothing found. TBD?