{"id":29907783,"url":"https://github.com/simonw/llm-hacker-news","last_synced_at":"2026-04-07T17:31:48.629Z","repository":{"id":286702234,"uuid":"962288450","full_name":"simonw/llm-hacker-news","owner":"simonw","description":"LLM plugin for pulling content from Hacker News","archived":false,"fork":false,"pushed_at":"2025-05-05T17:10:45.000Z","size":14,"stargazers_count":122,"open_issues_count":3,"forks_count":9,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-15T07:26:23.825Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/simonw.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":"simonw"}},"created_at":"2025-04-07T23:54:47.000Z","updated_at":"2025-12-02T16:44:30.000Z","dependencies_parsed_at":null,"dependency_job_id":"4d0f3378-2532-47a3-a3f8-d4336bec744a","html_url":"https://github.com/simonw/llm-hacker-news","commit_stats":null,"previous_names":["simonw/llm-hacker-news"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/simonw/llm-hacker-news","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonw%2Fllm-hacker-news","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonw%2Fllm-hacker-news/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonw%2Fllm-hacker-news/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonw%2Fllm-hacker-news/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simonw","download_url":"https://codeload.github.com/simonw/llm-hacker-news/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonw%2Fllm-hacker-news/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31522254,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T16:28:08.000Z","status":"ssl_error","status_checked_at":"2026-04-07T16:28:06.951Z","response_time":105,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-08-01T23:02:01.571Z","updated_at":"2026-04-07T17:31:48.621Z","avatar_url":"https://github.com/simonw.png","language":"Python","funding_links":["https://github.com/sponsors/simonw"],"categories":["Python"],"sub_categories":[],"readme":"# llm-hacker-news\n\n[![PyPI](https://img.shields.io/pypi/v/llm-hacker-news.svg)](https://pypi.org/project/llm-hacker-news/)\n[![Changelog](https://img.shields.io/github/v/release/simonw/llm-hacker-news?include_prereleases\u0026label=changelog)](https://github.com/simonw/llm-hacker-news/releases)\n[![Tests](https://github.com/simonw/llm-hacker-news/actions/workflows/test.yml/badge.svg)](https://github.com/simonw/llm-hacker-news/actions/workflows/test.yml)\n[![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](https://github.com/simonw/llm-hacker-news/blob/main/LICENSE)\n\nLLM plugin for pulling content from Hacker News\n\nFor background on how this works:\n\n- [Long context support in LLM 0.24 using fragments and template plugins](https://simonwillison.net/2025/Apr/7/long-context-llm/)\n- [Blog post announcing llm-hacker-news](https://simonwillison.net/2025/Apr/8/llm-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\npip install -e '.[test]'\n```\nTo run the tests:\n```bash\npython -m pytest\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimonw%2Fllm-hacker-news","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimonw%2Fllm-hacker-news","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimonw%2Fllm-hacker-news/lists"}