Skip to content

wolfgang42/paper-hn

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
bin
 
 
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Paper HN

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

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