Skip to content

ollyg/pinboard-archive

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 

Repository files navigation

Pinboard Archiver

Download a copy of every page your bookmark in Pinboard, as images.

Prerequisites

You'll need to install a couple of modules from CPAN:

cpanm IO::Interactive Tie::Persistent WWW::Pinboard

Screenshots of web pages are made using wkhtmltoimage, which you'll need to install.

If you're using a headless Linux VM you might not have any nice fonts installed. Try the urw-fonts package from your package manager.

Usage

Configure your Pinboard API token in config.yaml then use with:

perl fetch-bookmarks --verbose

The script keeps track of where it got to, so can be stopped and restarted any time. It will also retry failed fetches on the next run.

You can run it as a one-off, but ideally run it daily on a cron to archive any new bookmarks you add. Edit config.yaml to set your log and output folders, and then add something like this to your crontab:

0 1 * * * perl /usr/bin/fetch-bookmarks

Todo

See the Issues page.

About

Download a copy of every page your bookmark in Pinboard.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Perl 100.0%