LLM plugin for pulling content from Hacker News
Project description
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
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 llm_hacker_news-0.1.1.tar.gz.
File metadata
- Download URL: llm_hacker_news-0.1.1.tar.gz
- Upload date:
- Size: 8.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
34c9187a406958bec08dda29b49a7689c29d504d36363426d48c653273210fd6
|
|
| MD5 |
1c0fb5e5768bbc3b732fdfe3a5bd52ff
|
|
| BLAKE2b-256 |
5bf64e24f205a3ce71ed56dbda9e3199b8f3f5f8de3d82fe3be8e2245ff2950a
|
Provenance
The following attestation bundles were made for llm_hacker_news-0.1.1.tar.gz:
Publisher:
publish.yml on simonw/llm-hacker-news
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
llm_hacker_news-0.1.1.tar.gz -
Subject digest:
34c9187a406958bec08dda29b49a7689c29d504d36363426d48c653273210fd6 - Sigstore transparency entry: 206978223
- Sigstore integration time:
-
Permalink:
simonw/llm-hacker-news@f33d99c92ed2bb047d675251f6c43b010d8b916f -
Branch / Tag:
refs/tags/0.1.1 - Owner: https://github.com/simonw
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@f33d99c92ed2bb047d675251f6c43b010d8b916f -
Trigger Event:
release
-
Statement type:
File details
Details for the file llm_hacker_news-0.1.1-py3-none-any.whl.
File metadata
- Download URL: llm_hacker_news-0.1.1-py3-none-any.whl
- Upload date:
- Size: 7.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
31d4a7484e7e7d0f8cf4c3bd0f24b6283dffed6fd2fa47d5068277df266fa9b0
|
|
| MD5 |
798ab930df23748ab579f8a578d5ffb7
|
|
| BLAKE2b-256 |
1a49c9009ee8f6cfc7232694c1ad2cdbc5a49026419b64346ffc7e72aa20542f
|
Provenance
The following attestation bundles were made for llm_hacker_news-0.1.1-py3-none-any.whl:
Publisher:
publish.yml on simonw/llm-hacker-news
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
llm_hacker_news-0.1.1-py3-none-any.whl -
Subject digest:
31d4a7484e7e7d0f8cf4c3bd0f24b6283dffed6fd2fa47d5068277df266fa9b0 - Sigstore transparency entry: 206978224
- Sigstore integration time:
-
Permalink:
simonw/llm-hacker-news@f33d99c92ed2bb047d675251f6c43b010d8b916f -
Branch / Tag:
refs/tags/0.1.1 - Owner: https://github.com/simonw
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@f33d99c92ed2bb047d675251f6c43b010d8b916f -
Trigger Event:
release
-
Statement type: