Skip to main content

daily_hn

Tests Linux OSX Python Version PyPi Black

daily_hn demo

Description

A command line tool for displaying and opening links to the current best stories from news.ycombinator.com (Hacker News).

You can find the best stories page this program parses here!

Dependencies

Installation

Pypi

Install or update to latest version

python3 -m pip install daily-hn --upgrade

If you are on Windows, also install windows-curses

pip install windows-curses daily-hn --upgrade

Manual Installation

Make sure you have python3 and git installed

Install Python requirements

python3 -m pip install requests beautifulsoup4

Install

git clone https://github.com/Rolv-Apneseth/daily_hn.git
cd daily_hn
sudo make install

Uninstall

sudo make uninstall

Usage

After installation, the program can be launched from your terminal by running daily_hn (on Windows, use python -m daily_hn unless you added the site-packages folder to your Path).

With the curses UI (default), you can open up stories (uses the default browser) by pressing the shortcut key to the left of that story. Navigate up and down using either j and k for fine movements or { and } for bigger jumps. To quit, press q.

To simply print out a list of stories (links being clickable depends on your terminal emulator), provide the -p flag i.e. daily_hn -p.

License

MIT

Metadata

Release files for daily-hn 0.1.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for daily-hn 0.1.5
File Size Uploaded
daily_hn-0.1.5.tar.gz 6.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for daily-hn 0.1.5
File Interpreter ABI Platform
daily_hn-0.1.5-py3-none-any.whl Python 3 none any Details

Total release size: 12.6 kB

Release files / daily_hn-0.1.5.tar.gz

Download URL daily_hn-0.1.5.tar.gz
Size 6.2 kB
Tags Source
SHA-256 checksum
How to use checksums
fb1ddbfa17cff9d6bdbd403b1b70b50d445c6a1f652c313407f06897d628c578
BLAKE2b-256 checksum
How to use checksums
b9a2e79fd85ba72b207b9914c6e0c7bd1745129864110b5ee940324bccaace05
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.15

Release files / daily_hn-0.1.5-py3-none-any.whl

Download URL daily_hn-0.1.5-py3-none-any.whl
Size 6.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6d2897b437ac9d0890c67517868db33e0c40ce4df06b9f80e4528b3f47db3478
BLAKE2b-256 checksum
How to use checksums
ff1fe82bbda0f00dd4c88a118692106ba49927d4dd98eef3ea1bba149905d77d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.15

Release history Release notifications | RSS feed

This release

0.1.5 This release

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page