jutebag

A command line interface for Pocket a.k.a. getpocket.com a.k.a. Read It Later

npm install jutebag
1 downloads in the last day
7 downloads in the last week
19 downloads in the last month

jutebag

A command line interface for the incredible Pocket a.k.a. getpocket.com a.k.a. Read It Later service.

Installation

$ npm install -g jutebag

Commands

init

$ jb init

The Pocket authentication process. In order to interact with the Pocket service we have to do a handshake first.

add

Usage:

$ jb add [url] [--tags or -t] "comma, separated, tags"

Example:

$ jb add http://joyent.com/blog/watch-it-wednesdays-where-node-goes-from-here -t "node.js, future"

Adds the given URL to your reading list (you have to check this URL if you are interested in Node.js ;). Please note that defining tags is optional.

all

Usage:

$ jb all [--tags or -t] "comma, separated, tags"

Example:

$ jb all -t "node.js, future"

This command lists all your items. It does not matter if it is an archived or an unread item. The tag parameter is (as always) optional.

archive

Usage:

$ jb archive [--tags or -t] "comma, separated, tags"

Example:

$ jb archive -t "video"

Lists all your archived items. The tag parameter is (as always) optional.

unread

Usage:

$ jb unread [--tags or -t] "comma, separated, tags"

Example:

$ jb unread -t "node.js" # Lists all unread items with the tag "node.js"

Lists all your unread items. The "tag parameters" are optional.

License

MIT License

Author

Copyright (c) 2013, André König (Google+) (andre.koenig -[at]- gmail [dot] com)

Changelog

v0.3.0 (20130321)

  • New command for listing all items from the archive: jb archive
  • New command for listing all items (unread and archived): jb all

v0.2.0 (20130320)

  • New command "jb unread". Lists all unread items.
  • Filter function for displaying unread items with a specific tag (e.g. jb unread --tags "node.js")
  • New internal command architecture. Sweet!

v0.1.1 (20130318)

  • Functionality for defining tags while adding a website (--tags or -t).
  • Exception handling for connection problems.

v0.1.0 (20130318)

  • Functionality for adding websites to your reading list.
  • Initial version
npm loves you