Watch a URL for new comments and likes with cross-platform desktop notifications.
Project description
HN-Watch
HN-Watch watches a Hacker News post and alerts you when it gets new comments or more points.
It works on Linux, macOS, and Windows.
Install
From PyPI:
pip install hn-watch
From this repo:
pip install .
Use
Watch a post:
hn-watch --url "https://news.ycombinator.com/item?id=47779274"
Or run it and paste the URL when prompted:
hn-watch
Useful options:
hn-watch --url "https://news.ycombinator.com/item?id=47779274" --interval 30
hn-watch --url "https://news.ycombinator.com/item?id=47779274" --show-unchanged
What It Does
- watches one Hacker News item URL
- checks for new comments
- checks for point increases
- sends a desktop notification when counts go up
- uses the official Hacker News API
Notes
- only supports Hacker News item URLs
- ignores
#commentfragments and watches the main item - prints alerts in the terminal even if desktop notifications are unavailable
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file hn_watch-0.1.1.tar.gz.
File metadata
- Download URL: hn_watch-0.1.1.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e3f5802c659393963a4ab83d99cff9ad06ff1ea589b73a8fd91558a0d7efdc80
|
|
| MD5 |
8852f97a4e53f3aa7262f30dc3ba7b88
|
|
| BLAKE2b-256 |
6a755956caaa9dce1c7eed65b4746ac952f30ea54a0ca77f7195c09ae8aba11d
|
Provenance
The following attestation bundles were made for hn_watch-0.1.1.tar.gz:
Publisher:
publish.yml on hayden3456/hn-watch
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
hn_watch-0.1.1.tar.gz -
Subject digest:
e3f5802c659393963a4ab83d99cff9ad06ff1ea589b73a8fd91558a0d7efdc80 - Sigstore transparency entry: 1310288456
- Sigstore integration time:
-
Permalink:
hayden3456/hn-watch@515cdd6d7e53fefc624324b2f0c352bde65a6691 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/hayden3456
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@515cdd6d7e53fefc624324b2f0c352bde65a6691 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file hn_watch-0.1.1-py3-none-any.whl.
File metadata
- Download URL: hn_watch-0.1.1-py3-none-any.whl
- Upload date:
- Size: 5.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4ee05b45f7d5f5f8402a33dc95233f230d1eccb1b078ff42861a76ef6978f0cb
|
|
| MD5 |
8b9bcb191663607490896f3d75c142c3
|
|
| BLAKE2b-256 |
974b65af4911922402f6e8fa41e97f61a6eb61a7c6fe6b4ba4ae925f6e83cec9
|
Provenance
The following attestation bundles were made for hn_watch-0.1.1-py3-none-any.whl:
Publisher:
publish.yml on hayden3456/hn-watch
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
hn_watch-0.1.1-py3-none-any.whl -
Subject digest:
4ee05b45f7d5f5f8402a33dc95233f230d1eccb1b078ff42861a76ef6978f0cb - Sigstore transparency entry: 1310288547
- Sigstore integration time:
-
Permalink:
hayden3456/hn-watch@515cdd6d7e53fefc624324b2f0c352bde65a6691 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/hayden3456
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@515cdd6d7e53fefc624324b2f0c352bde65a6691 -
Trigger Event:
workflow_dispatch
-
Statement type: