Synchronize saved HN stories to using Pinboard API
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

Hacker News to Pinboard

Synchronize saved stories on Hacker News with

The script parses the saved stories page on HN ( and, for each link on the first page, it saves the story's link to Pinboard (, 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 (

How to use

python [hn user] [hn password] [ token]

The token is available here


  • Parse also the second page of HN saved stories
  • Better handling of the script's input parameters