Skip to content

Latest commit

 

History

History
33 lines (25 loc) · 1.28 KB

README.md

File metadata and controls

33 lines (25 loc) · 1.28 KB

HackerNews Random

Go License GitHub last commit GitHub issues GitHub forks GitHub stars Language

This Go script fetches the top stories from Hacker News, selects a random story, and opens Chrome with the url

Prerequisites

  • Go 1.16 or later

Quickstart

git clone github.com/stym06/hackernews-bot.git && cd hackernews-bot
make build
source ~/.zshrc

Usage

When you run hn command now, it will open up Chrome with a random story from HackerNews

> hn show
  Tripping on Xenon Gas (2023)
  https://tripsitter.substack.com/p/xenon