Chrome/Edge extension showing story image previews and descriptions beside the headlines.
Features:
- 16:9 story thumbnail on each item
- favicon before the title
- OG/meta description line under the title
- hover preview card
- click-to-open lightbox with zoom controls
- on-site toggle + size control
Install
Load unpacked
- Open
chrome://extensions - Enable Developer mode
- Click Load unpacked
- Select this repository
- Open hcker.news
Settings
Open the extension’s options page to configure:
- Enable thumbnails
- API base URL
Settings sync via chrome.storage.sync and apply live.
Keyboard
- I — toggle thumbnails
- Esc — close the lightbox
Highlights
- Uses the YAHNC API to map HN item IDs to images
- Prefers remote
og:imageURLs when available - Falls back to a stored screenshot only when needed
- Dedupe-safe and idempotent for infinite scroll / client navigation
- Gracefully hides missing or broken images
Development
Run the DOM helper tests:
node --test test/dom.test.mjs
Notes
- Backend API:
https://hn-clone.is-ai-good-yet.com - Icons in
icons/are placeholders and should be replaced before release

























