Name | llm-hacker-news JSON |
Version |
0.1
JSON |
| download |
home_page | None |
Summary | LLM plugin for pulling content from Hacker News |
upload_time | 2025-04-08 00:01:13 |
maintainer | None |
docs_url | None |
author | Simon Willison |
requires_python | >=3.9 |
license | None |
keywords |
|
VCS |
 |
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# llm-hacker-news
[](https://pypi.org/project/llm-hacker-news/)
[](https://github.com/simonw/llm-hacker-news/releases)
[](https://github.com/simonw/llm-hacker-news/actions/workflows/test.yml)
[](https://github.com/simonw/llm-hacker-news/blob/main/LICENSE)
LLM plugin for pulling content from Hacker News
## Installation
Install this plugin in the same environment as [LLM](https://llm.datasette.io/).
```bash
llm install llm-hacker-news
```
## Usage
You can feed a full conversation thread from [Hacker News](https://news.ycombinator.com/) into LLM using the `hn:` [fragment](https://llm.datasette.io/en/stable/fragments.html) with the ID of the conversation. For example:
```bash
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:
```bash
cd llm-hacker-news
python -m venv venv
source venv/bin/activate
```
Now install the dependencies and test dependencies:
```bash
llm install -e '.[test]'
```
To run the tests:
```bash
python -m pytest
```
Raw data
{
"_id": null,
"home_page": null,
"name": "llm-hacker-news",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.9",
"maintainer_email": null,
"keywords": null,
"author": "Simon Willison",
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/d2/de/6b16678bb2ea7f248a56018585d83f1c8dae920b690776fca89e1315343f/llm_hacker_news-0.1.tar.gz",
"platform": null,
"description": "# llm-hacker-news\n\n[](https://pypi.org/project/llm-hacker-news/)\n[](https://github.com/simonw/llm-hacker-news/releases)\n[](https://github.com/simonw/llm-hacker-news/actions/workflows/test.yml)\n[](https://github.com/simonw/llm-hacker-news/blob/main/LICENSE)\n\nLLM plugin for pulling content from Hacker News\n\n## Installation\n\nInstall this plugin in the same environment as [LLM](https://llm.datasette.io/).\n```bash\nllm install llm-hacker-news\n```\n## Usage\n\nYou can feed a full conversation thread from [Hacker News](https://news.ycombinator.com/) into LLM using the `hn:` [fragment](https://llm.datasette.io/en/stable/fragments.html) with the ID of the conversation. For example:\n\n```bash\nllm -f hn:43615912 'summary with illustrative direct quotes'\n```\nItem IDs can be found in the URL of the conversation thread.\n\n## Development\n\nTo set up this plugin locally, first checkout the code. Then create a new virtual environment:\n```bash\ncd llm-hacker-news\npython -m venv venv\nsource venv/bin/activate\n```\nNow install the dependencies and test dependencies:\n```bash\nllm install -e '.[test]'\n```\nTo run the tests:\n```bash\npython -m pytest\n```\n",
"bugtrack_url": null,
"license": null,
"summary": "LLM plugin for pulling content from Hacker News",
"version": "0.1",
"project_urls": {
"CI": "https://github.com/simonw/llm-hacker-news/actions",
"Changelog": "https://github.com/simonw/llm-hacker-news/releases",
"Homepage": "https://github.com/simonw/llm-hacker-news",
"Issues": "https://github.com/simonw/llm-hacker-news/issues"
},
"split_keywords": [],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "1339053010f8c506bad2429a85174e855d7d281e1be3f56083146c491f7c1421",
"md5": "b433019494a65cb12e55ac3c187d91ba",
"sha256": "9d0145ff14c7db648d52badefba95706c37c4748d521ec18d2b252b52c700f76"
},
"downloads": -1,
"filename": "llm_hacker_news-0.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "b433019494a65cb12e55ac3c187d91ba",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9",
"size": 7693,
"upload_time": "2025-04-08T00:01:12",
"upload_time_iso_8601": "2025-04-08T00:01:12.140473Z",
"url": "https://files.pythonhosted.org/packages/13/39/053010f8c506bad2429a85174e855d7d281e1be3f56083146c491f7c1421/llm_hacker_news-0.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "d2de6b16678bb2ea7f248a56018585d83f1c8dae920b690776fca89e1315343f",
"md5": "9d9f48d2b7057c1262d6be83d9dfe8b7",
"sha256": "17ccbc28bed10477cf19e56b1888a19e2aa3fd56080cd26b1c874594a8d98eba"
},
"downloads": -1,
"filename": "llm_hacker_news-0.1.tar.gz",
"has_sig": false,
"md5_digest": "9d9f48d2b7057c1262d6be83d9dfe8b7",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 7944,
"upload_time": "2025-04-08T00:01:13",
"upload_time_iso_8601": "2025-04-08T00:01:13.437652Z",
"url": "https://files.pythonhosted.org/packages/d2/de/6b16678bb2ea7f248a56018585d83f1c8dae920b690776fca89e1315343f/llm_hacker_news-0.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-04-08 00:01:13",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "simonw",
"github_project": "llm-hacker-news",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "llm-hacker-news"
}