Skip to content

alnacle/pocket-cli

Repository files navigation

pocket-cli

Command line interface for Pocket

Dependencies:

Compilation

Compilation has to be done in two steps. First, we must compile the pocket-auth tool:

$ make 

Once compiled, the next step is to generate the authentication tokens from Pocket

$ ./pocket-auth 
$ Open your browser and go to: 
$
$ http://getpocket.com/developer/apps/new
$
$ paste here the autogenerated consumer-key string: 1234-abcde1dc0d5733a4d4b81936e
$
$ Received token: 123456abc-3eb0-cf32-0f92-6ff5b6
$
$ Enter the following URL and confirm the app (Enter when done)
$
$ https://getpocket.com/auth/authorize?request_token=123456abc-3eb0-cf32-0f92-6ff5b6&redirect_uri=https://github.com 
$
$ config.h file successfully created. Continue with 'make pocket-cli'

We are ready to go:

$ make pocket-cli 

Usage

$ echo 'http://github.com' | pocket-cli 

About

Command line interface for Pocket

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published