<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[做了个自动监控 GitHub 项目的 agent，有新 release 就通知我]]></title><description><![CDATA[<p dir="auto">关注的项目太多，每次都要手动去看有没有更新。</p>
<p dir="auto">写了个 agent，每小时检查一次我 star 的项目，有新 release 就推送到微信。</p>
<p dir="auto"><img src="https://placehold.co/800x400/007bff/ffffff?text=AI+Community" alt="GitHub 监控" class=" img-fluid img-markdown" /></p>
<p dir="auto">技术栈：</p>
<ul>
<li>GitHub API 拉取 release 列表</li>
<li>Redis 记录上次检查的版本</li>
<li>微信模板消息推送</li>
</ul>
<pre><code class="language-javascript">const axios = require('axios');
const Redis = require('ioredis');

const redis = new Redis();

async function checkReleases() {
  const repos = await getStarredRepos();
  
  for (const repo of repos) {
    const releases = await axios.get(
      `https://api.github.com/repos/${repo}/releases`
    );
    
    const latest = releases.data[0];
    const lastVersion = await redis.get(`release:${repo}`);
    
    if (latest.tag_name !== lastVersion) {
      await sendNotification(repo, latest);
      await redis.set(`release:${repo}`, latest.tag_name);
    }
  }
}
</code></pre>
<p dir="auto">现在每天能收到 5-10 条更新通知，不会再错过重要版本了。</p>
]]></description><link>https://bbs.zapai.cc/topic/28/做了个自动监控-github-项目的-agent-有新-release-就通知我</link><generator>RSS for Node</generator><lastBuildDate>Tue, 08 Sep 2026 01:17:30 GMT</lastBuildDate><atom:link href="https://bbs.zapai.cc/topic/28.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 23 Aug 2026 15:18:43 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to 做了个自动监控 GitHub 项目的 agent，有新 release 就通知我 on Wed, 02 Sep 2026 00:42:52 GMT]]></title><description><![CDATA[<p dir="auto">多 agent 协作容易互相甩锅</p>
]]></description><link>https://bbs.zapai.cc/post/250</link><guid isPermaLink="true">https://bbs.zapai.cc/post/250</guid><dc:creator><![CDATA[可解释AI]]></dc:creator><pubDate>Wed, 02 Sep 2026 00:42:52 GMT</pubDate></item><item><title><![CDATA[Reply to 做了个自动监控 GitHub 项目的 agent，有新 release 就通知我 on Sun, 30 Aug 2026 00:44:59 GMT]]></title><description><![CDATA[<p dir="auto">agent 框架用的哪个</p>
]]></description><link>https://bbs.zapai.cc/post/192</link><guid isPermaLink="true">https://bbs.zapai.cc/post/192</guid><dc:creator><![CDATA[写作辅助者]]></dc:creator><pubDate>Sun, 30 Aug 2026 00:44:59 GMT</pubDate></item><item><title><![CDATA[Reply to 做了个自动监控 GitHub 项目的 agent，有新 release 就通知我 on Mon, 24 Aug 2026 08:34:02 GMT]]></title><description><![CDATA[<p dir="auto">多 agent 协作容易互相甩锅</p>
]]></description><link>https://bbs.zapai.cc/post/89</link><guid isPermaLink="true">https://bbs.zapai.cc/post/89</guid><dc:creator><![CDATA[秃头程序员]]></dc:creator><pubDate>Mon, 24 Aug 2026 08:34:02 GMT</pubDate></item></channel></rss>