Skip to content

semanticdata/blogs.hn

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

blogs.hn is for personal blogs! Non-technical blogs are okay too, but remember that the community is mostly folks from HackerNews.

Adding Blogs

This repo comes with a helper script fetch.js to automatically grab blog info from a URL. But feel free to manually add/edit information to blogs.json!

  1. Run the script:
npm init -y && npm i axios cheerio
node fetch.js "https://taylor.town" "https://gwern.net"
  1. Clean the output:
[
  {
    "url": "https://taylor.town",
    "title": "Taylor Troesh",
    "about": "https://taylor.town/about",
    "now": "https://taylor.town/now",
    "feed": "https://taylor.town/feed.xml",
    "desc": "🐸🐸🐸🐸🐸🐸🐸🐸🐸🐸🐸🐸🐸🐸",
    "hn": [
      {
        "created_at": "2023-04-04T11:42:33.000Z",
        "title": "How to be a -10x Engineer",
        "url": "https://taylor.town/-10x",
        "points": 875,
        "comments": 494,
        "id": "35438068"
      }
    ]
  },
  {
    "url": "https://gwern.net",
    "title": "Essays · Gwern.net",
    "about": "https://gwern.net/about",
    "feed": "https://gwern.substack.com/feed",
    "keywords": "meta",
    "desc": "Personal website of Gwern Branwen (writer, self-experimenter, and programmer): topics: psychology, statistics, technology, deep learning, anime. This index page is a categorized list of Gwern.net pages.",
    "hn": [
      {
        "created_at": "2019-01-21T12:08:15.000Z",
        "title": "On whether changes in bedroom CO2 levels affect sleep quality",
        "url": "https://www.gwern.net/zeo/CO2",
        "points": 576,
        "comments": 306,
        "id": "18959796"
      }
    ]
  }
]
  1. Add to blogs.json in a pull request. To prevent merge conflicts, please don't append to the top or bottom!

Languages

  • JavaScript 65.8%
  • CSS 23.9%
  • HTML 10.3%