Skip to content

matt-grain/paper-hn

 
 

Repository files navigation

Hacker News front page in the style of a print newspaper.

GitHub license GitHub issues Maintenance Website shields.io

How to run

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

Languages

  • HTML 35.9%
  • JavaScript 30.9%
  • Pug 17.2%
  • Shell 13.1%
  • Dockerfile 2.9%