Hasty Briefsbeta

Bilingual

LLM-hacker-news: LLM plugin for pulling content from Hacker News

a year ago
  • #LLM
  • #Hacker News
  • #Plugin
  • Install the LLM Hacker News plugin in the same environment as LLM using the command `llm install llm-hacker-news`.
  • Use the `hn:` fragment with a conversation thread ID to feed Hacker News content into LLM, e.g., `llm -f hn:43615912 'summary with illustrative direct quotes'`.
  • Find conversation thread IDs in the URL of the Hacker News thread.
  • For local setup, clone the repository, create a virtual environment, and install dependencies with `llm install -e '.[test]'`.
  • Run tests using `python -m pytest`.