{"id":99534,"date":"2026-09-02T19:33:29","date_gmt":"2026-09-02T11:33:29","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/99534.html"},"modified":"2026-09-02T19:33:29","modified_gmt":"2026-09-02T11:33:29","slug":"hermes-%e5%ae%9e%e6%88%98-%ef%bc%9a%e5%a4%9a%e6%b8%a0%e9%81%93%e6%8e%a5%e5%85%a5-%e6%97%a5%e6%8a%a5%e6%8e%a8%e9%80%81%e5%88%b0%e9%a3%9e%e4%b9%a6-telegram","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/99534.html","title":{"rendered":"Hermes \u5b9e\u6218 \uff1a\u591a\u6e20\u9053\u63a5\u5165\u2014\u2014\u65e5\u62a5\u63a8\u9001\u5230\u98de\u4e66\/Telegram"},"content":{"rendered":"<p>\u6280\u80fd\u8dd1\u8d77\u6765\u4e86&#xff0c;\u7ed3\u679c\u9700\u8981\u63a8\u9001\u5230\u4f60\u624b\u4e0a&#xff1a;\u65e9\u4e0a 6 \u70b9\u6574&#xff0c;\u65e5\u62a5\u4e0d\u7528\u4f60\u6253\u5f00\u4efb\u4f55\u7f51\u9875&#xff0c;\u5df2\u7ecf\u8eba\u5728\u98de\u4e66\u7fa4\u91cc\u2014\u2014\u6807\u9898\u3001\u8981\u70b9\u3001\u94fe\u63a5&#xff0c;\u4e00\u6761 text \u6d88\u606f\u3002\u7f51\u9875\u8981\u4f60\u6253\u5f00&#xff0c;\u63a8\u9001\u624d\u9001\u5230\u624b\u4e0a\u3002<\/p>\n<p>\u672c\u6587\u505a\u4e24\u4ef6\u4e8b&#xff1a;\u7ed9\u65e5\u62a5\u63a8\u9001\u505a\u4e00\u6b21\u9009\u578b&#xff0c;\u628a\u51ed\u636e\u5b89\u5168\u8fd9\u6761\u5e95\u7ebf\u8bb2\u6e05\u695a\u3002\u524d\u51e0\u7bc7\u65e5\u62a5\u90fd\u7ed3\u675f\u5728 report.html&#xff0c;\u4e00\u4e2a\u7f51\u9875\u3002\u7f51\u9875\u7684\u5bbf\u547d\u662f\u4f60\u5f97\u8bb0\u5f97\u6253\u5f00\u5b83&#xff1b;\u63a8\u9001\u7684\u5bbf\u547d\u662f\u5b83\u81ea\u5df1\u8dd1\u5230\u4f60\u9762\u524d\u3002<\/p>\n<p>\u5148\u628a\u8fd9\u8f6e\u8981\u52a0\u7684\u4e1c\u897f\u653e\u8fdb\u5168\u666f\u56fe&#xff1a;<br \/>\n<img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260902113327-6a98098714bdb.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>collect \u2192 curate \u2192 render \u2192 report.html&#xff0c;\u662f\u7cfb\u5217\u7b2c 3 \u7bc7\u300a\u7b2c\u4e00\u4e2a\u771f\u5b9e\u4efb\u52a1\u300b\u5c31\u7acb\u8d77\u6765\u7684\u9aa8\u67b6\u3002\u8fd9\u8f6e\u65b0\u52a0\u6709&#xff1a;digest.md \u548c items.json \u5206\u53c9\u51fa\u4e00\u6761 push.py \u2192 \u98de\u4e66\u7fa4\u3002\u770b\u7740\u8f7b\u5de7&#xff0c;\u9009\u578b\u3001\u51ed\u636e\u3001\u5b89\u5168\u5168\u5728\u8fd9\u91cc\u3002<\/p>\n<p>\u7248\u672c\u53e3\u5f84\u7167\u65e7&#xff1a;\u622a\u81f3 2026-08-28&#xff0c;\u672c\u673a\u5b9e\u6d4b Hermes v0.19.0 &#043; deepseek-v4-flash\u3002\u5199\u7a3f\u65f6\u6211\u6838\u5b9e\u8fc7&#xff0c;\u4e0a\u6e38\u5df2\u8fed\u4ee3\u5230 v0.20 \u7ebf&#xff08;v0.20.0 \u4ee3\u53f7 Herald&#xff0c;2026-08-03 \u53d1\u5e03&#xff09;\u3002\u672c\u7bc7\u8981\u8bb2\u7684\u63a8\u9001\u4e0e\u51ed\u636e\u673a\u5236\u2014\u2014webhook\u3001gateway\u3001hermes send\u2014\u2014\u4e0d\u662f\u67d0\u4e2a\u7248\u672c\u4e34\u65f6\u52a0\u7684\u529f\u80fd&#xff0c;\u662f Hermes \u4ece\u8bbe\u8ba1\u4e0a\u5c31\u6709\u7684\u9aa8\u67b6&#xff0c;\u4e0d\u60ac\u5728\u7248\u672c\u4e0a\u3002<\/p>\n<h3>\u4e24\u6761\u8def&#xff1a;\u98de\u4e66 webhook \u8fd8\u662f Hermes gateway<\/h3>\n<p>\u63a8\u9001\u6e20\u9053&#xff0c;\u4ece\u96f6\u642d\u5230\u300c\u80fd\u7528\u300d&#xff0c;\u5dee\u522b\u5927\u5f97\u79bb\u8c31\u3002\u5dee\u8ddd\u4e0d\u5728\u4ee3\u7801\u91cf&#xff0c;\u5728\u4f60\u8981\u4e0d\u8981\u66ff\u5bf9\u65b9\u5e73\u53f0\u300c\u6536\u6d88\u606f\u300d\u3002<\/p>\n<p>\u6211\u628a\u9009\u578b\u538b\u6210\u4e00\u53e5\u8bdd&#xff1a;\u53ea\u53d1\u4e0d\u6536&#xff0c;\u4e00\u6761 webhook URL \u5c31\u591f&#xff1b;\u8981\u6536\u8981\u53d1\u3001\u8981\u591a\u6e20\u9053&#xff0c;\u624d\u8f6e\u5230 gateway\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260902113327-6a9809879538b.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<table>\n<tr>\u7ef4\u5ea6\u8f7b\u91cf\u8def\u7ebf&#xff1a;\u98de\u4e66 webhook\u5b8c\u6574\u8def\u7ebf&#xff1a;Hermes gateway<\/tr>\n<tbody>\n<tr>\n<td>\u51ed\u636e<\/td>\n<td>\u4e00\u6761 webhook URL<\/td>\n<td>bot token \/ \u8d26\u53f7&#xff08;.env &#043; config.yaml&#xff09;<\/td>\n<\/tr>\n<tr>\n<td>\u5e38\u9a7b\u8fdb\u7a0b<\/td>\n<td>\u4e0d\u9700\u8981<\/td>\n<td>\u9700\u8981&#xff08;gateway \u5e38\u9a7b&#xff09;<\/td>\n<\/tr>\n<tr>\n<td>\u6536\u6d88\u606f<\/td>\n<td>\u53ea\u53d1\u4e0d\u6536<\/td>\n<td>\u53ef\u6536\u53ef\u53d1&#xff0c;\u53cc\u5411\u5bf9\u8bdd<\/td>\n<\/tr>\n<tr>\n<td>\u9002\u7528<\/td>\n<td>\u56e2\u961f\u7fa4\u65e5\u62a5<\/td>\n<td>\u4e2a\u4eba\u5168\u6e20\u9053\u52a9\u624b<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u8f7b\u91cf\u8def\u7ebf\u7684\u4e3b\u89d2\u662f\u98de\u4e66\u81ea\u5b9a\u4e49\u673a\u5668\u4eba&#xff1a;\u5728\u7fa4\u91cc\u52a0\u4e00\u4e2a\u300c\u81ea\u5b9a\u4e49\u673a\u5668\u4eba\u300d&#xff0c;\u98de\u4e66\u7ed9\u4f60\u4e00\u6761 webhook \u5730\u5740\u3002\u5f80\u8fd9\u6761 URL POST \u4e00\u6bb5 JSON&#xff0c;\u6d88\u606f\u5c31\u51fa\u73b0\u5728\u7fa4\u91cc\u3002\u4e00\u6761 URL&#xff0c;\u4e0d\u9700\u8981\u5e38\u9a7b\u8fdb\u7a0b&#xff0c;\u4e0d\u9700\u8981\u8d26\u53f7\u4f53\u7cfb\u3002<\/p>\n<p>\u5b8c\u6574\u8def\u7ebf\u7684\u4e3b\u89d2\u662f Hermes gateway&#xff1a;\u4e00\u4e2a\u5e38\u9a7b\u7684\u6d88\u606f\u7f51\u5173\u8fdb\u7a0b&#xff0c;\u628a Telegram\u3001Discord\u3001WhatsApp\u3001\u5fae\u4fe1\u8fd9\u4e9b\u5e73\u53f0\u548c Hermes \u672c\u4f53\u63a5\u8d77\u6765\u3002\u4f60\u8981\u7ed9\u6bcf\u4e2a\u5e73\u53f0\u51c6\u5907 bot token \u6216\u8d26\u53f7&#xff0c;\u914d\u8fdb Hermes \u7684\u914d\u7f6e\u3002<\/p>\n<p>\u4e24\u6761\u8def\u6211\u5148\u5404\u5199\u5404\u7684\u2014\u2014\u7b2c 3 \u8282\u8d70\u8f7b\u91cf\u8def&#xff0c;\u7b2c 4 \u8282\u62c6\u5b8c\u6574\u8def\u3002\u9009\u578b\u7684\u5224\u65ad\u6807\u51c6&#xff0c;\u6211\u7559\u5230\u7b2c 8 \u8282\u7edf\u4e00\u7ed9\u3002<\/p>\n<h3>\u8f7b\u91cf\u8def\u7ebf&#xff1a;push.py&#xff0c;\u4e00\u4e2a\u7eaf\u6807\u51c6\u5e93\u811a\u672c<\/h3>\n<p>\u5148\u5199\u4ee3\u7801\u3002\u65e5\u62a5\u63a8\u9001\u5668 push.py&#xff0c;\u653e\u5728 daily-report\/ \u91cc&#xff0c;\u53ea\u4f9d\u8d56\u6807\u51c6\u5e93\u3002\u5b83\u5e72\u4e09\u4ef6\u4e8b&#xff1a;\u8bfb digest.md \u7684\u524d 500 \u5b57\u7b26\u5f53\u6b63\u6587\u3001\u8bfb items.json \u7684\u524d\u51e0\u6761\u6807\u9898\u5f53\u8981\u70b9\u3001\u628a\u8fd9\u4e24\u6837\u62fc\u6210\u98de\u4e66 text \u6d88\u606f\u7684 payload&#xff0c;POST \u5230 webhook\u3002<\/p>\n<p>\u4e09\u4e2a\u51fd\u6570\u5c31\u662f\u5168\u90e8\u3002\u8bfb\u6570\u636e&#xff1a;<\/p>\n<p><span class=\"token keyword\">def<\/span> <span class=\"token function\">load_digest<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token operator\">&#8211;<\/span><span class=\"token operator\">&gt;<\/span> <span class=\"token builtin\">str<\/span><span class=\"token punctuation\">:<\/span><br \/>\n    <span class=\"token triple-quoted-string string\">&#034;&#034;&#034;\u8bfb digest.md&#xff0c;\u622a\u524d 500 \u5b57\u7b26\u4f5c\u63a8\u9001\u6b63\u6587\u3002&#034;&#034;&#034;<\/span><br \/>\n    <span class=\"token keyword\">try<\/span><span class=\"token punctuation\">:<\/span><br \/>\n        <span class=\"token keyword\">with<\/span> <span class=\"token builtin\">open<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;digest.md&#034;<\/span><span class=\"token punctuation\">,<\/span> encoding<span class=\"token operator\">&#061;<\/span><span class=\"token string\">&#034;utf-8&#034;<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token keyword\">as<\/span> f<span class=\"token punctuation\">:<\/span><br \/>\n            text <span class=\"token operator\">&#061;<\/span> f<span class=\"token punctuation\">.<\/span>read<span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">.<\/span>strip<span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><br \/>\n    <span class=\"token keyword\">except<\/span> FileNotFoundError<span class=\"token punctuation\">:<\/span><br \/>\n        <span class=\"token keyword\">return<\/span> <span class=\"token string\">&#034;&#xff08;\u672c\u671f\u672a\u751f\u6210\u6c47\u603b&#xff0c;digest.md \u4e0d\u5b58\u5728&#xff09;&#034;<\/span><br \/>\n    <span class=\"token keyword\">return<\/span> text<span class=\"token punctuation\">[<\/span><span class=\"token punctuation\">:<\/span><span class=\"token number\">500<\/span><span class=\"token punctuation\">]<\/span><\/p>\n<p><span class=\"token keyword\">def<\/span> <span class=\"token function\">load_headlines<\/span><span class=\"token punctuation\">(<\/span>head<span class=\"token punctuation\">:<\/span> <span class=\"token builtin\">int<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token operator\">&#8211;<\/span><span class=\"token operator\">&gt;<\/span> <span class=\"token builtin\">list<\/span><span class=\"token punctuation\">:<\/span><br \/>\n    <span class=\"token triple-quoted-string string\">&#034;&#034;&#034;\u4ece items.json \u53d6\u524d head \u6761\u6807\u9898&#xff0c;\u4f9b\u63a8\u9001\u6d88\u606f\u4f7f\u7528\u3002&#034;&#034;&#034;<\/span><br \/>\n    <span class=\"token keyword\">try<\/span><span class=\"token punctuation\">:<\/span><br \/>\n        <span class=\"token keyword\">with<\/span> <span class=\"token builtin\">open<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;items.json&#034;<\/span><span class=\"token punctuation\">,<\/span> encoding<span class=\"token operator\">&#061;<\/span><span class=\"token string\">&#034;utf-8&#034;<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token keyword\">as<\/span> f<span class=\"token punctuation\">:<\/span><br \/>\n            data <span class=\"token operator\">&#061;<\/span> json<span class=\"token punctuation\">.<\/span>load<span class=\"token punctuation\">(<\/span>f<span class=\"token punctuation\">)<\/span><br \/>\n    <span class=\"token keyword\">except<\/span> FileNotFoundError<span class=\"token punctuation\">:<\/span><br \/>\n        <span class=\"token keyword\">return<\/span> <span class=\"token punctuation\">[<\/span><span class=\"token punctuation\">]<\/span><br \/>\n    <span class=\"token keyword\">return<\/span> <span class=\"token punctuation\">[<\/span>it<span class=\"token punctuation\">[<\/span><span class=\"token string\">&#034;title&#034;<\/span><span class=\"token punctuation\">]<\/span> <span class=\"token keyword\">for<\/span> it <span class=\"token keyword\">in<\/span> data<span class=\"token punctuation\">.<\/span>get<span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;items&#034;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token punctuation\">[<\/span><span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">[<\/span><span class=\"token punctuation\">:<\/span>head<span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">]<\/span><\/p>\n<p>\u62fc payload\u3001\u53d1\u8bf7\u6c42&#xff1a;<\/p>\n<p><span class=\"token keyword\">def<\/span> <span class=\"token function\">build_payload<\/span><span class=\"token punctuation\">(<\/span>head<span class=\"token punctuation\">:<\/span> <span class=\"token builtin\">int<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token operator\">&#8211;<\/span><span class=\"token operator\">&gt;<\/span> <span class=\"token builtin\">dict<\/span><span class=\"token punctuation\">:<\/span><br \/>\n    <span class=\"token triple-quoted-string string\">&#034;&#034;&#034;\u6784\u9020\u98de\u4e66 text \u6d88\u606f payload\u3002&#034;&#034;&#034;<\/span><br \/>\n    lines <span class=\"token operator\">&#061;<\/span> <span class=\"token punctuation\">[<\/span><span class=\"token string\">&#034;\u3010\u5404\u5bb6 AI \u52a8\u6001\u65e5\u62a5\u3011&#034;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;&#034;<\/span><span class=\"token punctuation\">]<\/span><br \/>\n    lines<span class=\"token punctuation\">.<\/span>append<span class=\"token punctuation\">(<\/span>load_digest<span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">)<\/span><br \/>\n    titles <span class=\"token operator\">&#061;<\/span> load_headlines<span class=\"token punctuation\">(<\/span>head<span class=\"token punctuation\">)<\/span><br \/>\n    <span class=\"token keyword\">if<\/span> titles<span class=\"token punctuation\">:<\/span><br \/>\n        lines<span class=\"token punctuation\">.<\/span>append<span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;&#034;<\/span><span class=\"token punctuation\">)<\/span><br \/>\n        lines<span class=\"token punctuation\">.<\/span>append<span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;\u4eca\u65e5\u8981\u70b9&#xff1a;&#034;<\/span><span class=\"token punctuation\">)<\/span><br \/>\n        lines<span class=\"token punctuation\">.<\/span>extend<span class=\"token punctuation\">(<\/span><span class=\"token string-interpolation\"><span class=\"token string\">f&#034;<\/span><span class=\"token interpolation\"><span class=\"token punctuation\">{<\/span>i<span class=\"token punctuation\">}<\/span><\/span><span class=\"token string\">. <\/span><span class=\"token interpolation\"><span class=\"token punctuation\">{<\/span>t<span class=\"token punctuation\">}<\/span><\/span><span class=\"token string\">&#034;<\/span><\/span> <span class=\"token keyword\">for<\/span> i<span class=\"token punctuation\">,<\/span> t <span class=\"token keyword\">in<\/span> <span class=\"token builtin\">enumerate<\/span><span class=\"token punctuation\">(<\/span>titles<span class=\"token punctuation\">,<\/span> <span class=\"token number\">1<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">)<\/span><br \/>\n    <span class=\"token keyword\">return<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n        <span class=\"token string\">&#034;msg_type&#034;<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token string\">&#034;text&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n        <span class=\"token string\">&#034;content&#034;<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token punctuation\">{<\/span><span class=\"token string\">&#034;text&#034;<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token string\">&#034;\\\\n&#034;<\/span><span class=\"token punctuation\">.<\/span>join<span class=\"token punctuation\">(<\/span>lines<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">,<\/span><br \/>\n    <span class=\"token punctuation\">}<\/span><\/p>\n<p><span class=\"token keyword\">def<\/span> <span class=\"token function\">send<\/span><span class=\"token punctuation\">(<\/span>payload<span class=\"token punctuation\">:<\/span> <span class=\"token builtin\">dict<\/span><span class=\"token punctuation\">,<\/span> webhook<span class=\"token punctuation\">:<\/span> <span class=\"token builtin\">str<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token operator\">&#8211;<\/span><span class=\"token operator\">&gt;<\/span> <span class=\"token builtin\">str<\/span><span class=\"token punctuation\">:<\/span><br \/>\n    <span class=\"token triple-quoted-string string\">&#034;&#034;&#034;POST \u5230\u98de\u4e66 webhook&#xff0c;\u8fd4\u56de\u54cd\u5e94\u4f53\u3002&#034;&#034;&#034;<\/span><br \/>\n    data <span class=\"token operator\">&#061;<\/span> json<span class=\"token punctuation\">.<\/span>dumps<span class=\"token punctuation\">(<\/span>payload<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">.<\/span>encode<span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;utf-8&#034;<\/span><span class=\"token punctuation\">)<\/span><br \/>\n    req <span class=\"token operator\">&#061;<\/span> urllib<span class=\"token punctuation\">.<\/span>request<span class=\"token punctuation\">.<\/span>Request<span class=\"token punctuation\">(<\/span><br \/>\n        webhook<span class=\"token punctuation\">,<\/span> data<span class=\"token operator\">&#061;<\/span>data<span class=\"token punctuation\">,<\/span><br \/>\n        headers<span class=\"token operator\">&#061;<\/span><span class=\"token punctuation\">{<\/span><span class=\"token string\">&#034;Content-Type&#034;<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token string\">&#034;application\/json&#034;<\/span><span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">,<\/span><br \/>\n    <span class=\"token punctuation\">)<\/span><br \/>\n    <span class=\"token keyword\">with<\/span> urllib<span class=\"token punctuation\">.<\/span>request<span class=\"token punctuation\">.<\/span>urlopen<span class=\"token punctuation\">(<\/span>req<span class=\"token punctuation\">,<\/span> timeout<span class=\"token operator\">&#061;<\/span><span class=\"token number\">15<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token keyword\">as<\/span> resp<span class=\"token punctuation\">:<\/span><br \/>\n        <span class=\"token keyword\">return<\/span> resp<span class=\"token punctuation\">.<\/span>read<span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">.<\/span>decode<span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;utf-8&#034;<\/span><span class=\"token punctuation\">)<\/span><\/p>\n<p>payload \u7684\u683c\u5f0f\u5c31\u4e00\u53e5\u8bdd&#xff1a;\u8fd9\u662f\u98de\u4e66\u81ea\u5b9a\u4e49\u673a\u5668\u4eba\u7684\u6807\u51c6\u6587\u672c\u6d88\u606f\u4f53\u2014\u2014msg_type \u662f text&#xff0c;content.text \u662f\u62fc\u597d\u7684\u4e00\u6574\u6bb5\u6b63\u6587\u3002\u6211\u5728\u98de\u4e66\u5f00\u653e\u5e73\u53f0\u6587\u6863\u91cc\u6838\u8fc7&#xff0c;\u683c\u5f0f\u5bf9\u5f97\u4e0a&#xff08;\u5199\u4f5c\u65e5\u6838\u5b9e&#xff09;\u3002<\/p>\n<p>webhook URL \u4ece\u54ea\u6765&#xff1f;\u4e0d\u5199\u6b7b\u3001\u4e0d\u6253\u5370&#xff0c;\u4ece\u73af\u5883\u53d8\u91cf\u8bfb&#xff1a;<\/p>\n<p>ENV_KEY <span class=\"token operator\">&#061;<\/span> <span class=\"token string\">&#034;FEISHU_WEBHOOK&#034;<\/span><br \/>\nMAX_ITEMS <span class=\"token operator\">&#061;<\/span> <span class=\"token number\">8<\/span>   <span class=\"token comment\"># \u63a8\u9001\u6d88\u606f\u91cc\u6700\u591a\u5e26\u51e0\u6761\u6807\u9898&#xff0c;\u63a7\u5236\u957f\u5ea6<\/span><\/p>\n<p>\u8fd9\u5ef6\u7eed\u4e86\u7cfb\u5217\u7b2c 2 \u7bc7\u300a\u5b89\u88c5\u90e8\u7f72\u5b9e\u6218\u300b\u7acb\u4e0b\u7684 key \u7ba1\u7406\u539f\u5219\u2014\u2014DeepSeek \u7684 key \u8d70 key_env: DS-KEY \u4ece\u73af\u5883\u53d8\u91cf\u8bfb&#xff0c;\u4e0d\u5199\u8fdb config.yaml\u3002\u51ed\u636e\u8fdb\u73af\u5883\u53d8\u91cf&#xff0c;\u4e0d\u8fdb\u4ee3\u7801\u3002<\/p>\n<p>\u771f\u6b63\u53d1\u6d88\u606f\u524d&#xff0c;\u811a\u672c\u5148\u68c0\u67e5\u6709\u6ca1\u6709\u51ed\u636e\u3002\u6ca1\u51ed\u636e\u5c31\u62d2\u7edd\u53d1\u9001&#xff0c;\u8fd9\u5c31\u662f\u51ed\u636e\u5b88\u536b&#xff1a;<\/p>\n<p>    webhook <span class=\"token operator\">&#061;<\/span> os<span class=\"token punctuation\">.<\/span>environ<span class=\"token punctuation\">.<\/span>get<span class=\"token punctuation\">(<\/span>ENV_KEY<span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;&#034;<\/span><span class=\"token punctuation\">)<\/span><br \/>\n    <span class=\"token keyword\">if<\/span> <span class=\"token keyword\">not<\/span> webhook<span class=\"token punctuation\">:<\/span><br \/>\n        <span class=\"token keyword\">print<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string-interpolation\"><span class=\"token string\">f&#034;\u9519\u8bef&#xff1a;\u672a\u8bbe\u7f6e\u73af\u5883\u53d8\u91cf <\/span><span class=\"token interpolation\"><span class=\"token punctuation\">{<\/span>ENV_KEY<span class=\"token punctuation\">}<\/span><\/span><span class=\"token string\">&#xff0c;\u65e0\u6cd5\u771f\u5b9e\u63a8\u9001\u3002&#034;<\/span><\/span><span class=\"token punctuation\">,<\/span> <span class=\"token builtin\">file<\/span><span class=\"token operator\">&#061;<\/span>sys<span class=\"token punctuation\">.<\/span>stderr<span class=\"token punctuation\">)<\/span><br \/>\n        <span class=\"token keyword\">print<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;\u5148 &#096;export FEISHU_WEBHOOK&#061;https:\/\/open.feishu.cn\/open-apis\/bot\/v2\/hook\/&lt;\u4f60\u7684key&gt;&#096;&#xff0c;\u6216\u5148\u8dd1 &#8211;dry-run \u9884\u89c8\u3002&#034;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token builtin\">file<\/span><span class=\"token operator\">&#061;<\/span>sys<span class=\"token punctuation\">.<\/span>stderr<span class=\"token punctuation\">)<\/span><br \/>\n        <span class=\"token keyword\">return<\/span> <span class=\"token number\">1<\/span><\/p>\n<h3>\u5b8c\u6574\u8def\u7ebf&#xff1a;Hermes gateway&#xff0c;\u8ba9 agent \u4f4f\u8fdb\u804a\u5929\u8f6f\u4ef6<\/h3>\n<p>\u8f7b\u91cf\u8def\u53ea\u89e3\u51b3\u300c\u63a8\u51fa\u53bb\u300d\u3002\u4f60\u8981\u5728\u7fa4\u91cc\u8ddf agent \u5bf9\u8bdd\u2014\u2014\u95ee\u5b83\u300c\u4eca\u5929\u6709\u4ec0\u4e48\u91cd\u70b9\u300d\u3001\u8ba9\u5b83\u628a\u67d0\u6761\u5c55\u5f00\u2014\u2014\u5c31\u5f97\u8d70 gateway\u3002<\/p>\n<p>Hermes gateway \u662f\u4e00\u4e2a\u5e38\u9a7b\u6d88\u606f\u7f51\u5173\u8fdb\u7a0b\u3002gateway &#8211;help \u7b2c\u4e00\u884c\u5c31\u8bf4\u6e05\u5b83\u662f\u5e72\u4ec0\u4e48\u7684&#xff1a;<\/p>\n<p>Manage the messaging gateway (Telegram, Discord, WhatsApp, Weixin, and more)<\/p>\n<p>\u652f\u6301\u7684\u5e73\u53f0\u8fdc\u4e0d\u6b62\u8fd9\u51e0\u4e2a\u3002\u5b98\u65b9\u6587\u6863\u5217\u4e86 20 \u591a\u4e2a&#xff1a;Telegram\u3001Discord\u3001Slack\u3001WhatsApp\u3001Signal\u3001Matrix\u3001\u9489\u9489\u3001\u98de\u4e66\u3001\u4f01\u4e1a\u5fae\u4fe1\u3001\u5fae\u4fe1\u3001QQ \u673a\u5668\u4eba\u2026\u2026&#xff08;\u5199\u4f5c\u65e5 WebSearch \u6838\u5b9e&#xff09;\u3002\u547d\u4ee4\u9762&#xff1a;<\/p>\n<p>run\/start\/stop\/restart\/status\/install\/uninstall\/list\/setup\/enroll<\/p>\n<p>\u672c\u673a\u6ca1\u8dd1\u3002gateway status \u9010\u5b57&#xff1a;<\/p>\n<p>\u2717 Gateway is not running<\/p>\n<p>To start:<br \/>\n  hermes gateway run      # Run in foreground<br \/>\n  hermes gateway install  # Install as Windows Scheduled Task (auto-start on login)<\/p>\n<p>gateway list \u9010\u5b57&#xff1a;\u2717 default (current) \u2014 not running<\/p>\n<p>\u5e38\u9a7b\u7684\u4ee3\u4ef7&#xff0c;\u5728\u8fd9\u4e24\u53e5\u91cc\u5c31\u770b\u51fa\u6765\u4e86\u2014\u2014\u8981\u4e48\u524d\u53f0\u8dd1\u7740\u522b\u5173&#xff0c;\u8981\u4e48\u88c5\u6210\u5f00\u673a\u81ea\u542f\u7684\u670d\u52a1\u3002gateway \u662f\u300c\u5e38\u9a7b\u300d\u8fd9\u6761\u8def\u7ebf\u7684\u6838\u5fc3\u8bcd\u3002\u8981\u63a5 Telegram\/Discord\/WhatsApp\/\u5fae\u4fe1&#xff0c;\u4f60\u5f97\u5148\u6709 bot token \u6216\u8d26\u53f7&#xff1a;Telegram \u627e &#064;BotFather \u5efa bot \u62ff token&#xff0c;Discord \u53bb\u5f00\u53d1\u8005\u540e\u53f0\u5efa\u5e94\u7528&#xff0c;WhatsApp \u8d70\u5b98\u65b9\u4e91 API \u6216\u6865\u63a5\u3002\u8fd9\u4e9b\u6211\u672c\u673a\u4e00\u4e2a\u90fd\u6ca1\u914d&#xff0c;\u6807\u300c\u5f85\u6838\u5b9e\u300d\u3002<\/p>\n<p>\u5230\u8fd9\u513f&#xff0c;\u4f60\u591a\u534a\u5df2\u7ecf\u9ed8\u8ba4&#xff1a;\u63a8\u9001 &#061; \u8981\u5e38\u9a7b\u4e00\u4e2a\u673a\u5668\u4eba\u3002\u6211\u7b2c 5 \u8282\u518d\u62c6\u4e00\u5c42\u2014\u2014\u4e0d\u4e00\u5b9a\u3002<\/p>\n<h3>\u4e2d\u95f4\u4ef6&#xff1a;hermes send&#xff0c;\u4e0d\u5e38\u9a7b\u7684\u63a8\u9001\u901a\u9053<\/h3>\n<p>gateway \u628a\u6d88\u606f\u300c\u6536\u300d\u8fdb\u6765&#xff0c;\u4e5f\u8d1f\u8d23\u628a\u6d88\u606f\u300c\u53d1\u300d\u51fa\u53bb\u3002\u4f46\u5982\u679c\u4f60\u53ea\u9700\u8981\u300c\u53d1\u300d&#xff0c;\u6709\u4e00\u4e2a\u66f4\u8584\u7684\u5165\u53e3&#xff1a;hermes send\u3002\u5b83\u7684\u5e2e\u52a9\u6587\u4ef6\u628a\u5b9a\u4f4d\u5199\u5f97\u5f88\u6e05\u695a&#xff1a;<\/p>\n<p>Pipe text from any shell script to any messaging platform Hermes is already configured for. Reuses the gateway&#039;s platform credentials (~\/.hermes\/.env &#043; ~\/.hermes\/config.yaml) \u2014 no LLM, no agent loop, no running gateway required for bot-token platforms like Telegram\/Discord\/Slack\/Signal.<\/p>\n<p>\u7ffb\u8bd1\u6210\u5927\u767d\u8bdd&#xff1a;\u628a\u4efb\u610f shell \u811a\u672c\u7684\u8f93\u51fa&#xff0c;\u7ba1\u5230\u4efb\u4f55 Hermes \u5df2\u914d\u7f6e\u597d\u7684\u6d88\u606f\u5e73\u53f0\u3002\u590d\u7528 gateway \u914d\u597d\u7684\u51ed\u636e&#xff1b;\u6ca1\u6709 LLM\u3001\u6ca1\u6709 agent loop&#xff1b;\u5bf9 Telegram\/Discord\/Slack\/Signal \u8fd9\u7c7b bot-token \u5e73\u53f0&#xff0c;\u4e0d\u9700\u8981\u5e38\u9a7b gateway\u3002<\/p>\n<p>\u53c2\u6570\u5c31\u51e0\u4e2a&#xff1a;-t \u6307\u5b9a\u5e73\u53f0\u6216\u9891\u9053\u3001-f \u4ece\u6587\u4ef6\u8bfb\u6b63\u6587\u3001-s \u52a0\u4e00\u884c\u6807\u9898\u3001-q \u5b89\u9759\u6a21\u5f0f\u3002\u5178\u578b\u7528\u6cd5\u5c31\u662f\u628a\u65e5\u62a5\u6587\u672c\u5582\u7ed9\u5b83&#xff1a;<\/p>\n<p>cat digest.md | hermes send &#8211;to telegram<\/p>\n<p>\u4e00\u4e2a\u7ec6\u8282\u5148\u8bb0\u4f4f&#xff1a;\u5e2e\u52a9\u91cc\u7684 ~\/.hermes \u662f Unix \u8def\u5f84\u3002Windows \u4e0a Hermes home \u662f %LOCALAPPDATA%\\\\hermes&#xff0c;\u7cfb\u5217\u7b2c 4 \u7bc7\u300a\u8bb0\u5fc6\u7cfb\u7edf\u62c6\u89e3\u300b\u8bb2\u8fc7&#xff0c;\u51ed\u636e\u5c31\u653e\u5728\u90a3\u91cc\u7684 .env \u548c config.yaml\u3002<\/p>\n<p>bot-token \u5e73\u53f0&#xff0c;hermes send \u76f4\u8fde\u5bf9\u65b9\u5e73\u53f0\u7684 REST \u63a5\u53e3&#xff0c;\u4e0d\u9700\u8981 gateway \u5e38\u9a7b\u3002gateway \u5e38\u9a7b\u7684\u4ef7\u503c\u5728\u300c\u6536\u300d\u2014\u2014\u5b88\u7740\u7fa4\u804a\u7b49\u6d88\u606f\u8fdb\u6765&#xff1b;\u53ea\u5728\u300c\u53d1\u300d\u7684\u573a\u666f&#xff0c;\u811a\u672c\u548c\u5b9a\u65f6\u4efb\u52a1\u914d\u597d\u51ed\u636e\u540e&#xff0c;\u76f4\u63a5 hermes send \u5c31\u63a8\u8d70\u4e86\u3002\u8fd9\u5c31\u662f\u540e\u9762 H7 \u8c03\u5ea6\u8981\u7528\u7684\u63a8\u9001\u901a\u9053\u3002<\/p>\n<h3>\u51ed\u636e\u5b89\u5168&#xff1a;webhook URL \u548c bot token&#xff0c;\u90fd\u4e0d\u8fdb\u4ee3\u7801<\/h3>\n<p>\u8fd9\u4e00\u8282\u6700\u5bb9\u6613\u88ab\u8df3\u8fc7&#xff0c;\u4f46\u5b83\u662f\u5e95\u7ebf\u3002\u6211\u76f4\u63a5\u7ed9\u5224\u65ad&#xff1a;\u51e1\u662f\u80fd\u66ff\u4f60\u628a\u6d88\u606f\u53d1\u51fa\u53bb\u7684\u5b57\u7b26\u4e32\u2014\u2014webhook URL\u3001bot token\u2014\u2014\u90fd\u6309\u5bc6\u7801\u5bf9\u5f85\u3002<\/p>\n<p>\u4e09\u4e2a\u300c\u4e0d\u300d&#xff1a;<\/p>\n<ul>\n<li>\u4e0d\u8fdb\u4ee3\u7801\u2014\u2014\u4e0d\u5199\u6b7b\u5728 push.py \u91cc&#xff1b;<\/li>\n<li>\u4e0d\u8fdb\u63d0\u4ea4\u2014\u2014.env \u8fdb .gitignore&#xff1b;<\/li>\n<li>\u4e0d\u8fdb\u6587\u7ae0\u2014\u2014\u672c\u7bc7\u4e0d\u4f1a\u51fa\u73b0\u4efb\u4f55\u771f\u5b9e\u51ed\u636e\u3002<\/li>\n<\/ul>\n<p>\u51ed\u636e\u4ece\u54ea\u6765\u3001\u8fdb\u5230\u54ea\u53bb&#xff0c;\u753b\u6210\u4e00\u5f20\u6d41\u5411\u56fe&#xff1a;<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260902113328-6a9809881671e.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>\u6d41\u5411\u662f\u5355\u5411\u7684&#xff1a;\u51ed\u636e\u53ea\u5b58\u5728\u4e8e\u300c\u8fd0\u884c\u73af\u5883\u300d&#xff0c;\u8fdb\u7a0b\u4ece\u73af\u5883\u53d8\u91cf\u6216\u672c\u5730\u914d\u7f6e\u6587\u4ef6\u8bfb\u5b83&#xff0c;\u7528\u5b8c\u5373\u5f03&#xff0c;\u4e0d\u6253\u5370\u3001\u4e0d\u843d\u65e5\u5fd7\u3002push.py \u9760 os.environ.get(ENV_KEY, &#034;&#034;) \u8bfb&#xff0c;\u6ca1\u8bfb\u5230\u5c31\u62d2\u7edd\u53d1\u9001\u2014\u2014\u4e0a\u4e00\u8282\u90a3\u4e2a\u5b88\u536b\u7684\u5b8c\u6574\u62a5\u9519&#xff0c;\u9010\u5b57\u662f&#xff1a;<\/p>\n<p>\u9519\u8bef&#xff1a;\u672a\u8bbe\u7f6e\u73af\u5883\u53d8\u91cf FEISHU_WEBHOOK&#xff0c;\u65e0\u6cd5\u771f\u5b9e\u63a8\u9001\u3002<br \/>\n\u5148 &#096;export FEISHU_WEBHOOK&#061;https:\/\/open.feishu.cn\/open-apis\/bot\/v2\/hook\/&lt;\u4f60\u7684key&gt;&#096;&#xff0c;\u6216\u5148\u8dd1 &#8211;dry-run \u9884\u89c8\u3002<\/p>\n<p>\u4f60\u770b&#xff0c;\u6ca1\u51ed\u636e&#xff0c;\u811a\u672c\u6839\u672c\u4e0d\u7ed9\u4f60\u53d1\u3002\u8fd9\u662f\u300c\u51ed\u636e\u4e0d\u8fdb\u4ee3\u7801\u300d\u6700\u76f4\u63a5\u7684\u597d\u5904&#xff1a;\u811a\u672c\u672c\u8eab\u662f\u5b89\u5168\u7684&#xff0c;\u6cc4\u4e0d\u6cc4\u5bc6\u53d6\u51b3\u4e8e\u8fd0\u884c\u73af\u5883&#xff0c;\u4e0d\u53d6\u51b3\u4e8e\u4ee3\u7801\u4ed3\u5e93\u3002<\/p>\n<p>\u518d\u4ea4\u4ee3\u4e00\u4e2a\u8bda\u5b9e\u7684\u7ec6\u8282&#xff1a;\u98de\u4e66\u5b98\u65b9\u5efa\u8bae\u7ed9\u81ea\u5b9a\u4e49\u673a\u5668\u4eba\u5f00\u542f\u7b7e\u540d\u6821\u9a8c\u2014\u2014\u52a0\u4e00\u4e2a secret&#xff0c;\u53d1\u6d88\u606f\u65f6\u6309 HMAC-SHA256 \u751f\u6210 sign\u3001\u5e26 timestamp&#xff08;\u5199\u4f5c\u65e5\u6838\u5b9e&#xff09;\u3002\u6211\u6f14\u793a\u7528\u7684\u662f\u6700\u6734\u7d20\u7684\u88f8 webhook&#xff0c;\u56e2\u961f\u7fa4\u5185\u90e8\u591f\u7528&#xff1b;\u751f\u4ea7\u73af\u5883\u5efa\u8bae\u6309\u5b98\u65b9\u6587\u6863\u628a\u7b7e\u540d\u8865\u4e0a\u3002\u8fd9\u5c42\u5b9e\u73b0\u6211\u6ca1\u505a&#xff0c;\u7b97\u534a\u4e2a\u300c\u5f85\u6838\u5b9e\u300d\u3002<\/p>\n<h3>\u8f7d\u4f53\u9879\u76ee\u843d\u5730&#xff1a;\u63a8\u9001\u94fe\u8def\u6210\u578b<\/h3>\n<p>\u955c\u5934\u62c9\u56de\u8f7d\u4f53\u9879\u76ee\u3002\u6574\u6761\u94fe\u8def\u73b0\u5728\u662f&#xff1a;collect.py \u6293\u6e90 \u2192 curate.py \u8c03 Hermes \u6c47\u603b \u2192 render.py \u51fa\u7f51\u9875&#xff0c;\u672b\u5c3e\u591a\u4e00\u6863 push.py \u63a8\u9001\u3002\u5c31\u662f\u5f15\u8a00\u90a3\u5f20\u5168\u666f\u56fe\u3002<\/p>\n<p>\u771f\u8dd1\u4e00\u904d dry-run&#xff0c;\u9a8c\u8bc1\u63a8\u9001\u5185\u5bb9\u957f\u4ec0\u4e48\u6837\u2014\u2014PYTHONIOENCODING&#061;utf-8 python push.py &#8211;dry-run &#8211;head 3&#xff0c;&#8211;head 3 \u6307\u6807\u9898\u53ea\u5e26\u524d 3 \u6761\u3002\u8f93\u51fa\u9010\u5b57\u53d6\u81ea\u672c\u673a&#xff1a;<\/p>\n<p>&#061;&#061;&#061; DRY RUN&#xff1a;\u5c06\u63a8\u9001\u7ed9\u98de\u4e66\u7684\u6d88\u606f payload&#xff08;\u4e0d\u53d1&#xff09; &#061;&#061;&#061;<br \/>\n\u3010\u5404\u5bb6 AI \u52a8\u6001\u65e5\u62a5\u3011<\/p>\n<p>\u4eca\u65e5\u65e0\u65b0\u52a8\u6001&#xff1a;24 \u6761\u4e0e\u6628\u65e5\u5df2\u62a5\u9053\u91cd\u590d&#xff0c;\u5df2\u5254\u9664\u3002\u65e5\u62a5\u6cbf\u7528\u6628\u65e5\u5185\u5bb9\u3002<\/p>\n<p>\u4eca\u65e5\u8981\u70b9&#xff1a;<br \/>\n1. Supporting Thailand\u2019s next generation of AI startups<br \/>\n2. Better answers, broader thinking: What students gain from ChatGPT and critical-thinking training<br \/>\n3. Expanding OpenAI\u2019s presence in Brazil<\/p>\n<p>payload \u5171 251 \u5b57\u7b26<\/p>\n<p>\u8fd9\u6761\u8f93\u51fa\u91cc\u85cf\u7740\u4e24\u4e2a\u4fe1\u53f7\u3002\u4e00\u4e2a\u662f digest\u2014\u2014\u300c\u4eca\u65e5\u65e0\u65b0\u52a8\u6001&#xff1a;24 \u6761\u4e0e\u6628\u65e5\u5df2\u62a5\u9053\u91cd\u590d\u300d&#xff0c;\u8fd9\u662f\u7cfb\u5217\u7b2c 4 \u7bc7\u300a\u8bb0\u5fc6\u7cfb\u7edf\u62c6\u89e3\u300b\u90a3\u4e2a\u8de8\u5929\u53bb\u91cd count&#061;0 \u5b88\u536b\u7684\u4ea7\u7269&#xff1a;\u6628\u5929\u62a5\u8fc7\u7684\u4eca\u5929\u91cd\u590d&#xff0c;curate.py \u4e0d\u767d\u8c03 Hermes&#xff0c;\u6cbf\u7528\u6628\u65e5\u5185\u5bb9\u3002\u53e6\u4e00\u4e2a\u662f\u6807\u9898\u2014\u2014\u4e09\u6761\u5168\u662f OpenAI&#xff0c;items.json \u6309\u6293\u53d6\u987a\u5e8f\u6392&#xff0c;OpenAI \u7684 RSS \u5728\u524d\u3002\u63a8\u9001\u548c\u7f51\u9875\u770b\u5230\u7684\u662f\u540c\u4e00\u4efd\u6570\u636e&#xff0c;\u53ea\u662f\u6362\u4e86\u9001\u8fbe\u65b9\u5f0f\u3002<\/p>\n<p>\u771f\u5b9e\u63a8\u9001\u6211\u6ca1\u53d1&#xff1a;\u7f3a FEISHU_WEBHOOK \u51ed\u636e&#xff0c;\u6807\u300c\u5f85\u6838\u5b9e\u300d\u3002\u8fd9\u6b63\u662f\u811a\u672c\u8bbe\u8ba1\u7684\u672c\u610f\u2014\u2014\u51ed\u636e\u4e0d\u8fdb\u4ee3\u7801&#xff0c;\u811a\u672c\u6ca1\u6709\u51ed\u636e\u5c31\u53d1\u4e0d\u51fa\u53bb&#xff0c;\u53ea\u80fd dry-run \u9884\u89c8\u3002Telegram \u540c\u7406&#xff0c;\u7f3a bot token&#xff0c;\u6807\u300c\u5f85\u6838\u5b9e\u300d\u3002<\/p>\n<h3>\u4ec0\u4e48\u65f6\u5019\u7528 webhook&#xff0c;\u4ec0\u4e48\u65f6\u5019\u4e0a gateway<\/h3>\n<p>\u7ed3\u8bba\u5148\u653e&#xff1a;\u56e2\u961f\u7fa4\u65e5\u62a5&#xff0c;webhook \u591f\u7528&#xff1b;\u4e2a\u4eba\u5168\u6e20\u9053\u52a9\u624b&#xff0c;\u624d\u8f6e\u5230 gateway\u3002\u5dee\u522b\u4e0d\u5728\u300c\u6e20\u9053\u6570\u91cf\u300d\u8fd9\u4e00\u4e2a\u7ef4\u5ea6\u4e0a\u3002<\/p>\n<p>\u6211\u538b\u6210\u4e09\u4e2a\u5224\u65ad\u6807\u51c6&#xff1a;\u63a8\u9001\u9891\u7387\u3001\u6e20\u9053\u6570\u91cf\u3001\u8981\u4e0d\u8981\u6536\u6d88\u606f\u3002<\/p>\n<ul>\n<li>\u63a8\u9001\u9891\u7387\u2014\u2014\u4e00\u5929\u4e00\u6b21&#xff0c;webhook \u4e00\u6761 URL \u5c31\u591f&#xff1b;\u6bcf\u5206\u949f\u90fd\u8981\u53d1&#xff0c;\u624d\u9700\u8981\u6b63\u7ecf\u7ba1\u9053\u3002<\/li>\n<li>\u6e20\u9053\u6570\u91cf\u2014\u2014\u53ea\u63a8\u4e00\u4e2a\u7fa4&#xff0c;webhook&#xff1b;\u8981\u540c\u65f6\u5230 Telegram\u3001Discord\u3001\u5fae\u4fe1&#xff0c;gateway \u6216 hermes send \u4e00\u6b21\u914d\u597d\u3002<\/li>\n<li>\u8981\u4e0d\u8981\u6536\u6d88\u606f\u2014\u2014\u8fd9\u6761\u6700\u950b\u5229\u3002\u65e5\u62a5\u53ea\u53d1\u4e0d\u6536&#xff0c;webhook \u548c hermes send \u90fd\u591f&#xff1b;\u4f60\u8981\u5728\u7fa4\u91cc\u8ddf agent \u5bf9\u8bdd\u3001\u8ba9\u5b83\u56de\u4f60\u300c\u4eca\u5929\u6709\u4ec0\u4e48\u91cd\u70b9\u300d&#xff0c;\u90a3\u5c31\u5fc5\u987b gateway\u2014\u2014\u53cc\u5411\u901a\u4fe1\u9700\u8981\u4e00\u4e2a\u5e38\u9a7b\u7684\u63a5\u6536\u7aef\u3002<\/li>\n<\/ul>\n<p>\u53cd\u8fc7\u6765\u8bfb\u66f4\u624e\u5fc3&#xff1a;\u5f88\u591a\u4eba\u4ee5\u4e3a\u300c\u63a8\u9001 &#061; \u8981\u4e2a\u5e38\u9a7b\u673a\u5668\u4eba\u300d&#xff0c;\u5176\u5b9e\u53ea\u53d1\u4e0d\u6536\u7684\u8bdd&#xff0c;\u4e00\u6761 URL \u5c31\u591f\u4e86\u3002gateway \u7684\u4ef7\u503c\u5728\u300c\u6536\u300d&#xff0c;\u4e0d\u5728\u300c\u53d1\u300d\u3002<\/p>\n<h3>\u7ed3\u8bba&#xff1a;\u63a8\u9001\u628a\u65e5\u62a5\u9001\u5230\u624b\u4e0a&#xff0c;\u8fd8\u5dee\u300c\u5230\u70b9\u81ea\u52a8\u8dd1\u300d<\/h3>\n<p>\u56de\u5230\u5f00\u5934\u90a3\u4e2a\u753b\u9762\u3002\u65e5\u62a5\u73b0\u5728\u80fd\u63a8\u4e86\u2014\u2014push.py dry-run \u8dd1\u901a&#xff0c;\u51ed\u636e\u914d\u597d\u5c31\u80fd\u53d1\u3002\u4f46\u8fd8\u5dee\u6700\u540e\u4e00\u5757\u62fc\u56fe&#xff1a;6 \u70b9\u6574\u90a3\u4e00\u4e0b&#xff0c;\u8c01\u6765\u89e6\u53d1&#xff1f;<\/p>\n<p>\u73b0\u5728\u5168\u9760\u4eba\u8089\u3002\u6bcf\u5929 6 \u70b9\u624b\u52a8\u8dd1\u4e00\u904d push.py&#xff0c;\u90a3\u4e0d\u53eb\u81ea\u52a8\u5316&#xff0c;\u53eb\u300c\u6bcf\u5929\u8bb0\u5f97\u6309\u4e00\u4e0b\u300d\u3002\u8fd9\u4e5f\u6b63\u597d\u63a5\u4e0a\u7cfb\u5217\u7b2c 6 \u7bc7\u300a\u6280\u80fd\u7cfb\u7edf\u5b9e\u6218\u300b\u7684\u7f3a\u53e3\u2014\u2014\u6280\u80fd\u4f1a\u8dd1&#xff0c;\u4f46\u6ca1\u5230\u70b9\u81ea\u52a8\u8dd1\u3002<\/p>\n<p>\u4e0b\u4e00\u7bc7\u63ed\u79d8&#xff1a;\u8ba9\u65e5\u62a5\u6bcf\u5929 6:00 \u65e0\u4eba\u503c\u5b88\u5730\u8dd1\u5b8c collect \u2192 curate \u2192 render \u2192 push \u6574\u6761\u94fe\u3002cron \u5c31\u662f\u90a3\u4e2a\u300c\u5230\u70b9\u81ea\u52a8\u8dd1\u300d\u7684\u7b54\u6848\u3002\u5173\u6ce8\u522b\u8d70\u4e22&#xff0c;\u4e0b\u4e00\u7bc7\u62c6\u8c03\u5ea6\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6280\u80fd\u8dd1\u8d77\u6765\u4e86&#xff0c;\u7ed3\u679c\u9700\u8981\u63a8\u9001\u5230\u4f60\u624b\u4e0a&#xff1a;\u65e9\u4e0a 6 \u70b9\u6574&#xff0c;\u65e5\u62a5\u4e0d\u7528\u4f60\u6253\u5f00\u4efb\u4f55\u7f51\u9875&#xff0c;\u5df2\u7ecf\u8eba\u5728\u98de\u4e66\u7fa4\u91cc\u2014\u2014\u6807\u9898\u3001\u8981\u70b9\u3001\u94fe\u63a5&#xff0c;\u4e00\u6761 text \u6d88\u606f\u3002\u7f51\u9875\u8981\u4f60\u6253\u5f00&#xff0c;\u63a8\u9001\u624d\u9001\u5230\u624b\u4e0a\u3002<br \/>\n\u672c\u6587\u505a\u4e24\u4ef6\u4e8b&#xff1a;\u7ed9\u65e5\u62a5\u63a8\u9001\u505a\u4e00\u6b21\u9009\u578b&#xff0c;\u628a\u51ed\u636e\u5b89\u5168\u8fd9\u6761\u5e95\u7ebf\u8bb2\u6e05\u695a\u3002\u524d\u51e0\u7bc7\u65e5\u62a5\u90fd\u7ed3\u675f\u5728 report.html&#xff0c;\u4e00\u4e2a\u7f51\u9875\u3002\u7f51\u9875\u7684\u5bbf\u547d\u662f\u4f60\u5f97\u8bb0\u5f97\u6253\u5f00\u5b83&#xff1b;\u63a8\u9001\u7684\u5bbf\u547d\u662f\u5b83\u81ea\u5df1\u8dd1\u5230\u4f60\u9762\u524d<\/p>\n","protected":false},"author":2,"featured_media":99531,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[11385,11386,11387,74,50],"topic":[],"class_list":["post-99534","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-hermes","tag-11386","tag-11387","tag-agent","tag-50"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Hermes \u5b9e\u6218 \uff1a\u591a\u6e20\u9053\u63a5\u5165\u2014\u2014\u65e5\u62a5\u63a8\u9001\u5230\u98de\u4e66\/Telegram - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/99534.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Hermes \u5b9e\u6218 \uff1a\u591a\u6e20\u9053\u63a5\u5165\u2014\u2014\u65e5\u62a5\u63a8\u9001\u5230\u98de\u4e66\/Telegram - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6280\u80fd\u8dd1\u8d77\u6765\u4e86&#xff0c;\u7ed3\u679c\u9700\u8981\u63a8\u9001\u5230\u4f60\u624b\u4e0a&#xff1a;\u65e9\u4e0a 6 \u70b9\u6574&#xff0c;\u65e5\u62a5\u4e0d\u7528\u4f60\u6253\u5f00\u4efb\u4f55\u7f51\u9875&#xff0c;\u5df2\u7ecf\u8eba\u5728\u98de\u4e66\u7fa4\u91cc\u2014\u2014\u6807\u9898\u3001\u8981\u70b9\u3001\u94fe\u63a5&#xff0c;\u4e00\u6761 text \u6d88\u606f\u3002\u7f51\u9875\u8981\u4f60\u6253\u5f00&#xff0c;\u63a8\u9001\u624d\u9001\u5230\u624b\u4e0a\u3002 \u672c\u6587\u505a\u4e24\u4ef6\u4e8b&#xff1a;\u7ed9\u65e5\u62a5\u63a8\u9001\u505a\u4e00\u6b21\u9009\u578b&#xff0c;\u628a\u51ed\u636e\u5b89\u5168\u8fd9\u6761\u5e95\u7ebf\u8bb2\u6e05\u695a\u3002\u524d\u51e0\u7bc7\u65e5\u62a5\u90fd\u7ed3\u675f\u5728 report.html&#xff0c;\u4e00\u4e2a\u7f51\u9875\u3002\u7f51\u9875\u7684\u5bbf\u547d\u662f\u4f60\u5f97\u8bb0\u5f97\u6253\u5f00\u5b83&#xff1b;\u63a8\u9001\u7684\u5bbf\u547d\u662f\u5b83\u81ea\u5df1\u8dd1\u5230\u4f60\u9762\u524d\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/99534.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-09-02T11:33:29+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260902113327-6a98098714bdb.png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/99534.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/99534.html\",\"name\":\"Hermes \u5b9e\u6218 \uff1a\u591a\u6e20\u9053\u63a5\u5165\u2014\u2014\u65e5\u62a5\u63a8\u9001\u5230\u98de\u4e66\/Telegram - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-09-02T11:33:29+00:00\",\"dateModified\":\"2026-09-02T11:33:29+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/99534.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/99534.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/99534.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Hermes \u5b9e\u6218 \uff1a\u591a\u6e20\u9053\u63a5\u5165\u2014\u2014\u65e5\u62a5\u63a8\u9001\u5230\u98de\u4e66\/Telegram\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Hermes \u5b9e\u6218 \uff1a\u591a\u6e20\u9053\u63a5\u5165\u2014\u2014\u65e5\u62a5\u63a8\u9001\u5230\u98de\u4e66\/Telegram - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/99534.html","og_locale":"zh_CN","og_type":"article","og_title":"Hermes \u5b9e\u6218 \uff1a\u591a\u6e20\u9053\u63a5\u5165\u2014\u2014\u65e5\u62a5\u63a8\u9001\u5230\u98de\u4e66\/Telegram - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6280\u80fd\u8dd1\u8d77\u6765\u4e86&#xff0c;\u7ed3\u679c\u9700\u8981\u63a8\u9001\u5230\u4f60\u624b\u4e0a&#xff1a;\u65e9\u4e0a 6 \u70b9\u6574&#xff0c;\u65e5\u62a5\u4e0d\u7528\u4f60\u6253\u5f00\u4efb\u4f55\u7f51\u9875&#xff0c;\u5df2\u7ecf\u8eba\u5728\u98de\u4e66\u7fa4\u91cc\u2014\u2014\u6807\u9898\u3001\u8981\u70b9\u3001\u94fe\u63a5&#xff0c;\u4e00\u6761 text \u6d88\u606f\u3002\u7f51\u9875\u8981\u4f60\u6253\u5f00&#xff0c;\u63a8\u9001\u624d\u9001\u5230\u624b\u4e0a\u3002 \u672c\u6587\u505a\u4e24\u4ef6\u4e8b&#xff1a;\u7ed9\u65e5\u62a5\u63a8\u9001\u505a\u4e00\u6b21\u9009\u578b&#xff0c;\u628a\u51ed\u636e\u5b89\u5168\u8fd9\u6761\u5e95\u7ebf\u8bb2\u6e05\u695a\u3002\u524d\u51e0\u7bc7\u65e5\u62a5\u90fd\u7ed3\u675f\u5728 report.html&#xff0c;\u4e00\u4e2a\u7f51\u9875\u3002\u7f51\u9875\u7684\u5bbf\u547d\u662f\u4f60\u5f97\u8bb0\u5f97\u6253\u5f00\u5b83&#xff1b;\u63a8\u9001\u7684\u5bbf\u547d\u662f\u5b83\u81ea\u5df1\u8dd1\u5230\u4f60\u9762\u524d","og_url":"https:\/\/www.wsisp.com\/helps\/99534.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-09-02T11:33:29+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260902113327-6a98098714bdb.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"5 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/99534.html","url":"https:\/\/www.wsisp.com\/helps\/99534.html","name":"Hermes \u5b9e\u6218 \uff1a\u591a\u6e20\u9053\u63a5\u5165\u2014\u2014\u65e5\u62a5\u63a8\u9001\u5230\u98de\u4e66\/Telegram - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-09-02T11:33:29+00:00","dateModified":"2026-09-02T11:33:29+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/99534.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/99534.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/99534.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"Hermes \u5b9e\u6218 \uff1a\u591a\u6e20\u9053\u63a5\u5165\u2014\u2014\u65e5\u62a5\u63a8\u9001\u5230\u98de\u4e66\/Telegram"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/99534","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=99534"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/99534\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/99531"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=99534"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=99534"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=99534"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=99534"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}