Skip to content

simonw/llm-hacker-news

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

llm-hacker-news

PyPI Changelog Tests License

LLM plugin for pulling content from Hacker News

For background on how this works:

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

About

LLM plugin for pulling content from Hacker News

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Languages