Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Synchronize saved HN stories to Pinboard.in using Pinboard API
Python
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
hn2pin.py
readme.md

readme.md

Hacker News to Pinboard

Synchronize saved stories on Hacker News with Pinboard.in.

The script parses the saved stories page on HN (http://news.ycombinator.com) and, for each link on the first page, it saves the story's link to Pinboard (http://pinboard.in), using the REST Pinboard API.

The script is meant to be launched periodically by a scheduler (cron, etc.)

Originally developed on iPad with the awesome Pythonista (http://omz-software.com/pythonista/)

How to use

python hn2pin.py [hn user] [hn password] [pinboard.in token]

The Pinboard.in token is available here

TODO

  • Parse also the second page of HN saved stories
  • Better handling of the script's input parameters
Something went wrong with that request. Please try again.