LLM plugin for pulling content from Hacker News
Install this plugin in the same environment as LLM.
llm install llm-hacker-news
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.
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:
To run the tests: