url-screenshot-imgur-browser
A command line tool to Add a url, take a screenshot, upload to imgur, and open in the browser.
Installation
npm install -g usib
Command-line Usage:
You must set an API key before CLI use; get one at http://imgur.com/register/api_anon
Set your API key once and forget it (saved to ~/.imgurkey)
node ./cli.js -k aCs53GSs4tga0ikp
Upload a local image
node ./cli.js -u caonima.jpg
Capture a page with given url
node ./cli.js -c http://xvfeng.me
Capture and Upload and Open in a browser
node ./cli.js -a http://xvfeng.me
Requirements
- phantomjs
brew update && brew install phantomjs
- imgur api_key set the imgur client_id
Liscense:
WTFPL