Grab recent posts from Pinboard tagged "readlater" and add them to Pocket. Meant to be run on a cron
job or such.
PINBOARD_API_TOKEN
POCKET_ACCESS_TOKEN
POCKET_CONSUMER_KEY
You can find you PINBOARD_API_TOKEN
on https://pinboard.in/settings/password
Pocket is a bit more difficult, requiring you to create an "application" and do an OAuth Request/Reponse cycle to obtain your POCKET_ACCESS_TOKEN
and POCKET_CONSUMER_KEY
. You can find out more at https://getpocket.com/developer/docs/authentication. This module does not handle getting Pocket keys. You can read a nice tutorial on doing so here.
This project requires Racket 6.3 or above.
To build a distributable/exectuable on your platform of choice, simply make build
.
Once you have an exectuable you can setup a cron
task something like so (runs every 6 minutes):
*/6 * * * * cd $HOME/pinboard-pocket; ./pinboard-pocket