Summarize GitHub trending repos with OpenAI and share via htmlhoster and DingTalk
Ready for 3.0What this workflow does
This workflow has 11 nodes and runs on a schedule (cron 0 9 * * *). It uses only n8n's built-in nodes. It also calls api.htmlhoster.com over HTTP.
How it runs
Trigger: On a schedule (cron 0 9 * * *).
- 1. Setup (Edit Fields (Set)): sets 14 fields: githubTrendingUrl, repoCount, fetchReadme…
- 2. Fetch GitHub Trending (HTTP Request): calls an HTTP API
- 3. Parse Trending List (Code): runs custom JavaScript code
- 4. Fetch & Merge READMEs (Code): runs custom JavaScript code
- 5. Build AI Prompt (Code): runs custom JavaScript code
- 6. AI Analysis (HTTP Request): calls an HTTP API (POST)
- 7. Render HTML (Code): runs custom JavaScript code
- 8. Upload to htmlhoster (HTTP Request): calls api.htmlhoster.com (POST)
- 9. Build Push Messages (Code): runs custom JavaScript code
- 10. Push to Groups (HTTP Request): calls an HTTP API (POST)
HTTP calls to: api.htmlhoster.com
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (4)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Edit Fields (Set)
n8n-nodes-base.set - HTTP Request
n8n-nodes-base.httpRequest - Code
n8n-nodes-base.code
From the author
Quick overview This workflow runs daily to fetch GitHub Trending repositories, summarizes them with an OpenAI-compatible chat completions API, renders a single-page HTML report, uploads it to htmlhoster for a public link, and posts the report to DingTalk…