Hacker News front page in the style of a print newspaper.
yarn install
node ./bin/generate-html.mjs
This will create an index.html
file which you can view.
To automatically regenerate the output as you make changes:
yarn run watch
To update the list of stories on the front page:
rm cache/hn/*.json