A website that displays summarized stories from Hacker News
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
nginx
tldrhn
.gitignore
Dockerfile
LICENSE
README.md
docker-compose.yml
docker-entrypoint.sh
requirements.txt
run.py

README.md

TLDR Hacker News

A website that displays summarized stories from Hacker News.

View at [http://tldrhn.rkcf.me]

Deployment

Docker

git clone https://github.com/rkcf/tldr-hn
cd tldr-hn
docker-compose up

Add bin/docker-summarize-cron to your cron jobs to periodically summarize and cache stories.

Locally

git clone https://github.com/rkcf/tldr-hn
cd tldr-hn
virtualenv .venv
. .venv/bin/activate
pip install -r requirements.txt
python -m nltk.dowloader punkt
bin/create_db
bin/cache_stories
uwsgi --ini tldrhn/uwsgi.ini

Create a cron script referencing bin/cache_stories to periodically summarize and cache stories.