Comment

Comment by ftio

I generate the Bookmarks [1] section of my static site from the public bookmarks in my Pinboard account.

Since I host with Netlify, I've written a lightweight Netlify function that looks at my Pinboard account for changes. If there are changes, it simply re-runs the static site build. During the build, Lektor, the static site generator, runs a custom plugin I've written that generates the link blog page from the Pinboard API.

Definitely more work than it was "worth", but as a person who doesn't get to write lots of code every day, it was a blast putting it all together.

1. https://www.ft.io/bookmarks/

parent ftio 1 year ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton