LLM-hacker-news: LLM plugin for pulling content from Hacker News
Published on: 2025-05-09 16:32:48
LLM plugin for pulling content from 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:
llm install -e ' .[test] '
To run the tests:
... Read full article.