Skip to content

ksh7/best-hn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

✨ best-hn

Best of HackerNews to save time. It generates summary of top stories reaching > 200 score, so that you don't have to visit hackernews again and again to check top stories.

Summary Cards - Sample

Summary Card

how to use

  • use huey instance to save summary of top stories every two hours
  • use now.py to get last 4 hours top stories summary

installation

clone the project

$ git clone https://github.com/ksh7/best-hn.git
$ cd best-hn

create virtual environment using python3 and activate it

$ python3 -m venv /path/to/your/virtual/environment
$ source <path/to/venv>/bin/activate

install dependencies in virtualenv

$ pip install -r requirements.txt

Run background scheduler

start huey scheduler instance

$ sudo huey_consumer.py huey_app.huey -w 2 &

check summary images in hn-summary folder date-wise

Fetch last 4 hours stories

$ python now.py

check summary images in hn-summary-now folder date-wise

About

Best of HackerNews to save time

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages