← 开源

:newspaper: Let LLM Summarize Hacker News for You

ApplicationsResearch & knowledgePython
增长势头
+024 小时新增 Star0.0%
754
Star
95
Fork
+0
本周
7
贡献者
创建于 2014-09-17 · 更新于 2026-11-26 · 今日第 18040 名
主要开发者
polyrabbitmchangxinajermakovics
README

中文版

Hacker News Summary adds short AI summaries and images to stories on the Hacker News front page, so you can skim what's worth reading. It is a static site kept up to date, with daily archives and an RSS feed.

Features

  • Short AI summaries, generated by a remote LLM with local Qwen as fallback
  • Representative images to make the page easy to scan
  • Videos and GitHub gists embedded inline
  • Sort by points, comment count or submission time, and filter the top N stories by points
  • Daily archives of past front pages
  • Search across the archives (⌘/Ctrl + K), powered by Cloudflare AI Search
  • RSS feed (#14, #19)
  • Chinese translation

Talk is cheap, show me the screenshot!

Emoji explained:

  • ❤️: point - upvotes received from the Hacker News community
  • 👤: user - Hacker News user who submitted this post
  • 🕘: submission time - a human-readable time indicating when the post was submitted
  • 💬: comment count - comments posted by the community, click to visit this comment page
  • 🔗: source of the news - where the news originated
  • 📰: summary model - the model used to generate the summary

How it works

Hacker News Summary is a static site hosted on GitHub Pages. A GitHub Actions workflow periodically performs the following actions:

  1. Parsing the Hacker News page to obtain a list of news articles.
  2. Extracting the main content from each news article using a score algorithm.
  3. Finding the most suitable illustration for each article and making a local copy.
  4. Generating summaries of the article's content using OpenAI API, or falling back to a local model.
  5. Rendering a template that incorporates the illustrations and summaries, and deploying it to GitHub Pages.

Localization

Translation is also performed by LLM, with a single extra step in the prompt. Currently supported languages:

TODO

  • A better way to scrap websites (maybe PhantomJS & Selenium)
  • Also summarize comments (see discussions on Hacker News)
  • Switch to Hacker News API
  • A more beautiful home page (maybe in HTML9)
  • Discover an alternative local model for generating summaries
  • Sort articles by points/comments/time
  • Filter topN articles by points
  • RSS
  • Deploy on github pages
  • Have a good sleep !important
排名相邻
同类项目

AI Rank iPhone 版

随时追踪 AI 模型榜单

在 App Store 下载