0.0.3 • Published 10 years ago

hubot-lb.cm v0.0.3

Weekly downloads
1
License
-
Repository
github
Last release
10 years ago

hubot-lb.cm

Hubot script for creating or expanding lb.cm shortened URLs.

NPM version Dependency check

Installation

  1. Add hubot-lb.cm as a dependency to your hubot: "hubot-lb.cm": ""
  2. Tell hubot to load it. Add "hubot-lb.cm" to the external-scripts.json list in the hubot root folder.
  3. Run npm install while you grab a beer.
  4. Set environment variable HUBOT_LBCM_API_KEY to an administrative user's API key from lb.cm.

Usage

  • Create new short URLs by using hubot shorten|lb.cm (me) <url>
    • hubot lb.cm http://www.lullabot.com will reply with Shortening for http://www.lullabot.com returned http://lb.cm/Zk5
  • Expand URLs by simply posting the lb.cm URL
    • http://lb.cm/Zk5 will automatically trigger the bot to reply with Lookup for http://lb.cm/Zk5 returned http://www.lullabot.com
0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago