π Send 24-hour Hacker News trends to Telegram with OpenRouter AI translation
β‘ 22 views Β· π Market Research & Insights
Description
Stay ahead of the curve with this smart Hacker News monitor. Unlike simple RSS feeds, this workflow uses a custom βGravity Scoreβ algorithm to identify rising trends and filter out noise, pushing a clean, summarized digest to your Telegram.
β¨ Key Features
-
π§ Smart Algorithms:
-
Gravity Score: Calculates popularity based on points, comments, and time (velocity), ensuring you see trending stories, not just old ones.
-
Noise Filtering: Automatically discards βinfancyβ posts (new posts with zero engagement) to keep your feed high-quality.
-
-
π€ Optional AI Translation: Includes an AI Agent (via OpenRouter/LLM) to translate titles and summaries into your local language (e.g., Chinese, Spanish, French).
> Donβt need translation? Simply delete the Translate node and connect the Filter node directly to the Combine message templates node.
- π± Beautiful Telegram Format: Delivers a clean HTML-formatted digest with clickable links, stats (Points/Comments), and story previews.
βοΈ How It Works
-
Schedule: Runs every 4 hours (configurable) to fetch data from the past 24 hours via the Algolia API.
-
Analyze: Calculates the velocity score for each post and filters out low-quality entries.
-
Translate (Optional): Uses an LLM to translate the content. You can customize the target language in the AI Agentβs system prompt.
-
Format & Send: Combines the data into a structured message and pushes it to your Telegram Chat/Channel.
π Setup Instructions
- Telegram Credentials:
-
Create a bot via
@BotFather. -
Add the Bot Token to the Telegram node credentials.
-
Get Chat ID.
- AI Configuration (Optional):
-
Configure your LLM credentials (e.g., OpenRouter, OpenAI).
-
In the βTranslateβ (AI Agent) node, edit the System Prompt to change the target language (Default is set to translate to Chinese).
π Output Example
π¨ Hacker News 24H Trending Alert
π Top stories captured: 5
π₯ Ask HN: How can we solve the loneliness epidemic?
π 16.39 | π¬ 796 | βοΈ 482
π Posted 12.7 hours ago
> Countless voiceless people sit alone every day...
π₯ Show HN: Gambit, an open-source agent harness
π 2.20 | π¬ 11 | βοΈ 58
π Posted 5.3 hours ago
> Wanted to show our open source agent harness...
π Nodes Used
HTTP Request, Telegram, Schedule Trigger, Filter, AI Agent, OpenRouter Chat Model
π₯ Import
Download workflow.json and import into n8n:
Workflow menu β Import from File