Skip to main content
 

Hacker News Ingested

Here's some q&d scripting to pull your comments into a bunch of shpub commands. You'll need to edit some of the quoting, but it works well!

curl https://hnrss.org/threads.jsonfeed?id=lindner |jq > hackernews-plindner-threads.json
cat hackernews-plindner-threads.json | jq -r '.items[]| "shpub note --html --syndication=" + .url + " --published=" + .date_published + " --name=\"" + .title + "\" - <<EOF\n" + .content_html + "\nEOF\n\n"'