Slide 1

Slide 1 text

Introduction to Hubot @cppgohan

Slide 2

Slide 2 text

Node.js == server-side JavaScript environment that uses an asynchronous event-driven mode CoffeeScript == a little language that compiles into JavaScript Redis == Key-Value data store Made by ! Power by Node.js + CoffeeScript!

Slide 3

Slide 3 text

Hutbot @GitHub can do: • unlock the door to our office • print out a list of the people currently in the office based on their wifi presence • find an apartment in the area to rent • deploy GitHub • give you a quote from any movie or TV show • tell you the build status of any git branch • SMS any GitHubber from Campfire • embed a seven day weather forecast http://zachholman.com/posts/why-github-hacks-on-side-projects/

Slide 4

Slide 4 text

2 Parts for customize: • adapter • shell(default) • campfire • irc • ... • hubot-script • google-images • maps • youtube • 9gag • play

Slide 5

Slide 5 text

Come on, a script example! https://gist.github.com/1909063

Slide 6

Slide 6 text

Result!

Slide 7

Slide 7 text

Come once more! https://gist.github.com/1909392

Slide 8

Slide 8 text

Result again, use irc:

Slide 9

Slide 9 text

Result again, use campfire: https://baozishan.campfirenow.com/room/482063/transcript/2012/02/26

Slide 10

Slide 10 text

• http://hubot.github.com/ • http://nodejs.org • http://coffeescript.org/ • https://github.com/github/hubot-scripts reference pages

Slide 11

Slide 11 text

THE END! BUT... ંಅෆࢭ! ظ଴େՈతਫ਼࠼෼ڗ, 热྽讨论, 欢ܴަྲྀ. I’m @cppgohan. blog.baozishan.in