Generate a markdown blog post from recent pinboard bookmarks
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.vscode
records
.envrc
.envrc.personal.tmpl
.gitignore
Makefile
README.md
pinlinks.py
requirements.txt

README.md

Pinlinks

Read recent n-days Pinboard links, which have a tag recommended, and generate digested Markdown files.

Prerequisites

Usage

Run

make PINBOARD_TOKEN="MY_PINBOARD_API_TOKEN" TAGS="recommended, starred" FROM_DATE="2018-10-13" TO_DATE="2018-10-15"

or

export PINBOARD_TOKEN="MY_PINBOARD_API_TOKEN"
export TAGS="recommended, starred"
export FROM_DATE="2018-10-13"
export TO_DATE="2018-10-15"
make

then check Markdown files in output directory.

Caution! make only works on MacOS.

Helpful resources

You can find sample files from the directory records/.

TODO & Issues

  • Wordpress Gutenberg editor can not properly handle blockquote in a list item.
  • Generate a random cover image. Unsplash might be useful for this purpose.
  • Add the Unsplsh badge.
  • Add this project link.