{"product_id":"daily-github-trending-ai-briefing-to-dingtalk-via-n8n-html-hosting","title":"Daily GitHub Trending AI Briefing to DingTalk via n8n HTML Hosting","description":"\u003ch3\u003eGet a daily “AI-enhanced GitHub Trending” report and publish it to DingTalk—automatically\u003c\/h3\u003e\n\u003cp\u003eThis n8n workflow runs every day to scrape \u003cstrong\u003eGitHub Trending\u003c\/strong\u003e, optionally enrich each repo with cleaned \u003cstrong\u003eREADME\u003c\/strong\u003e excerpts, generates a \u003cstrong\u003eSimplified Chinese AI briefing\u003c\/strong\u003e via an OpenAI-compatible Chat Completions API, and publishes a single-file \u003cstrong\u003eHTML report\u003c\/strong\u003e hosted on \u003cstrong\u003eHTML Hoster\u003c\/strong\u003e—then posts the link to \u003cstrong\u003eDingTalk\u003c\/strong\u003e and\/or \u003cstrong\u003eFeishu\u003c\/strong\u003e.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eRuns on a daily cron schedule\u003c\/strong\u003e to keep your team up to date with the latest \u003cstrong\u003eGitHub Trending (daily)\u003c\/strong\u003e repositories.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eScrapes the GitHub Trending HTML page\u003c\/strong\u003e and extracts the top \u003cem\u003eN\u003c\/em\u003e repositories, including stars, forks, language, and “\u003cstrong\u003estars today\u003c\/strong\u003e”.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eFetches and cleans README content\u003c\/strong\u003e from \u003ccode\u003eraw.githubusercontent.com\u003c\/code\u003e, using fallback branches when needed, then merges excerpts into the dataset.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eCalls an OpenAI-compatible Chat Completions endpoint\u003c\/strong\u003e to produce a structured \u003cstrong\u003eJSON briefing\u003c\/strong\u003e in \u003cstrong\u003eSimplified Chinese\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eRenders a styled single-file HTML report\u003c\/strong\u003e (index.html) that combines GitHub facts with the AI briefing, and \u003cstrong\u003egracefully falls back\u003c\/strong\u003e to a “no AI analysis” report if the AI response is invalid.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eUploads the report to HTML Hoster\u003c\/strong\u003e using the \u003ca href=\"https:\/\/htmlhoster.com\/agent\/\"\u003eHTML Hoster Agent API\u003c\/a\u003e and retrieves a public \u003ccode\u003eentryUrl\u003c\/code\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003ePosts a signed DingTalk\/Feishu message\u003c\/strong\u003e containing the summary and hosted report link via configured group webhooks (if enabled).\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eDaily product\/engineering briefs: track new open-source momentum from GitHub Trending and share it with your team.\u003c\/li\u003e\n  \u003cli\u003eSaaS operator monitoring: quickly spot high-signal repos and summarize them in Chinese for stakeholders.\u003c\/li\u003e\n  \u003cli\u003eAutomation engineers: a practical n8n template combining scraping, LLM summarization, HTML publishing, and chat distribution.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003en8n nodes mentioned in this workflow: \u003cstrong\u003eschedule trigger\u003c\/strong\u003e, \u003cstrong\u003ehttp request\u003c\/strong\u003e, \u003cstrong\u003eset\u003c\/strong\u003e, \u003cstrong\u003ecode\u003c\/strong\u003e, and \u003cstrong\u003esticky note\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003eIntegrations: \u003cstrong\u003eGitHub Trending\u003c\/strong\u003e scraping, \u003cstrong\u003eraw.githubusercontent.com\u003c\/strong\u003e README fetching, \u003cstrong\u003eOpenAI-compatible Chat Completions API\u003c\/strong\u003e (with \u003ccode\u003eAuthorization: Bearer \u0026lt;API_KEY\u0026gt;\u003c\/code\u003e), and \u003cstrong\u003eHTML Hoster\u003c\/strong\u003e (Agent API upload + public entryUrl).\u003c\/li\u003e\n  \u003cli\u003eDistribution: \u003cstrong\u003eDingTalk\u003c\/strong\u003e and\/or \u003cstrong\u003eFeishu\u003c\/strong\u003e group webhooks with signed bot messages.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eSetup highlights\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eAdd a \u003cstrong\u003eHeader Auth (Generic Credential)\u003c\/strong\u003e for your OpenAI-compatible provider: \u003ccode\u003eAuthorization: Bearer \u0026lt;API_KEY\u0026gt;\u003c\/code\u003e.\u003c\/li\u003e\n  \u003cli\u003eConfigure the AI API base URL and model in the workflow.\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":45938306711731,"sku":"N8N-18932","price":36.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/lQIC4Nmb6orWN3UxEMpyB_Ypfymmgk.png?v=1788341613","url":"https:\/\/buyflowscripts.com\/products\/daily-github-trending-ai-briefing-to-dingtalk-via-n8n-html-hosting","provider":"N8N Commerce","version":"1.0","type":"link"}