{"_id":"@amodalai/connection-hackernews","_rev":"2-bb6c045d18adb0bdd37e3494173098db","name":"@amodalai/connection-hackernews","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@amodalai/connection-hackernews","version":"0.1.0","_id":"@amodalai/connection-hackernews@0.1.0","maintainers":[{"name":"amodaldev","email":"dev@amodalai.com"}],"dist":{"shasum":"63739a156b75f78bcb91ed4e98cd3f2f99155b6d","tarball":"https://registry.npmjs.org/@amodalai/connection-hackernews/-/connection-hackernews-0.1.0.tgz","fileCount":7,"integrity":"sha512-cpy+uXFCdVx80LpLy/+6Et2kbIFRQGA8tmBTu19HQJoLD6Sd87iuj07dD3Yz75rZq6ZgLb+bCJL3qUTPDVSR+w==","signatures":[{"sig":"MEUCIQD3AdJl5JY7KTy/q61K+lQs9qDhp1/mcjHeiK/j9cP81wIgf5v2kd+9LcGRvoEr1X8BENYLdd0I0OnFFTruCefDw/4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":7505},"amodal":{"name":"hackernews","tags":["connection","developer tools"],"contains":["connections"],"description":"Hacker News stories, comments, user profiles, and rankings via the official Firebase API. Read-only, no authentication required."},"gitHead":"3de2212c5a2f1af1960f84c42be24d3d91056302","_npmUser":{"name":"amodaldev","email":"dev@amodalai.com"},"_npmVersion":"10.8.2","description":"Hacker News stories, comments, user profiles, and rankings via the official Firebase API. Read-only, no authentication required.","directories":{},"_nodeVersion":"20.20.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/connection-hackernews_0.1.0_1775669815041_0.9508512019030619","host":"s3://npm-registry-packages-npm-production"}}},"time":{"created":"2026-04-08T17:36:54.877Z","modified":"2026-07-03T14:56:48.899Z","0.1.0":"2026-04-08T17:36:55.193Z"},"description":"Hacker News stories, comments, user profiles, and rankings via the official Firebase API. Read-only, no authentication required.","maintainers":[{"email":"dev@amodalai.com","name":"amodaldev"},{"email":"cyrilauberger@gmail.com","name":"cyril-dfi"}],"readme":"# Hacker News Connection\n\nConnects your agent to the Hacker News API for stories, comments, user profiles, and rankings. Read-only access to all public data via the official Firebase API. No authentication required.\n\n## Authentication\n\nNo authentication required. The Hacker News API is public.\n\n## Endpoints\n\n### Items\n- `GET /item/{id}.json` — Get any item (story, comment, job, poll) by ID\n- `GET /maxitem.json` — Get the current maximum item ID\n\n### Users\n- `GET /user/{id}.json` — Get user profile by username\n\n### Story Rankings\n- `GET /topstories.json` — Top 500 story IDs, ranked by score\n- `GET /newstories.json` — Newest 500 story IDs\n- `GET /beststories.json` — Best 500 story IDs\n- `GET /askstories.json` — Current Ask HN story IDs\n- `GET /showstories.json` — Current Show HN story IDs\n- `GET /jobstories.json` — Current job posting IDs\n\n## Rules\n\n- No authentication or API key required\n- No official rate limit currently — be a good citizen, limit to ~10 req/s\n- All endpoints require the `.json` suffix\n- Story list endpoints return arrays of integer IDs — fetch each item individually\n- Text fields contain HTML, not plain text\n- All timestamps are Unix epoch seconds\n- Items can be stories, comments, jobs, polls, or poll options — use the `type` field to distinguish\n","readmeFilename":"README.md"}