0.0.3 • Published 10 years ago
hubot-lb.cm v0.0.3
hubot-lb.cm
Hubot script for creating or expanding lb.cm shortened URLs.
Installation
- Add
hubot-lb.cm
as a dependency to your hubot:"hubot-lb.cm": ""
- Tell hubot to load it. Add
"hubot-lb.cm"
to theexternal-scripts.json
list in the hubot root folder. - Run
npm install
while you grab a beer. - 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 withShortening 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 withLookup for http://lb.cm/Zk5 returned http://www.lullabot.com