Introduction
to
Hubot
               @cppgohan
Made by                   ! Power by Node.js + CoffeeScript!
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
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/
2 Parts for customize:
    •   adapter
      •   shell(default)
      •   campfire
      •   irc
      •   ...
    •   hubot-script
      •   google-images
      •   maps
      •   youtube
      •   9gag
      •   play
Come on, a script example!

                             https://gist.github.com/1909063
Result!
Come once more!
                  https://gist.github.com/1909392
Result again, use irc:
Result again, use campfire:




  https://baozishan.campfirenow.com/room/482063/transcript/2012/02/26
reference pages


 • http://hubot.github.com/
 • http://nodejs.org
 • http://coffeescript.org/
 • https://github.com/github/hubot-scripts
THE END! BUT... 折騰不止!
  期待大家的精彩分享, 热烈讨论, 欢迎交流. I’m @cppgohan.
                blog.baozishan.in

Introduction to hubot

  • 1.
  • 2.
    Made by ! Power by Node.js + CoffeeScript! 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
  • 3.
    Hutbot @GitHub cando: • 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/
  • 4.
    2 Parts forcustomize: • adapter • shell(default) • campfire • irc • ... • hubot-script • google-images • maps • youtube • 9gag • play
  • 5.
    Come on, ascript example! https://gist.github.com/1909063
  • 6.
  • 7.
    Come once more! https://gist.github.com/1909392
  • 8.
  • 9.
    Result again, usecampfire: https://baozishan.campfirenow.com/room/482063/transcript/2012/02/26
  • 10.
    reference pages •http://hubot.github.com/ • http://nodejs.org • http://coffeescript.org/ • https://github.com/github/hubot-scripts
  • 11.
    THE END! BUT...折騰不止! 期待大家的精彩分享, 热烈讨论, 欢迎交流. I’m @cppgohan. blog.baozishan.in