llm-hacker-news
LLM plugin for pulling content from Hacker News
For background on how this works:
- Long context support in LLM 0.24 using fragments and template plugins
- Blog post announcing llm-hacker-news
Installation
Install this plugin in the same environment as LLM.
llm install llm-hacker-news
Usage
You can feed a full conversation thread from Hacker News into LLM using the hn: fragment with the ID of the conversation. For example:
llm -f hn:43615912 'summary with illustrative direct quotes'
Item IDs can be found in the URL of the conversation thread.
Development
To set up this plugin locally, first checkout the code. Then create a new virtual environment:
cd llm-hacker-news
python -m venv venv
source venv/bin/activate
Now install the dependencies and test dependencies:
pip install -e '.[test]'
To run the tests:
python -m pytest
Release files for llm-hacker-news 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| llm_hacker_news-0.1.1.tar.gz | 8.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| llm_hacker_news-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 16.0 kB
Release files / llm_hacker_news-0.1.1.tar.gz
| Download URL | llm_hacker_news-0.1.1.tar.gz |
|---|---|
| Size | 8.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
34c9187a406958bec08dda29b49a7689c29d504d36363426d48c653273210fd6
|
|
BLAKE2b-256 checksum How to use checksums |
5bf64e24f205a3ce71ed56dbda9e3199b8f3f5f8de3d82fe3be8e2245ff2950a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 5, 2025.
Transparency logRelease files / llm_hacker_news-0.1.1-py3-none-any.whl
| Download URL | llm_hacker_news-0.1.1-py3-none-any.whl |
|---|---|
| Size | 7.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
31d4a7484e7e7d0f8cf4c3bd0f24b6283dffed6fd2fa47d5068277df266fa9b0
|
|
BLAKE2b-256 checksum How to use checksums |
1a49c9009ee8f6cfc7232694c1ad2cdbc5a49026419b64346ffc7e72aa20542f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 5, 2025.
Transparency log