Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

stym06/hackernews-bot

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

HackerNews Bot for random story

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published
Morty Proxy This is a proxified and sanitized view of the page, visit original site.