<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <title>一只会飞的旺旺</title>
  
  <subtitle>一只会飞的旺旺,Java,Python,羊毛,hexo,博客</subtitle>
  <link href="https://www.wangwangit.com/atom.xml" rel="self"/>
  
  <link href="https://www.wangwangit.com/"/>
  <updated>2026-03-08T06:14:12.066Z</updated>
  <id>https://www.wangwangit.com/</id>
  
  <author>
    <name>一只会飞的旺旺</name>
    
  </author>
  
  <generator uri="https://hexo.io/">Hexo</generator>
  
  <entry>
    <title>为什么你的 OpenClaw 一到第二天就像失忆了？真正的坑不是记忆系统，而是这个默认配置</title>
    <link href="https://www.wangwangit.com/%E4%B8%BA%E4%BB%80%E4%B9%88%E4%BD%A0%E7%9A%84%20OpenClaw%20%E4%B8%80%E5%88%B0%E7%AC%AC%E4%BA%8C%E5%A4%A9%E5%B0%B1%E5%83%8F%E5%A4%B1%E5%BF%86%E4%BA%86%EF%BC%9F%E7%9C%9F%E6%AD%A3%E7%9A%84%E5%9D%91%E4%B8%8D%E6%98%AF%E8%AE%B0%E5%BF%86%E7%B3%BB%E7%BB%9F%EF%BC%8C%E8%80%8C%E6%98%AF%E8%BF%99%E4%B8%AA%E9%BB%98%E8%AE%A4%E9%85%8D%E7%BD%AE/"/>
    <id>https://www.wangwangit.com/%E4%B8%BA%E4%BB%80%E4%B9%88%E4%BD%A0%E7%9A%84%20OpenClaw%20%E4%B8%80%E5%88%B0%E7%AC%AC%E4%BA%8C%E5%A4%A9%E5%B0%B1%E5%83%8F%E5%A4%B1%E5%BF%86%E4%BA%86%EF%BC%9F%E7%9C%9F%E6%AD%A3%E7%9A%84%E5%9D%91%E4%B8%8D%E6%98%AF%E8%AE%B0%E5%BF%86%E7%B3%BB%E7%BB%9F%EF%BC%8C%E8%80%8C%E6%98%AF%E8%BF%99%E4%B8%AA%E9%BB%98%E8%AE%A4%E9%85%8D%E7%BD%AE/</id>
    <published>2026-03-08T05:35:00.000Z</published>
    <updated>2026-03-08T06:14:12.066Z</updated>
    
    <content type="html"><![CDATA[<p><img src="https://img.996007.icu/file/1772948850945_20260308134722131.png" alt="image-20260308134721886"></p><p>昨晚还聊得好好的。</p><p>你跟 OpenClaw 一起梳理方案、记待办、定步骤，甚至已经把今天要继续的事都铺好了。结果第二天早晨你一开口，它来一句：像什么都没发生过。</p><p>很多人碰到这里，第一反应都是一样的：<strong>完了，记忆坏了。</strong></p><p>但啧，真相往往没那么复杂。</p><p><strong>大多数时候，锅不在 MEMORY，也不在 QMD，更不在 embedding。真正更常见的元凶，是 <code>session.reset</code>。</strong></p><p>更狠的是，这个坑还很像“记忆系统故障”，所以特别容易误诊。你会去查向量检索、查长期记忆、查模型上下文，折腾半天，最后才发现：原来只是 OpenClaw 在凌晨按默认策略把会话切走了。</p><p>如果你把 OpenClaw 当个人助手用，这个默认配置非常容易把体验直接打废。</p><p>先说我的结论：</p><blockquote><p><strong>个人助手场景下，不要默认用 <code>session.reset.mode = &quot;daily&quot;</code>。更稳的方案，是改成 <code>idle</code>，再按 <code>dm / thread / group</code> 分类型设置。</strong></p></blockquote><p>这不是玄学优化。</p><p>这是最影响“它到底像不像一个连续工作的助手”的配置之一。</p><h2 id="这坑到底是怎么来的"><a href="#这坑到底是怎么来的" class="headerlink" title="这坑到底是怎么来的"></a>这坑到底是怎么来的</h2><p>OpenClaw 官方文档其实写得很直白。</p><p>它的会话会按重置策略复用，直到过期。而 <strong>daily reset 默认按 Gateway 主机本地时间凌晨 4 点判断</strong>。一旦过期，下一条消息到来时，就会创建新的 <code>sessionId</code>。</p><p>翻成人话就是：</p><p><strong>你昨天晚上聊的那一段，到了今天早晨，可能已经不在同一个会话桶里了。</strong></p><p>所以你第二天看到的典型症状会是这样：</p><ul><li>它接不上你昨晚的话</li><li>你说“按昨天那个方案继续”，它一脸茫然</li><li>你开始怀疑长期记忆是不是挂了</li></ul><p>但这里要先分清两个概念。</p><p><img src="https://img.996007.icu/file/1772948869633_20260308134740824.png" alt="image-20260308134740506"></p><h3 id="1）Session-不是长期记忆"><a href="#1）Session-不是长期记忆" class="headerlink" title="1）Session 不是长期记忆"></a>1）Session 不是长期记忆</h3><p><code>session</code> 更像是“这一段连续对话”。</p><p>它负责保存最近这段聊天的上下文，决定模型这一轮能不能自然接着上一轮往下说。</p><h3 id="2）Memory-才是长期记忆"><a href="#2）Memory-才是长期记忆" class="headerlink" title="2）Memory 才是长期记忆"></a>2）Memory 才是长期记忆</h3><p><code>MEMORY.md</code>、<code>memory/*.md</code>、QMD 这套，更接近“长期笔记”和“可检索事实”。</p><p>它们能帮助手段性地找回过去的信息，但那种“像昨天还在同一个聊天里”的连续感，主要还是靠 session。</p><p>所以很多人说“OpenClaw 第二天失忆”，严格讲，很多时候并不是<strong>长期记忆没了</strong>，而是<strong>短期会话连续性断了</strong>。</p><p>这俩不是一回事。</p><h2 id="为什么-daily-对个人助手特别伤"><a href="#为什么-daily-对个人助手特别伤" class="headerlink" title="为什么 daily 对个人助手特别伤"></a>为什么 <code>daily</code> 对个人助手特别伤</h2><p>如果你做的是客服机器人、值班机器人、工单机器人，那 <code>daily</code> 其实不难理解。</p><p>它的优点很明确：</p><ul><li>每天自动切新会话，边界干净</li><li>更容易审计</li><li>不容易把前一天的上下文脏东西带进今天</li><li>对成本和上下文膨胀更保守</li></ul><p>问题在于，<strong>个人助手不是这么用的。</strong></p><p>你对私人 AI 助手的期待，通常不是“它每天凌晨帮我切干净”，而是：</p><ul><li>昨天说到一半的事，今天还能接着说</li><li>我不用每天重新讲背景</li><li>我一句“按昨天那个继续”，它就该听得懂</li></ul><p>而 <code>daily</code> 这套默认逻辑，跟这种预期几乎是反着来的。</p><p>它不是错。</p><p><strong>只是特别不适合“个人助理”这个场景。</strong></p><h2 id="最佳配置方案：别按天切，按空闲时长切"><a href="#最佳配置方案：别按天切，按空闲时长切" class="headerlink" title="最佳配置方案：别按天切，按空闲时长切"></a>最佳配置方案：别按天切，按空闲时长切</h2><p>如果你问我，OpenClaw 在个人助手场景下，<code>session.reset</code> 最值得推荐的默认方案是什么，我的答案很直接：</p><blockquote><p><strong>全局别再用 <code>daily</code>，改成 <code>idle</code>。然后按不同会话类型分别设置。</strong></p></blockquote><p><img src="https://img.996007.icu/file/1772949061483_20260308135058466.png" alt="image-20260308135058392"></p><p>推荐配置如下：</p><figure class="highlight plaintext"><table><tr><td class="code"><pre><span class="line">session: &#123;</span><br><span class="line">  scope: &quot;per-sender&quot;,</span><br><span class="line">  resetTriggers: [&quot;/new&quot;, &quot;/reset&quot;],</span><br><span class="line"></span><br><span class="line">  // 默认兜底：7 天没说话，再重置</span><br><span class="line">  reset: &#123;</span><br><span class="line">    mode: &quot;idle&quot;,</span><br><span class="line">    idleMinutes: 10080, // 7 days</span><br><span class="line">  &#125;,</span><br><span class="line"></span><br><span class="line">  // 按会话类型覆盖</span><br><span class="line">  resetByType: &#123;</span><br><span class="line">    // 私聊：最需要跨天连续性</span><br><span class="line">    dm: &#123;</span><br><span class="line">      mode: &quot;idle&quot;,</span><br><span class="line">      idleMinutes: 10080, // 7 days</span><br><span class="line">    &#125;,</span><br><span class="line"></span><br><span class="line">    // 线程 / Telegram topic / Discord thread：</span><br><span class="line">    // 更像围绕一个任务的上下文，1 天空闲后重置更合理</span><br><span class="line">    thread: &#123;</span><br><span class="line">      mode: &quot;idle&quot;,</span><br><span class="line">      idleMinutes: 1440, // 1 day</span><br><span class="line">    &#125;,</span><br><span class="line"></span><br><span class="line">    // 群聊：噪音大，保守一点</span><br><span class="line">    group: &#123;</span><br><span class="line">      mode: &quot;idle&quot;,</span><br><span class="line">      idleMinutes: 120, // 2 hours</span><br><span class="line">    &#125;,</span><br><span class="line">  &#125;,</span><br><span class="line">&#125;</span><br></pre></td></tr></table></figure><p>如果你主要只在私聊里用 OpenClaw，甚至可以再更简单一点：</p><figure class="highlight plaintext"><table><tr><td class="code"><pre><span class="line">session: &#123;</span><br><span class="line">  resetTriggers: [&quot;/new&quot;, &quot;/reset&quot;],</span><br><span class="line">  reset: &#123;</span><br><span class="line">    mode: &quot;idle&quot;,</span><br><span class="line">    idleMinutes: 10080,</span><br><span class="line">  &#125;,</span><br><span class="line">&#125;</span><br></pre></td></tr></table></figure><p>但更推荐的，还是前面那版按类型拆开。</p><p>因为它更接近真实使用场景。</p><h2 id="我为什么认为这是“最佳默认方案”"><a href="#我为什么认为这是“最佳默认方案”" class="headerlink" title="我为什么认为这是“最佳默认方案”"></a>我为什么认为这是“最佳默认方案”</h2><p>不是因为它最激进，也不是因为它参数最大。</p><p>而是因为它在<strong>连续性、干净程度、成本控制</strong>之间，平衡得最好。</p><p><img src="https://img.996007.icu/file/1772948909724_20260308134822193.png" alt="image-20260308134821840"></p><h3 id="私聊：该长就长"><a href="#私聊：该长就长" class="headerlink" title="私聊：该长就长"></a>私聊：该长就长</h3><p>个人助手最核心的体验，几乎都发生在私聊里。</p><p>而私聊一旦隔夜就断，会特别难受。</p><p>你前一天才刚定好的任务、方案、取舍，第二天要重新铺一遍背景，这体验基本就废了。</p><p>所以 DM 最应该保连续性。</p><p>我建议默认先给 <strong>7 天 idle</strong>，原因很简单：</p><ul><li>足够跨天</li><li>足够覆盖多数人一周内的连续工作流</li><li>又没有长到完全放飞</li></ul><p>如果你是重度个人助理用户，也可以把私聊拉到 30 天：</p><figure class="highlight plaintext"><table><tr><td class="code"><pre><span class="line">dm: &#123;</span><br><span class="line">  mode: &quot;idle&quot;,</span><br><span class="line">  idleMinutes: 43200, // 30 days</span><br><span class="line">&#125;</span><br></pre></td></tr></table></figure><p>但对大多数人来说，<strong>7 天已经够舒服了</strong>。</p><h3 id="线程：保一天，通常最顺手"><a href="#线程：保一天，通常最顺手" class="headerlink" title="线程：保一天，通常最顺手"></a>线程：保一天，通常最顺手</h3><p>thread、topic 这种东西，本质更像“围绕某个任务临时开出来的上下文容器”。</p><p>它不是永久办公室，更像项目讨论间。</p><p>所以这里我不建议拉太长。</p><p><strong>1 天 idle</strong> 是个很顺手的值：</p><ul><li>今天没聊完，明天还能接上</li><li>如果已经冷掉，就让它自然结束</li><li>不会积一堆陈年上下文</li></ul><p>比起“每天凌晨固定 4 点切一刀”，这个策略更贴近人的实际工作节奏。</p><h3 id="群聊：短一点才稳"><a href="#群聊：短一点才稳" class="headerlink" title="群聊：短一点才稳"></a>群聊：短一点才稳</h3><p>群聊最容易脏。</p><p>消息多、话题乱、噪音高，还容易串上下文。</p><p>所以群聊没必要像私聊一样保很久。</p><p><strong>2 小时 idle</strong> 是个比较稳的起点：</p><ul><li>能覆盖一轮连续讨论</li><li>不会把半天前的群聊垃圾也拖进来</li><li>真出问题也更容易排查</li></ul><p>如果你群特别安静，也可以放宽到 4 小时、6 小时。</p><p>但别上来就按私聊标准去配群聊，不然迟早串味。</p><h2 id="哪些人不该直接照抄这套"><a href="#哪些人不该直接照抄这套" class="headerlink" title="哪些人不该直接照抄这套"></a>哪些人不该直接照抄这套</h2><p>这套配置，不是全场景通杀。</p><p>它是给“<strong>把 OpenClaw 当个人助手</strong>”的人准备的。</p><p>如果你是下面这些场景，就别无脑照抄：</p><h3 id="1）客服-工单-值班机器人"><a href="#1）客服-工单-值班机器人" class="headerlink" title="1）客服 &#x2F; 工单 &#x2F; 值班机器人"></a>1）客服 &#x2F; 工单 &#x2F; 值班机器人</h3><p>这种场景更看重边界清晰、审计方便、上下文隔离。</p><p>那 <code>daily</code> 反而可能是合理的。</p><h3 id="2）高合规环境"><a href="#2）高合规环境" class="headerlink" title="2）高合规环境"></a>2）高合规环境</h3><p>如果你的要求就是“每天必须开新会话”，那就不要用私人助手思路套进来。</p><h3 id="3）极端成本敏感场景"><a href="#3）极端成本敏感场景" class="headerlink" title="3）极端成本敏感场景"></a>3）极端成本敏感场景</h3><p>虽然 OpenClaw 有压缩、摘要、记忆刷新这些机制，但会话活得越久，上下文管理通常越复杂。</p><p>如果你特别在意 token 和会话膨胀，就要把 <code>idleMinutes</code> 设得更保守一点。</p><h2 id="改完之后，怎么确认自己真的修好了"><a href="#改完之后，怎么确认自己真的修好了" class="headerlink" title="改完之后，怎么确认自己真的修好了"></a>改完之后，怎么确认自己真的修好了</h2><p>最笨也最有效的方法，不是盯着配置发呆，而是直接做一次隔夜验证。</p><h3 id="最小验证路径"><a href="#最小验证路径" class="headerlink" title="最小验证路径"></a>最小验证路径</h3><ol><li><p>今晚先跟 OpenClaw 聊一段有明显上下文的内容</p><ul><li>比如一个部署方案</li><li>一个待办列表</li><li>一个你自定义的代号</li></ul></li><li><p>确认你已经把 <code>daily</code> 改成 <code>idle</code></p></li><li><p>第二天早晨直接问：</p></li></ol><figure class="highlight text"><table><tr><td class="code"><pre><span class="line">按我们昨天那个方案继续。</span><br></pre></td></tr></table></figure><h3 id="成功表现"><a href="#成功表现" class="headerlink" title="成功表现"></a>成功表现</h3><p>如果配置生效，正常应该看到这些现象：</p><ul><li>它能自然续上昨天的讨论</li><li>不需要你再从头铺背景</li><li>不会像第一次见面一样重新起头</li></ul><h3 id="如果没生效，先查这几个地方"><a href="#如果没生效，先查这几个地方" class="headerlink" title="如果没生效，先查这几个地方"></a>如果没生效，先查这几个地方</h3><ol><li><strong>只改了 <code>reset</code>，没改 <code>resetByType</code></strong></li><li><strong>thread 里还留着 <code>daily</code></strong></li><li><strong>某个 channel override 又把它覆盖回去了</strong></li><li><strong>你测试的其实不是同一类会话</strong>（比如昨天在 topic，今天跑到私聊）</li></ol><p>很多人以为自己已经改好了，结果不是没改成功，而是<strong>有覆盖项没清干净</strong>。</p><h2 id="这个坑最容易误诊的-3-个方向"><a href="#这个坑最容易误诊的-3-个方向" class="headerlink" title="这个坑最容易误诊的 3 个方向"></a>这个坑最容易误诊的 3 个方向</h2><h3 id="误诊-1：上来就怀疑-MEMORY-QMD"><a href="#误诊-1：上来就怀疑-MEMORY-QMD" class="headerlink" title="误诊 1：上来就怀疑 MEMORY &#x2F; QMD"></a>误诊 1：上来就怀疑 MEMORY &#x2F; QMD</h3><p>这最常见。</p><p>一看到隔夜接不上话，大家就会去查：</p><ul><li>MEMORY.md 有没有写入</li><li>QMD 有没有 embed</li><li>rerank 是不是挂了</li><li>向量索引是不是坏了</li></ul><p>但啧，先别急着拆这么深。</p><p><strong>先查 <code>session.reset</code>。</strong></p><p>因为它才是最像“隔夜失忆”的第一嫌疑人。</p><h3 id="误诊-2：觉得“只要关掉-daily-就万事大吉”"><a href="#误诊-2：觉得“只要关掉-daily-就万事大吉”" class="headerlink" title="误诊 2：觉得“只要关掉 daily 就万事大吉”"></a>误诊 2：觉得“只要关掉 daily 就万事大吉”</h3><p>也不一定。</p><p>你如果只改全局 <code>reset</code>，但 <code>resetByType.thread</code> 还保留着：</p><figure class="highlight plaintext"><table><tr><td class="code"><pre><span class="line">thread: &#123; mode: &quot;daily&quot;, atHour: 4 &#125;</span><br></pre></td></tr></table></figure><p>那你第二天在 Telegram topic 或 Discord thread 里，照样可能断。</p><h3 id="误诊-3：一刀切追求“永不重置”"><a href="#误诊-3：一刀切追求“永不重置”" class="headerlink" title="误诊 3：一刀切追求“永不重置”"></a>误诊 3：一刀切追求“永不重置”</h3><p>这也不是好路子。</p><p>表面上看，永不重置最连续。</p><p>但后面你很可能会遇到这些问题：</p><ul><li>会话越来越脏</li><li>任务之间互相串味</li><li>排查问题更麻烦</li><li>某些场景下成本更难控</li></ul><p>所以更稳的思路不是“彻底不重置”，而是：</p><blockquote><p><strong>该长的地方长，该短的地方短。</strong></p></blockquote><p>也就是：私聊长一点，线程中等，群聊短一点。</p><p>这才是更适合个人助手的现实配置。</p><h2 id="最后一句话"><a href="#最后一句话" class="headerlink" title="最后一句话"></a>最后一句话</h2><p>如果你把 OpenClaw 当个人助手，</p><p><strong>别让它每天凌晨 4 点把昨天的你“格式化”掉。</strong></p><p>真正更顺手的配置，不是粗暴关掉会话管理，而是把 <code>daily</code> 改成 <code>idle</code>，再按 <code>dm / thread / group</code> 分开设置。</p><p>这样你既能保住“隔天还能接着聊”的体验，也不会把所有会话无限拖下去。</p><p>对个人助手来说，这不是边角料配置。</p><p>这是最影响体感的那一项。</p>]]></content>
    
    
    <summary type="html">很多人以为 OpenClaw 第二天记不起昨天的事，是记忆系统坏了。真相往往不是 MEMORY/QMD 出问题，而是 session.reset 默认按天切会话。本文讲清这个坑，并给出更适合个人助手场景的最佳配置方案。</summary>
    
    
    
    <category term="AI工具" scheme="https://www.wangwangit.com/categories/AI%E5%B7%A5%E5%85%B7/"/>
    
    
    <category term="OpenClaw" scheme="https://www.wangwangit.com/tags/OpenClaw/"/>
    
    <category term="session" scheme="https://www.wangwangit.com/tags/session/"/>
    
    <category term="memory" scheme="https://www.wangwangit.com/tags/memory/"/>
    
  </entry>
  
  <entry>
    <title>OpenClaw 远程浏览器使用指南：从入门到踩坑</title>
    <link href="https://www.wangwangit.com/openclaw-remote-browser-guide/"/>
    <id>https://www.wangwangit.com/openclaw-remote-browser-guide/</id>
    <published>2026-02-26T04:16:00.000Z</published>
    <updated>2026-03-08T06:14:12.066Z</updated>
    
    <content type="html"><![CDATA[<p><img src="https://img.996007.icu/file/1772948528437_20260308134201918.png" alt="image"></p><p>这两天看公众号都是安装教程,也没看到其他使用上的问题, 我来分享一下我的一些使用经验吧!</p><p>这几天晚上经常用OpenClaw 帮我操作点东西，结果发现浏览器又连不上了。重启 Gateway 后，我又得打开 Chrome，手动点击那个 Browser Relay 插件的图标, 这大冬天的,谁愿意起来碰电脑啊, 这让我苦恼不已!</p><h2 id="简单介绍"><a href="#简单介绍" class="headerlink" title="简单介绍"></a>简单介绍</h2><p>OpenClaw（前身为 Clawdbot&#x2F;Moltbot）是一款强大的 AI 助手框架，其浏览器自动化功能让 AI 能够”看见”并”操作”网页。本文将深入介绍 OpenClaw 的远程浏览器功能——特别是 Chrome Extension Relay 模式，以及我在使用过程中遇到的问题和解决方案。至于为嘛不用内置的浏览器功能,因为启动一个chrome我的小服务器就快顶不住了!</p><h2 id="什么是-Browser-Relay？"><a href="#什么是-Browser-Relay？" class="headerlink" title="什么是 Browser Relay？"></a>什么是 Browser Relay？</h2><p>OpenClaw 提供了两种浏览器控制模式：</p><ol><li><strong>Managed Browser（托管浏览器）</strong>：OpenClaw 启动一个独立的 Chrome 实例，完全隔离于你的日常浏览器</li><li><strong>Extension Relay（扩展中继）</strong>：通过 Chrome 扩展控制你<strong>现有的 Chrome 标签页</strong></li></ol><p>Extension Relay 的核心价值在于：你可以让 AI 操作你已经登录的网页、正在浏览的内容，而不需要重新在隔离环境中登录。</p><h3 id="架构解析"><a href="#架构解析" class="headerlink" title="架构解析"></a>架构解析</h3><p>Browser Relay 由三个核心组件构成：</p><p><img src="https://img.996007.icu/file/1769827570986_20260131104603099.jpg" alt="photo_2026-01-31_10-38-03"></p><h2 id="安装与配置"><a href="#安装与配置" class="headerlink" title="安装与配置"></a>安装与配置</h2><blockquote><p>官方教程: <a href="https://docs.openclaw.ai/tools/chrome-extension">https://docs.openclaw.ai/tools/chrome-extension</a></p></blockquote><h3 id="1-安装-Chrome-扩展"><a href="#1-安装-Chrome-扩展" class="headerlink" title="1. 安装 Chrome 扩展"></a>1. 安装 Chrome 扩展</h3><figure class="highlight bash"><table><tr><td class="code"><pre><span class="line"><span class="comment"># 安装扩展到稳定路径</span></span><br><span class="line">openclaw browser extension install</span><br><span class="line"></span><br><span class="line"><span class="comment"># 查看扩展目录路径</span></span><br><span class="line">openclaw browser extension path</span><br></pre></td></tr></table></figure><p>然后将这个文件夹下载下来：</p><ol><li>打开其他电脑上的Chrome → <code>chrome://extensions</code></li><li>启用”开发者模式”</li><li>点击”加载已解压的扩展程序”</li><li>选择上面命令输出的目录</li><li>将扩展图标固定到工具栏</li></ol><p><img src="https://img.996007.icu/file/1769825542707_20260131101212209.png" alt="image-20260131101205040"></p><h3 id="2-配置文件详解"><a href="#2-配置文件详解" class="headerlink" title="2. 配置文件详解"></a>2. 配置文件详解</h3><p>在 <code>~/.openclaw/openclaw.json</code> 中： </p><p>我这块因为用的是SSH隧道的方案,所以直接采用的默认的配置,只设置了几个参数,如下图!</p><p><img src="https://img.996007.icu/file/1769825679777_20260131101429862.png" alt="image-20260131101429790"></p><h3 id="3-插件配置"><a href="#3-插件配置" class="headerlink" title="3.插件配置"></a>3.插件配置</h3><p>这里需要用命令创建SSH隧道,因为我安装openclaw时用的默认配置,都是监听的127.0.0.1,外网是无法访问这些端口的.可以在电脑上运行以下命令建立隧道! 不过这个需要一直保持cmd窗口开启,你可以让AI给你写一个后台启动的方案!</p><blockquote><p>ssh -L 18792:127.0.0.1:18792 root@服务器IP</p></blockquote><p><img src="https://img.996007.icu/file/1769826018643_20260131102010318.png" alt="image-20260131101956940"></p><h3 id="徽章状态说明"><a href="#徽章状态说明" class="headerlink" title="徽章状态说明"></a>徽章状态说明</h3><table><thead><tr><th>徽章</th><th>含义</th></tr></thead><tbody><tr><td><code>ON</code></td><td>已附加，OpenClaw 可以控制该标签页</td></tr><tr><td><code>…</code></td><td>正在连接到本地中继</td></tr><tr><td><code>!</code></td><td>中继不可达（最常见：本地未运行浏览器中继服务）</td></tr></tbody></table><p><img src="https://img.996007.icu/file/1769825702435_20260131101459050.png" alt="image-20260131101458972"></p><h2 id="常见问题"><a href="#常见问题" class="headerlink" title="常见问题"></a>常见问题</h2><p>使用过程中遇到了下面几个问题,可能2026.1.29 版本的浏览器插件已经更新修复了,若没有修复,你可以用我优化后的插件.我的这个需要在你工作区tools.md中强调一下! </p><blockquote><p>PS: 其实只要能和AI对话,这些都能让他给你慢慢排查!</p></blockquote><p><img src="https://img.996007.icu/file/1769826371490_20260131102602505.png" alt="image-20260131102602420"></p><h3 id="问题-1：”tab-not-found”-错误"><a href="#问题-1：”tab-not-found”-错误" class="headerlink" title="问题 1：”tab not found” 错误"></a>问题 1：”tab not found” 错误</h3><p><strong>现象</strong>：<code>tabs</code> 命令能正确列出标签页，但 <code>screenshot</code> 或 <code>snapshot</code> 报错 <code>Error: tab not found</code></p><p><strong>环境示例</strong>：</p><ul><li>Gateway 运行在云服务器 (Linux)</li><li>Chrome + 扩展运行在 Windows 主机</li><li>中继可达（<code>cdpReady: true</code>）</li></ul><p><strong>根本原因</strong>：<br>当多个标签页同时附加时，它们共享同一个 WebSocket URL (<code>ws://127.0.0.1:18792/cdp</code>)，Playwright 在解析目标时无法确定应该操作哪个标签页。</p><p><strong>临时解决方案</strong>（社区验证有效）：</p><p>一次只附加一个标签页：</p><ol><li>在标签页 1 上点击扩展图标关闭（OFF）</li><li>在标签页 2 上点击扩展图标开启（ON）</li><li>执行截图&#x2F;快照操作</li><li>按需切换</li></ol><p><strong>官方修复</strong>：<br>在 2026.1.29 版本中，开发团队添加了 <strong>URL 匹配回退机制</strong>：</p><blockquote><p>“Browser: fall back to URL matching for extension relay target resolution. (#1999)”</p></blockquote><p>当 CDP session 方式失败时，系统会尝试通过 URL 匹配来定位页面。</p><h3 id="问题-2：cdpReady-false"><a href="#问题-2：cdpReady-false" class="headerlink" title="问题 2：cdpReady: false"></a>问题 2：cdpReady: false</h3><p><strong>现象</strong>：状态显示 <code>cdpReady: false</code>，无法执行快照操作</p><figure class="highlight json"><table><tr><td class="code"><pre><span class="line"><span class="punctuation">&#123;</span></span><br><span class="line">  <span class="attr">&quot;running&quot;</span><span class="punctuation">:</span> <span class="literal"><span class="keyword">true</span></span><span class="punctuation">,</span></span><br><span class="line">  <span class="attr">&quot;cdpReady&quot;</span><span class="punctuation">:</span> <span class="literal"><span class="keyword">false</span></span><span class="punctuation">,</span></span><br><span class="line">  <span class="attr">&quot;cdpHttp&quot;</span><span class="punctuation">:</span> <span class="literal"><span class="keyword">true</span></span><span class="punctuation">,</span></span><br><span class="line">  <span class="attr">&quot;tabs&quot;</span><span class="punctuation">:</span> <span class="punctuation">[</span>...<span class="punctuation">]</span></span><br><span class="line"><span class="punctuation">&#125;</span></span><br></pre></td></tr></table></figure><p><strong>解决方案</strong>：</p><p>这个问题在 Issue #1160 中已修复（commit <code>6c3a9fc</code> - “fix: handle extension relay session reuse”）。</p><p>如果你使用的是 2026.1.23-1 或更早版本，建议：</p><ol><li>升级到最新版本：<code>npm install -g openclaw@latest</code></li><li>或从 GitHub 主分支安装</li></ol><h3 id="问题-3：扩展模式恢复问题"><a href="#问题-3：扩展模式恢复问题" class="headerlink" title="问题 3：扩展模式恢复问题"></a>问题 3：扩展模式恢复问题</h3><p><strong>现象</strong>：扩展附加后，过一段时间操作失败</p><p><strong>修复</strong>：在 2026.1.15 版本中已修复：</p><blockquote><p>“Browser: extension mode recovers when only one tab is attached (stale targetId fallback).”</p><p>“Browser: fix <code>tab not found</code> for extension relay snapshots&#x2F;actions when Playwright blocks <code>newCDPSession</code> (use the single available Page).”</p></blockquote><h3 id="问题-4：Sandbox-会话中的浏览器控制"><a href="#问题-4：Sandbox-会话中的浏览器控制" class="headerlink" title="问题 4：Sandbox 会话中的浏览器控制"></a>问题 4：Sandbox 会话中的浏览器控制</h3><p><strong>现象</strong>：在 sandbox 模式下无法使用扩展中继</p><p><strong>原因</strong>：Sandbox 会话默认 <code>target=&quot;sandbox&quot;</code>，而扩展中继需要控制 host 浏览器</p><p><strong>解决方案</strong>：</p><p>方案 A：在非 sandbox 会话中使用扩展</p><p>方案 B：在配置中允许 host 浏览器控制：</p><figure class="highlight json"><table><tr><td class="code"><pre><span class="line"><span class="punctuation">&#123;</span></span><br><span class="line">  <span class="attr">&quot;agents&quot;</span><span class="punctuation">:</span> <span class="punctuation">&#123;</span></span><br><span class="line">    <span class="attr">&quot;defaults&quot;</span><span class="punctuation">:</span> <span class="punctuation">&#123;</span></span><br><span class="line">      <span class="attr">&quot;sandbox&quot;</span><span class="punctuation">:</span> <span class="punctuation">&#123;</span></span><br><span class="line">        <span class="attr">&quot;browser&quot;</span><span class="punctuation">:</span> <span class="punctuation">&#123;</span></span><br><span class="line">          <span class="attr">&quot;allowHostControl&quot;</span><span class="punctuation">:</span> <span class="literal"><span class="keyword">true</span></span></span><br><span class="line">        <span class="punctuation">&#125;</span></span><br><span class="line">      <span class="punctuation">&#125;</span></span><br><span class="line">    <span class="punctuation">&#125;</span></span><br><span class="line">  <span class="punctuation">&#125;</span></span><br><span class="line"><span class="punctuation">&#125;</span></span><br></pre></td></tr></table></figure><p>然后在调用 browser 工具时指定 <code>target=&quot;host&quot;</code>。</p><h2 id="总结"><a href="#总结" class="headerlink" title="总结"></a>总结</h2><p>OpenClaw 的 Browser Relay 功能为 AI 助手提供了强大的网页自动化能力。虽然早期版本存在一些稳定性问题（特别是多标签页场景），但开发团队已经在最新版本中修复了大部分问题。</p><p><strong>最佳实践</strong>：</p><ol><li>保持 OpenClaw 更新到最新版本</li><li>一次只附加一个标签页（直到多标签页支持完全稳定）</li><li>使用专用 Chrome Profile 进行自动化操作</li><li>通过 ssh隧道 保护远程访问</li></ol>]]></content>
    
    
    <summary type="html">这两天看公众号都是安装教程,也没看到其他使用上的问题, 我来分享一下我在OpenClaw 远程浏览器上的一些使用经验吧!</summary>
    
    
    
    <category term="技术教程" scheme="https://www.wangwangit.com/categories/%E6%8A%80%E6%9C%AF%E6%95%99%E7%A8%8B/"/>
    
    
    <category term="openclaw" scheme="https://www.wangwangit.com/tags/openclaw/"/>
    
    <category term="browser-automation" scheme="https://www.wangwangit.com/tags/browser-automation/"/>
    
  </entry>
  
  <entry>
    <title>OpenClaw 多会话模式：小白也能看懂的完整教程</title>
    <link href="https://www.wangwangit.com/OpenClaw%E5%A4%9A%E4%BC%9A%E8%AF%9D%E6%A8%A1%E5%BC%8F-%E5%B0%8F%E7%99%BD%E4%B9%9F%E8%83%BD%E7%9C%8B%E6%87%82%E7%9A%84%E5%AE%8C%E6%95%B4%E6%95%99%E7%A8%8B/"/>
    <id>https://www.wangwangit.com/OpenClaw%E5%A4%9A%E4%BC%9A%E8%AF%9D%E6%A8%A1%E5%BC%8F-%E5%B0%8F%E7%99%BD%E4%B9%9F%E8%83%BD%E7%9C%8B%E6%87%82%E7%9A%84%E5%AE%8C%E6%95%B4%E6%95%99%E7%A8%8B/</id>
    <published>2026-02-01T22:56:00.000Z</published>
    <updated>2026-03-08T06:14:12.066Z</updated>
    
    <content type="html"><![CDATA[<p><img src="https://img.996007.icu/file/1770018981980_20260202155606257.jpeg" alt="Generated Image February 02, 2026 - 3_55PM"></p><p>这几天用 OpenClaw 来，发现了一个问题。</p><p>每次对话都是全新开始。昨天的语境？没了。上周要求的研究？再也找不到了。我想让 OpenClaw 同时处理多个任务，但默认情况下它只能一个一个来。</p><p>后来我找到了解决办法：用 TG的 Topics 功能，让 OpenClaw 开启多会话模式。</p><p>配置完后，一个群里可以同时跑多个任务，互不干扰。Chat 乱聊不影响 Work，Feed 的噪音不污染 Chat。每个 Topic 都有独立的上下文，OpenClaw 记得住每个任务在做什么。</p><p>这篇文章手把手教你配置。</p><hr><h2 id="什么是多会话模式？"><a href="#什么是多会话模式？" class="headerlink" title="什么是多会话模式？"></a>什么是多会话模式？</h2><p>先讲清楚概念。</p><p><strong>Session（会话）</strong>：一条独立的对话，有自己的历史记录和上下文。</p><p><strong>Topics</strong>：TG群里的”话题”功能，可以把一个群拆成多个子频道。</p><p><strong>多会话模式</strong>：每个 Topic 是一个独立的 Session，OpenClaw 可以同时处理多个 Topic 的消息。</p><p>简单说：一个群 &#x3D; 多条并行车道。每条车道有自己的上下文，互不干扰。</p><p><img src="https://img.996007.icu/file/1770018835714_20260202155350267.jpeg" alt="Generated Image February 02, 2026 - 3_47PM (1)"></p><hr><h2 id="配置步骤"><a href="#配置步骤" class="headerlink" title="配置步骤"></a>配置步骤</h2><p><img src="https://img.996007.icu/file/1770018795495_20260202155305571.jpeg" alt="Generated Image February 02, 2026 - 3_52PM"></p><h3 id="步骤-1：Bot-设置（关闭-Privacy）"><a href="#步骤-1：Bot-设置（关闭-Privacy）" class="headerlink" title="步骤 1：Bot 设置（关闭 Privacy）"></a>步骤 1：Bot 设置（关闭 Privacy）</h3><p>OpenClaw 机器人默认是隐私模式，在群里只能收到 @它的消息。要让它在所有 Topic 里都能收到消息，需要关闭 Privacy。</p><p>打开 BotFather，发送 <code>/setprivacy</code>，选择你的机器人，然后选择 <strong>Disable</strong>。</p><p><img src="https://img.996007.icu/file/1770017777302_20260202153610937.png" alt="image-20260202153610848"></p><h3 id="步骤-2：管理员权限"><a href="#步骤-2：管理员权限" class="headerlink" title="步骤 2：管理员权限"></a>步骤 2：管理员权限</h3><p>把 OpenClaw 机器人拉进群后，需要给它管理员权限。</p><p>群设置 → 管理员 → 添加机器人 → 勾选所有权限（至少需要”读取消息”和”发送消息”权限）。</p><p><img src="https://img.996007.icu/file/1770017808212_20260202153643276.png" alt="image-20260202153643208"></p><h3 id="步骤-3：开启-Topics"><a href="#步骤-3：开启-Topics" class="headerlink" title="步骤 3：开启 Topics"></a>步骤 3：开启 Topics</h3><p>在群设置里打开 <strong>Topics &#x2F; Forum</strong>（话题&#x2F;论坛模式）。</p><p>群设置 → Topics &#x2F; Forum → 打开开关。</p><p><img src="https://img.996007.icu/file/1770017855130_20260202153725900.png" alt="image-20260202153725848"></p><h3 id="步骤-4：创建-Topic"><a href="#步骤-4：创建-Topic" class="headerlink" title="步骤 4：创建 Topic"></a>步骤 4：创建 Topic</h3><p>创建不同的 Topic，用于不同类型的任务。</p><p>推荐的三车道设计：</p><ul><li><strong>Chat</strong>：日常聊天（上下文自由发散）</li><li><strong>Work</strong>：办正事（只讨论任务&#x2F;指令）</li><li><strong>News</strong>：资讯&#x2F;巡逻（低打扰）</li></ul><h3 id="步骤-5：配置触发规则"><a href="#步骤-5：配置触发规则" class="headerlink" title="步骤 5：配置触发规则"></a>步骤 5：配置触发规则</h3><p>这是最关键的一步。</p><blockquote><p>直接将官方文档发给机器人,让他帮你配置或者教你就行了!</p><p><a href="https://docs.openclaw.ai/channels/telegram">https://docs.openclaw.ai/channels/telegram</a></p></blockquote><p>OpenClaw 默认需要 @ 才会回复。如果你想在某些 Topic 里不需要 @，需要配置 <code>requireMention</code>。</p><p>打开 OpenClaw 的配置文件（通常是 <code>~/.openclaw/config.json</code>），找到 <code>channels.telegram.groups</code> 部分，添加以下配置：</p><figure class="highlight json"><table><tr><td class="code"><pre><span class="line"><span class="punctuation">&#123;</span></span><br><span class="line">  <span class="attr">&quot;channels&quot;</span><span class="punctuation">:</span> <span class="punctuation">&#123;</span></span><br><span class="line">    <span class="attr">&quot;telegram&quot;</span><span class="punctuation">:</span> <span class="punctuation">&#123;</span></span><br><span class="line">      <span class="attr">&quot;groups&quot;</span><span class="punctuation">:</span> <span class="punctuation">&#123;</span></span><br><span class="line">        <span class="attr">&quot;-1001234567890&quot;</span><span class="punctuation">:</span> <span class="punctuation">&#123;</span></span><br><span class="line">          <span class="attr">&quot;requireMention&quot;</span><span class="punctuation">:</span> <span class="literal"><span class="keyword">true</span></span><span class="punctuation">,</span></span><br><span class="line">          <span class="attr">&quot;topics&quot;</span><span class="punctuation">:</span> <span class="punctuation">&#123;</span></span><br><span class="line">            <span class="attr">&quot;WorkTopicId&quot;</span><span class="punctuation">:</span> <span class="punctuation">&#123;</span></span><br><span class="line">              <span class="attr">&quot;requireMention&quot;</span><span class="punctuation">:</span> <span class="literal"><span class="keyword">false</span></span></span><br><span class="line">            <span class="punctuation">&#125;</span><span class="punctuation">,</span></span><br><span class="line">            <span class="attr">&quot;FeedTopicId&quot;</span><span class="punctuation">:</span> <span class="punctuation">&#123;</span></span><br><span class="line">              <span class="attr">&quot;requireMention&quot;</span><span class="punctuation">:</span> <span class="literal"><span class="keyword">false</span></span></span><br><span class="line">            <span class="punctuation">&#125;</span></span><br><span class="line">          <span class="punctuation">&#125;</span></span><br><span class="line">        <span class="punctuation">&#125;</span></span><br><span class="line">      <span class="punctuation">&#125;</span></span><br><span class="line">    <span class="punctuation">&#125;</span></span><br><span class="line">  <span class="punctuation">&#125;</span></span><br><span class="line"><span class="punctuation">&#125;</span></span><br></pre></td></tr></table></figure><p>解释一下：</p><ul><li><code>-23452345</code>：你的群 ID（在群里发送 <code>/groupid</code> 可以获取）</li><li><code>requireMention: true</code>：群默认需要 @ 才触发（避免乱插话）</li><li><code>WorkTopicId</code>、<code>FeedTopicId</code>：Work 和 Feed Topic 的 ID（在群里发送 <code>/topicid</code> 可以获取）</li><li><code>requireMention: false</code>：这些 Topic 不需要 @ 就能触发（更像”专用任务车道”）</li></ul><p><img src="https://img.996007.icu/file/1770018656208_20260202155053638.png" alt="image-20260202155053584"></p><p><img src="https://img.996007.icu/file/1770018647198_20260202155035821.png" alt="image-20260202155035762"></p><p>配置完成后，重启 OpenClaw：</p><figure class="highlight bash"><table><tr><td class="code"><pre><span class="line">openclaw gateway restart</span><br></pre></td></tr></table></figure><hr><h2 id="典型设计"><a href="#典型设计" class="headerlink" title="典型设计"></a>典型设计</h2><p>推荐的三车道设计：</p><h3 id="Chat：日常聊天"><a href="#Chat：日常聊天" class="headerlink" title="Chat：日常聊天"></a>Chat：日常聊天</h3><ul><li>用途：闲聊、吐槽、随便说点什么</li><li>触发规则：需要 @（避免 OpenClaw 乱插话）</li><li>上下文：自由发散，可以聊任何话题</li></ul><h3 id="Work：办正事"><a href="#Work：办正事" class="headerlink" title="Work：办正事"></a>Work：办正事</h3><ul><li>用途：任务、指令、工作相关</li><li>触发规则：不需要 @（更像”专用任务车道”）</li><li>上下文：专注于任务，独立记录</li></ul><h3 id="News：资讯-巡逻"><a href="#News：资讯-巡逻" class="headerlink" title="News：资讯&#x2F;巡逻"></a>News：资讯&#x2F;巡逻</h3><ul><li>用途：资讯推送、自动巡逻、低打扰</li><li>触发规则：不需要 @（自动触发）</li><li>上下文：只处理资讯，不干扰其他 Topic</li></ul><p>这样设计的好处：</p><ul><li>Chat 乱聊不影响 Work</li><li>Feed 的噪音不污染 Chat</li><li>每个 Topic 都有独立的上下文</li><li>OpenClaw 记得住每个任务在做什么</li></ul><p><img src="https://img.996007.icu/file/1770018822433_20260202155330577.png" alt="image-20260202155326670"></p><hr><h2 id="验证方法"><a href="#验证方法" class="headerlink" title="验证方法"></a>验证方法</h2><p>配置完成后，如何验证是否成功？</p><p>三步验收：</p><ol><li>在 Chat Topic 说一句：「你好，我是 Chat。」</li><li>立刻切到 Work Topic 再说一句：「你好，我是 Work。」</li><li>看 OpenClaw 是否：<ul><li>都能收到并回复</li><li>回复不串到别的 Topic</li><li>两个 Topic 的上下文互不影响</li></ul></li></ol><p>如果 OpenClaw 能正确回复，并且回复没有串台，说明配置成功了。</p><p><img src="https://img.996007.icu/file/1770018750376_20260202155222417.png" alt="image-20260202155220646"></p><hr><h2 id="常见坑"><a href="#常见坑" class="headerlink" title="常见坑"></a>常见坑</h2><p>我配置失败了 3 次，每次都是不同的问题。</p><h3 id="坑-1：OpenClaw-机器人在群里完全没反应"><a href="#坑-1：OpenClaw-机器人在群里完全没反应" class="headerlink" title="坑 1：OpenClaw 机器人在群里完全没反应"></a>坑 1：OpenClaw 机器人在群里完全没反应</h3><p><strong>原因</strong>：BotFather 的 Privacy 没有关闭，或者机器人没有管理员权限。</p><p><strong>解决</strong>：</p><ol><li>检查 BotFather 的 <code>/setprivacy</code> 是否设置为 <strong>Disable</strong></li><li>检查机器人是否是管理员（群设置 → 管理员）</li></ol><h3 id="坑-2：OpenClaw-机器人私聊正常，群里不正常"><a href="#坑-2：OpenClaw-机器人私聊正常，群里不正常" class="headerlink" title="坑 2：OpenClaw 机器人私聊正常，群里不正常"></a>坑 2：OpenClaw 机器人私聊正常，群里不正常</h3><p><strong>原因</strong>：99% 是 privacy&#x2F;admin&#x2F;requireMention 组合问题。</p><p><strong>解决</strong>：</p><ol><li>确认 BotFather 的 Privacy 是 <strong>Disable</strong></li><li>确认机器人是管理员</li><li>确认 <code>requireMention</code> 配置正确</li></ol><h3 id="坑-3：OpenClaw-机器人的回复在不同-Topic-之间串台"><a href="#坑-3：OpenClaw-机器人的回复在不同-Topic-之间串台" class="headerlink" title="坑 3：OpenClaw 机器人的回复在不同 Topic 之间串台"></a>坑 3：OpenClaw 机器人的回复在不同 Topic 之间串台</h3><p><strong>原因</strong>：topicId 配错（或把一个 Topic 当成另一个 Topic）。</p><p><strong>解决</strong>：</p><ol><li>在群里发送 <code>/topicid</code> 获取正确的 Topic ID</li><li>检查配置文件中的 topicId 是否正确</li><li>重启 OpenClaw</li></ol><hr><h2 id="总结"><a href="#总结" class="headerlink" title="总结"></a>总结</h2><p>多会话模式的价值：</p><ol><li><strong>上下文独立</strong>：每个 Topic 都有自己的上下文，互不干扰</li><li><strong>并发处理</strong>：OpenClaw 可以同时处理多个 Topic 的消息</li><li><strong>任务分车道</strong>：不同类型的任务使用不同的 Topic，避免混乱</li><li><strong>小白友好</strong>：配置简单，只需要 5 步</li></ol><p>如果你也在用 OpenClaw，建议试试多会话模式。配置完成后，你会发现 OpenClaw 变得更强大、更灵活。</p><hr>]]></content>
    
    
    <summary type="html">每次对话都是全新开始。昨天的语境？没了。上周要求的研究？再也找不到了。我想让 OpenClaw 同时处理多个任务，但默认情况下它只能一个一个来。OpenClaw 多会话模式配置教程，让多个任务同时跑，互不干扰</summary>
    
    
    
    <category term="教程" scheme="https://www.wangwangit.com/categories/%E6%95%99%E7%A8%8B/"/>
    
    
    <category term="教程" scheme="https://www.wangwangit.com/tags/%E6%95%99%E7%A8%8B/"/>
    
    <category term="OpenClaw" scheme="https://www.wangwangit.com/tags/OpenClaw/"/>
    
    <category term="Telegram" scheme="https://www.wangwangit.com/tags/Telegram/"/>
    
    <category term="多会话" scheme="https://www.wangwangit.com/tags/%E5%A4%9A%E4%BC%9A%E8%AF%9D/"/>
    
  </entry>
  
  <entry>
    <title>Typora 2026 终极指南：为什么它依然是 Markdown 界的天花板？</title>
    <link href="https://www.wangwangit.com/Typora%202026%20%E7%BB%88%E6%9E%81%E6%8C%87%E5%8D%97-%E4%B8%BA%E4%BB%80%E4%B9%88%E5%AE%83%E4%BE%9D%E7%84%B6%E6%98%AF%20Markdown%20%E7%95%8C%E7%9A%84%E5%A4%A9%E8%8A%B1%E6%9D%BF/"/>
    <id>https://www.wangwangit.com/Typora%202026%20%E7%BB%88%E6%9E%81%E6%8C%87%E5%8D%97-%E4%B8%BA%E4%BB%80%E4%B9%88%E5%AE%83%E4%BE%9D%E7%84%B6%E6%98%AF%20Markdown%20%E7%95%8C%E7%9A%84%E5%A4%A9%E8%8A%B1%E6%9D%BF/</id>
    <published>2026-01-29T03:15:20.000Z</published>
    <updated>2026-03-08T06:14:12.066Z</updated>
    
    <content type="html"><![CDATA[<p><img src="https://img.996007.icu/file/1769657992439_20260129113944311.jpg" alt="cover"></p><p>之前用了两周Obsidian，我还是把 它卸载了，重新换回了 Typora。</p><p>说真的，在 2026 年这个 AI 插件满天飞、笔记软件恨不得帮你把代码都写了的时代，回归 Typora 竟然有一种“久在樊笼里，复得返自然”的快感。Obsidian 很好，但它太重了。每次打开它，我总觉得自己在搭积木、在调插件，而不是在写东西。</p><p>而 Typora，它就像一张干净到极点的白纸，你坐下来，敲下第一个字，它就消失了，只剩下你和你的文字。</p><h3 id="为什么选择-Typora-而不是-Obsidian？"><a href="#为什么选择-Typora-而不是-Obsidian？" class="headerlink" title="为什么选择 Typora 而不是 Obsidian？"></a>为什么选择 Typora 而不是 Obsidian？</h3><p>很多人问我：Obsidian 免费、插件多、还能双链，为什么非要折腾收费的 Typora？</p><p><strong>原因只有一个：极致的“所见即所得”。</strong></p><p>在 Obsidian 里，你可能还在纠结预览模式和编辑模式的切换，或者在忍受那些凌乱的 Markdown 标记。但在 Typora 里，这些都不存在。你敲下 <code>###</code> 敲个空格，它瞬间就变成了标题；你粘贴一张图片，它立刻就优雅地排好版。这种“无缝”的感觉，是任何通过预览插件强行模拟的工具都给不了的。</p><p>它不是在模拟写作，它就是写作本身。</p><p><img src="https://img.996007.icu/file/1769658047687_20260129114044708.png" alt="image-20260129114044640"></p><h3 id="Typora-避坑与进阶配置"><a href="#Typora-避坑与进阶配置" class="headerlink" title="Typora 避坑与进阶配置"></a>Typora 避坑与进阶配置</h3><p>想要用爽 Typora，这几步配置是必须的：</p><ol><li><p><strong>主题选择</strong>：别盯着默认的那个 Github 主题了。去官网主题库搜一下「Vue」或者「Night」风格，那才是真正的颜值巅峰。</p></li><li><p><strong>图床配置</strong>：这是 Typora 的唯一痛点。建议直接用 PicGo + 阿里云 OSS 或者 Github 仓库。配置好之后，你只需要 <code>Ctrl+V</code>，剩下的上传和链接转换，Typora 自动帮你搞定。</p><blockquote><p>可以看这篇文章! <a href="https://mp.weixin.qq.com/s/S1hDUnCQuQFJMv2EcK8Guw">https://mp.weixin.qq.com/s/S1hDUnCQuQFJMv2EcK8Guw</a></p></blockquote></li><li><p><strong>Pandoc 集成</strong>：如果你需要导出 PDF 或者 Word，一定要装 Pandoc。它能让你的文档在导出后依然保持那种精致的排版感。</p></li></ol><p><img src="https://img.996007.icu/file/1769658132650_20260129114209541.png" alt="image-20260129114209482"></p><h3 id="重点来了：如何“优雅”地无限期试用？"><a href="#重点来了：如何“优雅”地无限期试用？" class="headerlink" title="重点来了：如何“优雅”地无限期试用？"></a>重点来了：如何“优雅”地无限期试用？</h3><p>我知道，14.99 刀的价格对学生党或者偶尔写写东西的朋友来说，确实得纠结一下。既然是“终极指南”，我也帮大家搜罗了目前最稳的“邪修”方案。</p><h4 id="注册表暴力重置"><a href="#注册表暴力重置" class="headerlink" title="注册表暴力重置"></a>注册表暴力重置</h4><p>这是我目前最推荐的“白嫖”姿势。Typora 的试用期是记录在 Windows 注册表里的。只要我们写个简单的脚本，让它每次启动前都把那个日期刷新成“今天”，试用期就永远是第一天。</p><p><strong>操作步骤：</strong><br>打开注册表，输入计算机\HKEY_CURRENT_USER\Software\Typora<br> 随意修改如下图<br><img src="https://img.996007.icu/file/1769658587134_20260129114942921.png" alt="image-20260129114942883"><br>然后右键<strong>Typora</strong></p><p><img src="https://img.996007.icu/file/1769658614770_20260129115011686.png" alt="image-20260129115011648"></p><p>点<strong>权限</strong> ，找到当前登录人和管理员，执行下图操作</p><p><img src="https://img.996007.icu/file/1769658637306_20260129115029018.png" alt="image-20260129115028972"></p><p>这样操作以后就成功了!</p><p>这样你可能每次打开会有一个试用弹窗,可以直接用火绒的广告拦截处理即可!</p><p><img src="https://img.996007.icu/file/1769658283269_20260129114438186.png" alt="image-20260129114438124"></p><h3 id="总结"><a href="#总结" class="headerlink" title="总结"></a>总结</h3><p>工具从来不是重点，产出才是。如果你是一个纯粹的文字创作者，或者像我一样，受够了那些臃肿的“第二大脑”，那么 Typora 依然是你最好的归宿。</p><p>它不帮你思考，但它能让你更专注于思考。</p>]]></content>
    
    
    <summary type="html">在 Obsidian 插件横飞、Notion 功能臃肿的 2026 年，为什么我们依然需要一份纯粹的 Typora 教程？本文带你深度解析 Typora 的独特魅力，并分享如何“优雅”地实现无限试用。</summary>
    
    
    
    <category term="工具评测" scheme="https://www.wangwangit.com/categories/%E5%B7%A5%E5%85%B7%E8%AF%84%E6%B5%8B/"/>
    
    
    <category term="效率工具" scheme="https://www.wangwangit.com/tags/%E6%95%88%E7%8E%87%E5%B7%A5%E5%85%B7/"/>
    
    <category term="Typora" scheme="https://www.wangwangit.com/tags/Typora/"/>
    
    <category term="Markdown" scheme="https://www.wangwangit.com/tags/Markdown/"/>
    
    <category term="写作" scheme="https://www.wangwangit.com/tags/%E5%86%99%E4%BD%9C/"/>
    
  </entry>
  
  <entry>
    <title>ClawdBot 保姆级安装指南：从零搭建你的 24/7 私人 AI 助手</title>
    <link href="https://www.wangwangit.com/clawdbot-installation-guide/"/>
    <id>https://www.wangwangit.com/clawdbot-installation-guide/</id>
    <published>2026-01-27T07:00:00.000Z</published>
    <updated>2026-03-08T06:14:12.066Z</updated>
    
    <content type="html"><![CDATA[<p><img src="https://img.996007.icu/file/1769502802437_20260127163313325.png" alt="image-20260127163313212"></p><p>今天刷 Twitter 的时候，发现时间线被一个叫 ClawdBot 的东西刷屏了。</p><p>点进去一看，是个开源的 AI 助手框架。能干的事情挺多：通过 Telegram&#x2F;WhatsApp 远程控制电脑、自动处理邮件、定时跑任务、甚至能帮你和 4S 店砍价（有个老外说靠它省了 4200 美元，虽然我觉得有点玄学）。</p><p>手上正好有台吃灰的 VPS，干嘛不试试？</p><p>结果这一试，踩了一晚上的坑。官方文档写得比较散，很多细节要自己摸索。顺手把过程记下来，给想折腾的朋友省点时间。</p><p><img src="https://img.996007.icu/file/1769500577055_20260127155609268.png" alt="image-20260127155609156"></p><hr><h2 id="ClawdBot-是什么"><a href="#ClawdBot-是什么" class="headerlink" title="ClawdBot 是什么"></a>ClawdBot 是什么</h2><p>简单说，ClawdBot 是一个<strong>本地运行的 AI 助手网关</strong>。</p><p>它的核心是一个 Gateway 进程，负责：</p><ul><li>连接各种聊天平台（Telegram、WhatsApp、Discord、iMessage 等）</li><li>调用 AI 模型（Claude、GPT、本地模型都行）</li><li>执行系统命令、读写文件、控制浏览器</li><li>管理定时任务和自动化流程</li></ul><p>你可以把它理解成一个<strong>7x24 小时在线的 AI 员工</strong>。它有记忆（知道你之前聊过什么），有手脚（能操作你的电脑），还会主动干活（定时任务、邮件监控）。</p><p>根据 Mashable 的报道，这东西火到 Mac mini 都卖断货了——很多人专门买一台小主机放家里，就为了跑这个。</p><p>不过我觉得没必要这么激进。一台便宜的云服务器就够了，一个月几十块钱，玩坏了也不心疼。</p><hr><h2 id="它能干什么"><a href="#它能干什么" class="headerlink" title="它能干什么"></a>它能干什么</h2><p>搭完之后我自己用了一下，体验确实不错：</p><ul><li><strong>随时随地发消息</strong>：手机上给 Bot 发消息，秒回。出门在外也能远程操作服务器</li><li><strong>查服务器状态</strong>：让它跑个 <code>htop</code> 或者看 Docker 容器，截图发过来</li><li><strong>定时任务</strong>：每天早上 7 点发一份服务器健康报告</li><li><strong>写代码调试</strong>：把报错信息发给它，它能直接帮你改文件</li></ul><p>网上还有人玩得更花：</p><p><strong>邮件自动化</strong>：每 15 分钟检查一次收件箱，垃圾邮件自动归档，重要邮件立刻推送摘要到手机，还能用你的口吻起草回复。</p><p><strong>笔记整理</strong>：连接 Obsidian，自动更新每日笔记，从会议记录里提取待办事项，生成每周回顾。</p><p><strong>睡觉时写代码</strong>：睡前把一个 Bug 丢给它，它会持续调试、提交、测试，早上起来 PR 就准备好了。</p><p><strong>智能家居控制</strong>：有人在沙发上看电视，用手机让它帮忙调灯光、查天气、设闹钟。</p><p>当然，这些高级玩法需要配置额外的 Skills 和集成。本文先讲基础安装，能聊天、能执行命令就算成功。</p><p><img src="https://img.996007.icu/file/1769500643408_20260127155715135.png" alt="image-20260127155715044"></p><p><img src="https://img.996007.icu/file/1769500650626_20260127155723794.png" alt="image-20260127155723447"></p><p><img src="https://img.996007.icu/file/1769500673429_20260127155745646.png" alt="image-20260127155745564"></p><hr><h2 id="准备工作"><a href="#准备工作" class="headerlink" title="准备工作"></a>准备工作</h2><p>你需要：</p><table><thead><tr><th>项目</th><th>说明</th></tr></thead><tbody><tr><td>一台服务器</td><td>云服务器（我用的 Ubuntu 24.04）、Mac mini、旧电脑、树莓派都行,最好是国外的,不然网络环境都有的折腾了!</td></tr><tr><td>Telegram 账号</td><td>用来创建 Bot</td></tr><tr><td>Claude&#x2F;GPT API</td><td>官方的或者中转站都行，后面会细说</td></tr></tbody></table><h3 id="关于设备选择"><a href="#关于设备选择" class="headerlink" title="关于设备选择"></a>关于设备选择</h3><p><strong>云服务器（推荐新手）</strong></p><p>优点：便宜（最低几十块&#x2F;月）、玩坏了不心疼、7x24 在线<br>缺点：需要一点 Linux 基础</p><p><strong>Mac mini</strong></p><p>优点：性能好、功耗低、能跑 macOS 专属功能（iMessage 等）<br>缺点：贵（4000+ 起步）、权限太高有安全风险</p><p><strong>我的建议</strong>：</p><p>新手先用 VPS 试水。等熟悉了再考虑要不要买专门的设备。如果真要用 Mac mini，别用日常工作的那台——万一配置出问题，或者 Key 泄露了，后果可能很严重。</p><hr><h2 id="安装方式"><a href="#安装方式" class="headerlink" title="安装方式"></a>安装方式</h2><p>ClawdBot 支持多种安装方式，我按推荐程度排序：</p><h3 id="方式一：一键安装脚本（推荐）"><a href="#方式一：一键安装脚本（推荐）" class="headerlink" title="方式一：一键安装脚本（推荐）"></a>方式一：一键安装脚本（推荐）</h3><p>官方提供的快速安装命令，会自动处理依赖和权限问题：</p><figure class="highlight bash"><table><tr><td class="code"><pre><span class="line"><span class="comment"># Linux / macOS</span></span><br><span class="line">curl -fsSL https://get.clawd.bot | bash</span><br><span class="line"></span><br><span class="line"><span class="comment"># 安装完成后运行引导向导</span></span><br><span class="line">clawdbot onboard --install-daemon</span><br></pre></td></tr></table></figure><p>这个脚本会自动检测系统、安装 Node.js 22+、处理 npm 权限、全局安装 clawdbot。</p><h3 id="方式二：手动-npm-安装"><a href="#方式二：手动-npm-安装" class="headerlink" title="方式二：手动 npm 安装"></a>方式二：手动 npm 安装</h3><p>如果你已经有 Node.js 22+：</p><figure class="highlight bash"><table><tr><td class="code"><pre><span class="line">npm install -g clawdbot@latest</span><br></pre></td></tr></table></figure><hr><h2 id="详细安装步骤"><a href="#详细安装步骤" class="headerlink" title="详细安装步骤"></a>详细安装步骤</h2><p>下面用手动方式演示。虽然一键脚本更方便，但手动装能让你更清楚每一步在干嘛，出问题也好排查。</p><h3 id="第一步：安装-Node-js-22"><a href="#第一步：安装-Node-js-22" class="headerlink" title="第一步：安装 Node.js 22+"></a>第一步：安装 Node.js 22+</h3><p>ClawdBot 要求 Node.js 22 以上。Ubuntu 自带的版本太老，得手动装。</p><figure class="highlight bash"><table><tr><td class="code"><pre><span class="line"><span class="comment"># 添加 NodeSource 仓库</span></span><br><span class="line">curl -fsSL https://deb.nodesource.com/setup_22.x | bash -</span><br><span class="line"></span><br><span class="line"><span class="comment"># 安装</span></span><br><span class="line">apt-get install -y nodejs</span><br><span class="line"></span><br><span class="line"><span class="comment"># 验证</span></span><br><span class="line">node -v</span><br><span class="line"><span class="comment"># 输出 v22.x.x 就对了</span></span><br></pre></td></tr></table></figure><p><img src="https://img.996007.icu/file/1769500806955_20260127160000384.png" alt="image-20260127160000295"></p><blockquote><p><strong>踩坑 1</strong>：别直接 <code>apt install nodejs</code>，那样装的是老版本（通常 v12 或 v18），后面会报各种兼容性错误。</p></blockquote><h3 id="第二步：安装-ClawdBot"><a href="#第二步：安装-ClawdBot" class="headerlink" title="第二步：安装 ClawdBot"></a>第二步：安装 ClawdBot</h3><figure class="highlight bash"><table><tr><td class="code"><pre><span class="line">npm install -g clawdbot@latest</span><br></pre></td></tr></table></figure><p>装完验证：</p><figure class="highlight bash"><table><tr><td class="code"><pre><span class="line">clawdbot --version</span><br></pre></td></tr></table></figure><p><img src="https://img.996007.icu/file/1769500851845_20260127160042009.png" alt="image-20260127160041920"></p><blockquote><p><strong>踩坑 2</strong>：如果报 <code>EACCES</code> 权限错误，说明 npm 全局目录权限有问题。解决方法：</p><figure class="highlight bash"><table><tr><td class="code"><pre><span class="line"><span class="built_in">mkdir</span> -p ~/.npm-global</span><br><span class="line">npm config <span class="built_in">set</span> prefix <span class="string">&#x27;~/.npm-global&#x27;</span></span><br><span class="line"><span class="built_in">echo</span> <span class="string">&#x27;export PATH=~/.npm-global/bin:$PATH&#x27;</span> &gt;&gt; ~/.bashrc</span><br><span class="line"><span class="built_in">source</span> ~/.bashrc</span><br></pre></td></tr></table></figure></blockquote><h3 id="第三步：创建-Telegram-Bot"><a href="#第三步：创建-Telegram-Bot" class="headerlink" title="第三步：创建 Telegram Bot"></a>第三步：创建 Telegram Bot</h3><p>打开 Telegram，搜索 <code>@BotFather</code>，发送 <code>/newbot</code>。这里好像必须新建!</p><p>按提示设置：</p><ol><li>给 Bot 起个名字（显示名称）</li><li>设置用户名（必须以 <code>bot</code> 结尾，比如 <code>my_clawd_bot</code>）</li></ol><p>最后会给你一串 Token：</p><figure class="highlight plaintext"><table><tr><td class="code"><pre><span class="line">1234567890:ABCdefGHIjklMNOpqrSTUvwxYZ1234567890</span><br></pre></td></tr></table></figure><p><strong>存好这个 Token</strong>，后面要用。</p><p><img src="https://img.996007.icu/file/1769500900232_20260127160128884.png" alt="image-20260127160128795"></p><h3 id="第四步：准备-API"><a href="#第四步：准备-API" class="headerlink" title="第四步：准备 API"></a>第四步：准备 API</h3><p>这一步最容易踩坑。</p><p><strong>用官方 API</strong></p><ol><li>去 <a href="https://console.anthropic.com/">console.anthropic.com</a> 注册</li><li>创建 API Key（以 <code>sk-ant-</code> 开头）</li><li>充值一点余额</li></ol><p><strong>用中转站 API</strong></p><p>如果用中转站，注意三点：</p><ul><li>必须支持 <strong>OpenAI 兼容格式</strong></li><li>必须支持 <strong>工具调用（function calling）</strong></li><li>确认 <strong>没有分组限制</strong></li></ul><blockquote><p><strong>踩坑 3</strong>：这里我是直接用的CLI Proxy API这个开源项目中转的API,选的gemini-3-flash模型,感觉非常舒畅!</p></blockquote><h3 id="第五步：写配置文件"><a href="#第五步：写配置文件" class="headerlink" title="第五步：写配置文件"></a>第五步：写配置文件</h3><p>创建配置目录：</p><figure class="highlight bash"><table><tr><td class="code"><pre><span class="line"><span class="built_in">mkdir</span> -p ~/.clawdbot</span><br><span class="line">nano ~/.clawdbot/clawdbot.json</span><br></pre></td></tr></table></figure><p>根据你的 API 类型选配置模板：</p><h4 id="模板-A：Anthropic-官方-API"><a href="#模板-A：Anthropic-官方-API" class="headerlink" title="模板 A：Anthropic 官方 API"></a>模板 A：Anthropic 官方 API</h4><figure class="highlight json"><table><tr><td class="code"><pre><span class="line"><span class="punctuation">&#123;</span></span><br><span class="line">  <span class="attr">&quot;gateway&quot;</span><span class="punctuation">:</span> <span class="punctuation">&#123;</span></span><br><span class="line">    <span class="attr">&quot;mode&quot;</span><span class="punctuation">:</span> <span class="string">&quot;local&quot;</span><span class="punctuation">,</span></span><br><span class="line">    <span class="attr">&quot;bind&quot;</span><span class="punctuation">:</span> <span class="string">&quot;loopback&quot;</span><span class="punctuation">,</span></span><br><span class="line">    <span class="attr">&quot;port&quot;</span><span class="punctuation">:</span> <span class="number">18789</span></span><br><span class="line">  <span class="punctuation">&#125;</span><span class="punctuation">,</span></span><br><span class="line">  <span class="attr">&quot;env&quot;</span><span class="punctuation">:</span> <span class="punctuation">&#123;</span></span><br><span class="line">    <span class="attr">&quot;ANTHROPIC_API_KEY&quot;</span><span class="punctuation">:</span> <span class="string">&quot;sk-ant-你的密钥&quot;</span></span><br><span class="line">  <span class="punctuation">&#125;</span><span class="punctuation">,</span></span><br><span class="line">  <span class="attr">&quot;agents&quot;</span><span class="punctuation">:</span> <span class="punctuation">&#123;</span></span><br><span class="line">    <span class="attr">&quot;defaults&quot;</span><span class="punctuation">:</span> <span class="punctuation">&#123;</span></span><br><span class="line">      <span class="attr">&quot;model&quot;</span><span class="punctuation">:</span> <span class="punctuation">&#123;</span></span><br><span class="line">        <span class="attr">&quot;primary&quot;</span><span class="punctuation">:</span> <span class="string">&quot;anthropic/claude-sonnet-4-5-20261022&quot;</span></span><br><span class="line">      <span class="punctuation">&#125;</span></span><br><span class="line">    <span class="punctuation">&#125;</span></span><br><span class="line">  <span class="punctuation">&#125;</span><span class="punctuation">,</span></span><br><span class="line">  <span class="attr">&quot;channels&quot;</span><span class="punctuation">:</span> <span class="punctuation">&#123;</span></span><br><span class="line">    <span class="attr">&quot;telegram&quot;</span><span class="punctuation">:</span> <span class="punctuation">&#123;</span></span><br><span class="line">      <span class="attr">&quot;enabled&quot;</span><span class="punctuation">:</span> <span class="literal"><span class="keyword">true</span></span><span class="punctuation">,</span></span><br><span class="line">      <span class="attr">&quot;botToken&quot;</span><span class="punctuation">:</span> <span class="string">&quot;你的Bot Token&quot;</span><span class="punctuation">,</span></span><br><span class="line">      <span class="attr">&quot;dmPolicy&quot;</span><span class="punctuation">:</span> <span class="string">&quot;pairing&quot;</span></span><br><span class="line">    <span class="punctuation">&#125;</span></span><br><span class="line">  <span class="punctuation">&#125;</span></span><br><span class="line"><span class="punctuation">&#125;</span></span><br></pre></td></tr></table></figure><h4 id="模板-B：OpenAI-兼容的中转站"><a href="#模板-B：OpenAI-兼容的中转站" class="headerlink" title="模板 B：OpenAI 兼容的中转站"></a>模板 B：OpenAI 兼容的中转站</h4><figure class="highlight json"><table><tr><td class="code"><pre><span class="line"><span class="punctuation">&#123;</span></span><br><span class="line">  <span class="attr">&quot;gateway&quot;</span><span class="punctuation">:</span> <span class="punctuation">&#123;</span></span><br><span class="line">    <span class="attr">&quot;mode&quot;</span><span class="punctuation">:</span> <span class="string">&quot;local&quot;</span><span class="punctuation">,</span></span><br><span class="line">    <span class="attr">&quot;bind&quot;</span><span class="punctuation">:</span> <span class="string">&quot;loopback&quot;</span><span class="punctuation">,</span></span><br><span class="line">    <span class="attr">&quot;port&quot;</span><span class="punctuation">:</span> <span class="number">18789</span></span><br><span class="line">  <span class="punctuation">&#125;</span><span class="punctuation">,</span></span><br><span class="line">  <span class="attr">&quot;agents&quot;</span><span class="punctuation">:</span> <span class="punctuation">&#123;</span></span><br><span class="line">    <span class="attr">&quot;defaults&quot;</span><span class="punctuation">:</span> <span class="punctuation">&#123;</span></span><br><span class="line">      <span class="attr">&quot;model&quot;</span><span class="punctuation">:</span> <span class="punctuation">&#123;</span></span><br><span class="line">        <span class="attr">&quot;primary&quot;</span><span class="punctuation">:</span> <span class="string">&quot;gemini/gemini-3-flash&quot;</span></span><br><span class="line">      <span class="punctuation">&#125;</span><span class="punctuation">,</span></span><br><span class="line">  <span class="attr">&quot;elevatedDefault&quot;</span><span class="punctuation">:</span> <span class="string">&quot;full&quot;</span> <span class="punctuation">,</span></span><br><span class="line">      <span class="attr">&quot;workspace&quot;</span><span class="punctuation">:</span> <span class="string">&quot;/wangwang&quot;</span><span class="punctuation">,</span></span><br><span class="line">      <span class="attr">&quot;compaction&quot;</span><span class="punctuation">:</span> <span class="punctuation">&#123;</span></span><br><span class="line">        <span class="attr">&quot;mode&quot;</span><span class="punctuation">:</span> <span class="string">&quot;safeguard&quot;</span></span><br><span class="line">      <span class="punctuation">&#125;</span><span class="punctuation">,</span></span><br><span class="line">      <span class="attr">&quot;maxConcurrent&quot;</span><span class="punctuation">:</span> <span class="number">4</span><span class="punctuation">,</span></span><br><span class="line">      <span class="attr">&quot;subagents&quot;</span><span class="punctuation">:</span> <span class="punctuation">&#123;</span></span><br><span class="line">        <span class="attr">&quot;maxConcurrent&quot;</span><span class="punctuation">:</span> <span class="number">8</span></span><br><span class="line">      <span class="punctuation">&#125;</span></span><br><span class="line">    <span class="punctuation">&#125;</span></span><br><span class="line">  <span class="punctuation">&#125;</span><span class="punctuation">,</span></span><br><span class="line">  <span class="attr">&quot;models&quot;</span><span class="punctuation">:</span> <span class="punctuation">&#123;</span></span><br><span class="line">    <span class="attr">&quot;mode&quot;</span><span class="punctuation">:</span> <span class="string">&quot;merge&quot;</span><span class="punctuation">,</span></span><br><span class="line">    <span class="attr">&quot;providers&quot;</span><span class="punctuation">:</span> <span class="punctuation">&#123;</span></span><br><span class="line">      <span class="attr">&quot;gemini&quot;</span><span class="punctuation">:</span> <span class="punctuation">&#123;</span></span><br><span class="line">        <span class="attr">&quot;baseUrl&quot;</span><span class="punctuation">:</span> <span class="string">&quot;https://你的中转站API/v1&quot;</span><span class="punctuation">,</span></span><br><span class="line">        <span class="attr">&quot;apiKey&quot;</span><span class="punctuation">:</span> <span class="string">&quot;test&quot;</span><span class="punctuation">,</span></span><br><span class="line">        <span class="attr">&quot;api&quot;</span><span class="punctuation">:</span> <span class="string">&quot;openai-completions&quot;</span><span class="punctuation">,</span></span><br><span class="line">        <span class="attr">&quot;models&quot;</span><span class="punctuation">:</span> <span class="punctuation">[</span></span><br><span class="line">          <span class="punctuation">&#123;</span></span><br><span class="line">            <span class="attr">&quot;id&quot;</span><span class="punctuation">:</span> <span class="string">&quot;gemini-3-flash&quot;</span><span class="punctuation">,</span></span><br><span class="line">            <span class="attr">&quot;name&quot;</span><span class="punctuation">:</span> <span class="string">&quot;gemini-3-flash&quot;</span></span><br><span class="line">          <span class="punctuation">&#125;</span></span><br><span class="line">        <span class="punctuation">]</span></span><br><span class="line">      <span class="punctuation">&#125;</span></span><br><span class="line">    <span class="punctuation">&#125;</span></span><br><span class="line">  <span class="punctuation">&#125;</span><span class="punctuation">,</span></span><br><span class="line">  <span class="attr">&quot;channels&quot;</span><span class="punctuation">:</span> <span class="punctuation">&#123;</span></span><br><span class="line">    <span class="attr">&quot;telegram&quot;</span><span class="punctuation">:</span> <span class="punctuation">&#123;</span></span><br><span class="line">      <span class="attr">&quot;botToken&quot;</span><span class="punctuation">:</span> <span class="string">&quot;你的TG Token&quot;</span></span><br><span class="line">    <span class="punctuation">&#125;</span></span><br><span class="line">  <span class="punctuation">&#125;</span><span class="punctuation">,</span></span><br><span class="line">  <span class="attr">&quot;plugins&quot;</span><span class="punctuation">:</span> <span class="punctuation">&#123;</span></span><br><span class="line">    <span class="attr">&quot;entries&quot;</span><span class="punctuation">:</span> <span class="punctuation">&#123;</span></span><br><span class="line">      <span class="attr">&quot;telegram&quot;</span><span class="punctuation">:</span> <span class="punctuation">&#123;</span></span><br><span class="line">        <span class="attr">&quot;enabled&quot;</span><span class="punctuation">:</span> <span class="literal"><span class="keyword">true</span></span></span><br><span class="line">      <span class="punctuation">&#125;</span></span><br><span class="line">    <span class="punctuation">&#125;</span></span><br><span class="line">  <span class="punctuation">&#125;</span></span><br><span class="line"><span class="punctuation">&#125;</span></span><br><span class="line"></span><br><span class="line"></span><br></pre></td></tr></table></figure><blockquote><p><strong>踩坑 4</strong>：<code>api</code> 字段必须填 <code>openai-completions</code>。我一开始填的 <code>openai-chat</code>，死活启动不了。</p></blockquote><blockquote><p><strong>踩坑 5</strong>：<code>models</code> 数组不能省，不然报错说缺少必填项。注意agents中也有配置模型名,别忘了改!</p></blockquote><h3 id="第六步：启动测试"><a href="#第六步：启动测试" class="headerlink" title="第六步：启动测试"></a>第六步：启动测试</h3><figure class="highlight bash"><table><tr><td class="code"><pre><span class="line">clawdbot gateway --verbose</span><br></pre></td></tr></table></figure><p>看到这两行就成功了：</p><figure class="highlight plaintext"><table><tr><td class="code"><pre><span class="line">[gateway] listening on ws://127.0.0.1:18789</span><br><span class="line">[telegram] [default] starting provider (@你的Bot名字)</span><br></pre></td></tr></table></figure><p><img src="https://img.996007.icu/file/1769501141515_20260127160536372.png" alt="image-20260127160536261"></p><h3 id="第七步：配对"><a href="#第七步：配对" class="headerlink" title="第七步：配对"></a>第七步：配对</h3><p>第一次给 Bot 发消息，它会回复配对码：</p><figure class="highlight plaintext"><table><tr><td class="code"><pre><span class="line">Pairing code: X9MKTQ2P</span><br><span class="line">Your Telegram user id: 123456789</span><br></pre></td></tr></table></figure><p>在服务器上执行：</p><figure class="highlight bash"><table><tr><td class="code"><pre><span class="line">clawdbot pairing approve telegram X9MKTQ2P</span><br></pre></td></tr></table></figure><p>配对完成后，只有你的账号能和 Bot 对话，别人发消息它不会理。</p><p><strong>记下你的 Telegram User ID</strong>，后面设置权限白名单要用。</p><p>后续有啥需求就直接tg对话,让AI自行配置就行了!比如我让它帮我集成了exa的搜索功能!</p><p><img src="https://img.996007.icu/file/1769501351139_20260127160903367.png" alt="image-20260127160903264"></p><hr><h2 id="设置开机自启"><a href="#设置开机自启" class="headerlink" title="设置开机自启"></a>设置开机自启</h2><p>用 <code>nohup</code> 跑的话，SSH 一断就挂了。上 systemd：</p><figure class="highlight bash"><table><tr><td class="code"><pre><span class="line"><span class="built_in">cat</span> &gt; /etc/systemd/system/clawdbot.service &lt;&lt; <span class="string">&#x27;EOF&#x27;</span></span><br><span class="line">[Unit]</span><br><span class="line">Description=ClawdBot Gateway</span><br><span class="line">After=network.target</span><br><span class="line"></span><br><span class="line">[Service]</span><br><span class="line">Type=simple</span><br><span class="line">User=root</span><br><span class="line">ExecStart=/usr/bin/clawdbot gateway --verbose</span><br><span class="line">Restart=always</span><br><span class="line">RestartSec=5</span><br><span class="line">Environment=HOME=/root</span><br><span class="line"></span><br><span class="line">[Install]</span><br><span class="line">WantedBy=multi-user.target</span><br><span class="line">EOF</span><br><span class="line"></span><br><span class="line">systemctl daemon-reload</span><br><span class="line">systemctl <span class="built_in">enable</span> clawdbot</span><br><span class="line">systemctl start clawdbot</span><br></pre></td></tr></table></figure><p>这样就完事了。开机自动启动，挂了 5 秒后自动重启。</p><hr><h2 id="日常维护"><a href="#日常维护" class="headerlink" title="日常维护"></a>日常维护</h2><p>几个常用命令：</p><figure class="highlight bash"><table><tr><td class="code"><pre><span class="line"><span class="comment"># 看运行状态</span></span><br><span class="line">systemctl status clawdbot</span><br><span class="line"></span><br><span class="line"><span class="comment"># 看实时日志</span></span><br><span class="line">journalctl -u clawdbot -f</span><br><span class="line"></span><br><span class="line"><span class="comment"># 重启</span></span><br><span class="line">systemctl restart clawdbot</span><br><span class="line"></span><br><span class="line"><span class="comment"># 健康检查</span></span><br><span class="line">clawdbot doctor</span><br><span class="line"></span><br><span class="line"><span class="comment"># 全面状态</span></span><br><span class="line">clawdbot status --all</span><br></pre></td></tr></table></figure><hr><h2 id="进阶：命令白名单"><a href="#进阶：命令白名单" class="headerlink" title="进阶：命令白名单"></a>进阶：命令白名单</h2><p>如果想让某些命令自动执行，不用每次批准：</p><figure class="highlight bash"><table><tr><td class="code"><pre><span class="line"><span class="comment"># 允许 docker 命令</span></span><br><span class="line">clawdbot approvals allowlist add --agent <span class="string">&quot;*&quot;</span> <span class="string">&quot;docker *&quot;</span></span><br><span class="line"></span><br><span class="line"><span class="comment"># 允许 systemctl</span></span><br><span class="line">clawdbot approvals allowlist add --agent <span class="string">&quot;*&quot;</span> <span class="string">&quot;systemctl *&quot;</span></span><br><span class="line"></span><br><span class="line"><span class="comment"># 允许 /usr/bin 下的程序</span></span><br><span class="line">clawdbot approvals allowlist add --agent <span class="string">&quot;*&quot;</span> <span class="string">&quot;/usr/bin/*&quot;</span></span><br><span class="line"></span><br><span class="line"><span class="comment"># 查看当前白名单</span></span><br><span class="line">clawdbot approvals allowlist list</span><br></pre></td></tr></table></figure><hr><h2 id="进阶：定时任务"><a href="#进阶：定时任务" class="headerlink" title="进阶：定时任务"></a>进阶：定时任务</h2><p>ClawdBot 内置 Cron 功能。比如每天早上 7 点发送服务器状态：</p><figure class="highlight bash"><table><tr><td class="code"><pre><span class="line">clawdbot cron add --schedule <span class="string">&quot;0 7 * * *&quot;</span> \</span><br><span class="line">  --timezone <span class="string">&quot;Asia/Shanghai&quot;</span> \</span><br><span class="line">  --message <span class="string">&quot;检查服务器状态，给我发个简报&quot;</span> \</span><br><span class="line">  --deliver telegram \</span><br><span class="line">  --to <span class="string">&quot;你的TG用户ID&quot;</span></span><br></pre></td></tr></table></figure><p>或者写进配置文件：</p><figure class="highlight json"><table><tr><td class="code"><pre><span class="line"><span class="punctuation">&#123;</span></span><br><span class="line">  <span class="attr">&quot;cron&quot;</span><span class="punctuation">:</span> <span class="punctuation">&#123;</span></span><br><span class="line">    <span class="attr">&quot;jobs&quot;</span><span class="punctuation">:</span> <span class="punctuation">[</span></span><br><span class="line">      <span class="punctuation">&#123;</span></span><br><span class="line">        <span class="attr">&quot;id&quot;</span><span class="punctuation">:</span> <span class="string">&quot;daily-report&quot;</span><span class="punctuation">,</span></span><br><span class="line">        <span class="attr">&quot;schedule&quot;</span><span class="punctuation">:</span> <span class="punctuation">&#123;</span></span><br><span class="line">          <span class="attr">&quot;cron&quot;</span><span class="punctuation">:</span> <span class="string">&quot;0 7 * * *&quot;</span><span class="punctuation">,</span></span><br><span class="line">          <span class="attr">&quot;timezone&quot;</span><span class="punctuation">:</span> <span class="string">&quot;Asia/Shanghai&quot;</span></span><br><span class="line">        <span class="punctuation">&#125;</span><span class="punctuation">,</span></span><br><span class="line">        <span class="attr">&quot;sessionTarget&quot;</span><span class="punctuation">:</span> <span class="string">&quot;isolated&quot;</span><span class="punctuation">,</span></span><br><span class="line">        <span class="attr">&quot;payload&quot;</span><span class="punctuation">:</span> <span class="punctuation">&#123;</span></span><br><span class="line">          <span class="attr">&quot;agentTurn&quot;</span><span class="punctuation">:</span> <span class="punctuation">&#123;</span></span><br><span class="line">            <span class="attr">&quot;message&quot;</span><span class="punctuation">:</span> <span class="string">&quot;检查服务器状态，生成简报&quot;</span></span><br><span class="line">          <span class="punctuation">&#125;</span></span><br><span class="line">        <span class="punctuation">&#125;</span><span class="punctuation">,</span></span><br><span class="line">        <span class="attr">&quot;deliver&quot;</span><span class="punctuation">:</span> <span class="punctuation">&#123;</span></span><br><span class="line">          <span class="attr">&quot;channel&quot;</span><span class="punctuation">:</span> <span class="string">&quot;telegram&quot;</span><span class="punctuation">,</span></span><br><span class="line">          <span class="attr">&quot;to&quot;</span><span class="punctuation">:</span> <span class="string">&quot;你的TG用户ID&quot;</span></span><br><span class="line">        <span class="punctuation">&#125;</span></span><br><span class="line">      <span class="punctuation">&#125;</span></span><br><span class="line">    <span class="punctuation">]</span></span><br><span class="line">  <span class="punctuation">&#125;</span></span><br><span class="line"><span class="punctuation">&#125;</span></span><br></pre></td></tr></table></figure><hr><h2 id="常见问题"><a href="#常见问题" class="headerlink" title="常见问题"></a>常见问题</h2><h3 id="clawdbot-command-not-found"><a href="#clawdbot-command-not-found" class="headerlink" title="clawdbot: command not found"></a><code>clawdbot: command not found</code></h3><p>npm PATH 问题。确认全局目录在 PATH 里：</p><figure class="highlight bash"><table><tr><td class="code"><pre><span class="line">npm config get prefix</span><br><span class="line"><span class="built_in">echo</span> <span class="string">&#x27;export PATH=$(npm config get prefix)/bin:$PATH&#x27;</span> &gt;&gt; ~/.bashrc</span><br><span class="line"><span class="built_in">source</span> ~/.bashrc</span><br></pre></td></tr></table></figure><h3 id="端口被占用"><a href="#端口被占用" class="headerlink" title="端口被占用"></a>端口被占用</h3><p>默认端口 18789 冲突了：</p><figure class="highlight bash"><table><tr><td class="code"><pre><span class="line">lsof -i :18789  <span class="comment"># 看谁在用</span></span><br><span class="line"></span><br><span class="line">clawdbot gateway --port 18790 --verbose  <span class="comment"># 换个端口</span></span><br></pre></td></tr></table></figure><h3 id="Bot-收到消息但不回复"><a href="#Bot-收到消息但不回复" class="headerlink" title="Bot 收到消息但不回复"></a>Bot 收到消息但不回复</h3><p>按顺序检查：</p><ol><li>Gateway 在不在跑：<code>clawdbot status</code></li><li>配对了没：<code>clawdbot pairing list telegram</code></li><li>API 还有没有额度</li><li>看日志：<code>journalctl -u clawdbot -f</code></li></ol><h3 id="all-models-failed"><a href="#all-models-failed" class="headerlink" title="all models failed"></a><code>all models failed</code></h3><p>API 配置问题：</p><ol><li>Key 对不对</li><li>baseUrl 格式对不对（结尾有没有 <code>/v1</code>）</li><li>model id 写对没</li><li>跑一下 <code>clawdbot doctor</code></li></ol><h3 id="工具调用失败"><a href="#工具调用失败" class="headerlink" title="工具调用失败"></a>工具调用失败</h3><p>你的 API 不支持 function calling。这种情况 Bot 能聊天，但执行命令用不了。换一个支持工具调用的 API。</p><hr><h2 id="完整配置示例"><a href="#完整配置示例" class="headerlink" title="完整配置示例"></a>完整配置示例</h2><p>一个功能完整的配置，开箱即用：</p><figure class="highlight json"><table><tr><td class="code"><pre><span class="line"><span class="punctuation">&#123;</span></span><br><span class="line">  <span class="attr">&quot;gateway&quot;</span><span class="punctuation">:</span> <span class="punctuation">&#123;</span></span><br><span class="line">    <span class="attr">&quot;mode&quot;</span><span class="punctuation">:</span> <span class="string">&quot;local&quot;</span><span class="punctuation">,</span></span><br><span class="line">    <span class="attr">&quot;bind&quot;</span><span class="punctuation">:</span> <span class="string">&quot;loopback&quot;</span><span class="punctuation">,</span></span><br><span class="line">    <span class="attr">&quot;port&quot;</span><span class="punctuation">:</span> <span class="number">18789</span></span><br><span class="line">  <span class="punctuation">&#125;</span><span class="punctuation">,</span></span><br><span class="line">  <span class="attr">&quot;agents&quot;</span><span class="punctuation">:</span> <span class="punctuation">&#123;</span></span><br><span class="line">    <span class="attr">&quot;defaults&quot;</span><span class="punctuation">:</span> <span class="punctuation">&#123;</span></span><br><span class="line">      <span class="attr">&quot;model&quot;</span><span class="punctuation">:</span> <span class="punctuation">&#123;</span></span><br><span class="line">        <span class="attr">&quot;primary&quot;</span><span class="punctuation">:</span> <span class="string">&quot;openai-compat/claude-sonnet-4-5-20261022&quot;</span><span class="punctuation">,</span></span><br><span class="line">        <span class="attr">&quot;fallback&quot;</span><span class="punctuation">:</span> <span class="punctuation">[</span><span class="string">&quot;openai-compat/claude-haiku-3-5-20241022&quot;</span><span class="punctuation">]</span></span><br><span class="line">      <span class="punctuation">&#125;</span><span class="punctuation">,</span></span><br><span class="line">      <span class="attr">&quot;elevatedDefault&quot;</span><span class="punctuation">:</span> <span class="string">&quot;full&quot;</span><span class="punctuation">,</span></span><br><span class="line">      <span class="attr">&quot;thinking&quot;</span><span class="punctuation">:</span> <span class="string">&quot;medium&quot;</span></span><br><span class="line">    <span class="punctuation">&#125;</span></span><br><span class="line">  <span class="punctuation">&#125;</span><span class="punctuation">,</span></span><br><span class="line">  <span class="attr">&quot;models&quot;</span><span class="punctuation">:</span> <span class="punctuation">&#123;</span></span><br><span class="line">    <span class="attr">&quot;mode&quot;</span><span class="punctuation">:</span> <span class="string">&quot;merge&quot;</span><span class="punctuation">,</span></span><br><span class="line">    <span class="attr">&quot;providers&quot;</span><span class="punctuation">:</span> <span class="punctuation">&#123;</span></span><br><span class="line">      <span class="attr">&quot;openai-compat&quot;</span><span class="punctuation">:</span> <span class="punctuation">&#123;</span></span><br><span class="line">        <span class="attr">&quot;baseUrl&quot;</span><span class="punctuation">:</span> <span class="string">&quot;https://你的API地址/v1&quot;</span><span class="punctuation">,</span></span><br><span class="line">        <span class="attr">&quot;apiKey&quot;</span><span class="punctuation">:</span> <span class="string">&quot;你的密钥&quot;</span><span class="punctuation">,</span></span><br><span class="line">        <span class="attr">&quot;api&quot;</span><span class="punctuation">:</span> <span class="string">&quot;openai-completions&quot;</span><span class="punctuation">,</span></span><br><span class="line">        <span class="attr">&quot;models&quot;</span><span class="punctuation">:</span> <span class="punctuation">[</span></span><br><span class="line">          <span class="punctuation">&#123;</span></span><br><span class="line">            <span class="attr">&quot;id&quot;</span><span class="punctuation">:</span> <span class="string">&quot;claude-sonnet-4-5-20261022&quot;</span><span class="punctuation">,</span></span><br><span class="line">            <span class="attr">&quot;name&quot;</span><span class="punctuation">:</span> <span class="string">&quot;Claude Sonnet 4.5&quot;</span></span><br><span class="line">          <span class="punctuation">&#125;</span><span class="punctuation">,</span></span><br><span class="line">          <span class="punctuation">&#123;</span></span><br><span class="line">            <span class="attr">&quot;id&quot;</span><span class="punctuation">:</span> <span class="string">&quot;claude-haiku-3-5-20241022&quot;</span><span class="punctuation">,</span></span><br><span class="line">            <span class="attr">&quot;name&quot;</span><span class="punctuation">:</span> <span class="string">&quot;Claude Haiku 3.5&quot;</span></span><br><span class="line">          <span class="punctuation">&#125;</span></span><br><span class="line">        <span class="punctuation">]</span></span><br><span class="line">      <span class="punctuation">&#125;</span></span><br><span class="line">    <span class="punctuation">&#125;</span></span><br><span class="line">  <span class="punctuation">&#125;</span><span class="punctuation">,</span></span><br><span class="line">  <span class="attr">&quot;tools&quot;</span><span class="punctuation">:</span> <span class="punctuation">&#123;</span></span><br><span class="line">    <span class="attr">&quot;exec&quot;</span><span class="punctuation">:</span> <span class="punctuation">&#123;</span></span><br><span class="line">      <span class="attr">&quot;backgroundMs&quot;</span><span class="punctuation">:</span> <span class="number">10000</span><span class="punctuation">,</span></span><br><span class="line">      <span class="attr">&quot;timeoutSec&quot;</span><span class="punctuation">:</span> <span class="number">1800</span><span class="punctuation">,</span></span><br><span class="line">      <span class="attr">&quot;cleanupMs&quot;</span><span class="punctuation">:</span> <span class="number">1800000</span><span class="punctuation">,</span></span><br><span class="line">      <span class="attr">&quot;notifyOnExit&quot;</span><span class="punctuation">:</span> <span class="literal"><span class="keyword">true</span></span></span><br><span class="line">    <span class="punctuation">&#125;</span><span class="punctuation">,</span></span><br><span class="line">    <span class="attr">&quot;elevated&quot;</span><span class="punctuation">:</span> <span class="punctuation">&#123;</span></span><br><span class="line">      <span class="attr">&quot;enabled&quot;</span><span class="punctuation">:</span> <span class="literal"><span class="keyword">true</span></span><span class="punctuation">,</span></span><br><span class="line">      <span class="attr">&quot;allowFrom&quot;</span><span class="punctuation">:</span> <span class="punctuation">&#123;</span></span><br><span class="line">        <span class="attr">&quot;telegram&quot;</span><span class="punctuation">:</span> <span class="punctuation">[</span><span class="string">&quot;你的TG用户ID&quot;</span><span class="punctuation">]</span></span><br><span class="line">      <span class="punctuation">&#125;</span></span><br><span class="line">    <span class="punctuation">&#125;</span><span class="punctuation">,</span></span><br><span class="line">    <span class="attr">&quot;allow&quot;</span><span class="punctuation">:</span> <span class="punctuation">[</span><span class="string">&quot;exec&quot;</span><span class="punctuation">,</span> <span class="string">&quot;process&quot;</span><span class="punctuation">,</span> <span class="string">&quot;read&quot;</span><span class="punctuation">,</span> <span class="string">&quot;write&quot;</span><span class="punctuation">,</span> <span class="string">&quot;edit&quot;</span><span class="punctuation">,</span> <span class="string">&quot;web_search&quot;</span><span class="punctuation">,</span> <span class="string">&quot;web_fetch&quot;</span><span class="punctuation">,</span> <span class="string">&quot;cron&quot;</span><span class="punctuation">]</span></span><br><span class="line">  <span class="punctuation">&#125;</span><span class="punctuation">,</span></span><br><span class="line">  <span class="attr">&quot;channels&quot;</span><span class="punctuation">:</span> <span class="punctuation">&#123;</span></span><br><span class="line">    <span class="attr">&quot;telegram&quot;</span><span class="punctuation">:</span> <span class="punctuation">&#123;</span></span><br><span class="line">      <span class="attr">&quot;enabled&quot;</span><span class="punctuation">:</span> <span class="literal"><span class="keyword">true</span></span><span class="punctuation">,</span></span><br><span class="line">      <span class="attr">&quot;botToken&quot;</span><span class="punctuation">:</span> <span class="string">&quot;你的Bot Token&quot;</span><span class="punctuation">,</span></span><br><span class="line">      <span class="attr">&quot;dmPolicy&quot;</span><span class="punctuation">:</span> <span class="string">&quot;pairing&quot;</span><span class="punctuation">,</span></span><br><span class="line">      <span class="attr">&quot;allowFrom&quot;</span><span class="punctuation">:</span> <span class="punctuation">[</span><span class="string">&quot;你的TG用户ID&quot;</span><span class="punctuation">]</span><span class="punctuation">,</span></span><br><span class="line">      <span class="attr">&quot;groupPolicy&quot;</span><span class="punctuation">:</span> <span class="string">&quot;disabled&quot;</span></span><br><span class="line">    <span class="punctuation">&#125;</span></span><br><span class="line">  <span class="punctuation">&#125;</span><span class="punctuation">,</span></span><br><span class="line">  <span class="attr">&quot;cron&quot;</span><span class="punctuation">:</span> <span class="punctuation">&#123;</span></span><br><span class="line">    <span class="attr">&quot;jobs&quot;</span><span class="punctuation">:</span> <span class="punctuation">[</span><span class="punctuation">]</span></span><br><span class="line">  <span class="punctuation">&#125;</span></span><br><span class="line"><span class="punctuation">&#125;</span></span><br></pre></td></tr></table></figure><p><strong>配置亮点</strong>：</p><ul><li><code>fallback</code>：主模型挂了自动切备用</li><li><code>thinking: medium</code>：启用中等深度思考</li><li><code>groupPolicy: disabled</code>：只响应私聊，不进群</li><li>双重白名单：elevated 和 channels 都设了 allowFrom</li></ul><hr><h2 id="总结"><a href="#总结" class="headerlink" title="总结"></a>总结</h2><p>整个过程折腾了大半天，大部分时间花在排查配置格式上。</p><p>几个关键点：</p><ol><li><strong>Node.js 版本</strong>：必须 22 以上</li><li><strong>API 要通用</strong>：别用有分组限制的 Key</li><li><strong>配置格式严格</strong>：<code>api</code> 字段、<code>models</code> 数组这些容易出错</li><li><strong>用 systemd 管理</strong>：别用 nohup</li><li><strong>安全第一</strong>：白名单必须设，日志定期看</li></ol><p>搭完之后确实方便。出门在外随时能跟服务器交互，定时任务也不用自己写脚本了。</p><p>但说实话，这东西更适合有一定技术基础的人。如果只是想聊天，直接用 Claude 官网就够了。折腾 ClawdBot，图的是「可控」和「自动化」。</p>]]></content>
    
    
    <summary type="html">手把手教你在服务器上部署 ClawdBot，踩过的坑都帮你填好了。从 Node.js 安装到 Telegram Bot 配置，再到开机自启，一篇搞定。</summary>
    
    
    
    <category term="工具" scheme="https://www.wangwangit.com/categories/%E5%B7%A5%E5%85%B7/"/>
    
    
    <category term="教程" scheme="https://www.wangwangit.com/tags/%E6%95%99%E7%A8%8B/"/>
    
    <category term="自动化" scheme="https://www.wangwangit.com/tags/%E8%87%AA%E5%8A%A8%E5%8C%96/"/>
    
    <category term="ClawdBot" scheme="https://www.wangwangit.com/tags/ClawdBot/"/>
    
    <category term="AI助手" scheme="https://www.wangwangit.com/tags/AI%E5%8A%A9%E6%89%8B/"/>
    
    <category term="Telegram Bot" scheme="https://www.wangwangit.com/tags/Telegram-Bot/"/>
    
  </entry>
  
  <entry>
    <title>腾讯的 AI 焦虑，藏在十年前的 QQ 机器人里</title>
    <link href="https://www.wangwangit.com/%E8%85%BE%E8%AE%AF%E7%9A%84_AI_%E7%84%A6%E8%99%91%EF%BC%8C%E8%97%8F%E5%9C%A8%E5%8D%81%E5%B9%B4%E5%89%8D%E7%9A%84_QQ_%E6%9C%BA%E5%99%A8%E4%BA%BA%E9%87%8C/"/>
    <id>https://www.wangwangit.com/%E8%85%BE%E8%AE%AF%E7%9A%84_AI_%E7%84%A6%E8%99%91%EF%BC%8C%E8%97%8F%E5%9C%A8%E5%8D%81%E5%B9%B4%E5%89%8D%E7%9A%84_QQ_%E6%9C%BA%E5%99%A8%E4%BA%BA%E9%87%8C/</id>
    <published>2026-01-27T04:00:00.000Z</published>
    <updated>2026-03-08T06:14:12.074Z</updated>
    
    <content type="html"><![CDATA[<p><img src="https://img.996007.icu/file/1769484517634_20260127112828732.jpg" alt="cover"></p><p>昨晚，我在的一个技术交流群突然热闹了起来。不是因为哪家大厂崩了，而是群主拉进来一个“新物种”——腾讯元宝派。</p><p>“听说这玩意儿能发红包，还能聊天？”群友们瞬间兴奋，开始围着这个 AI 智能体七嘴八舌。有人让它讲笑话，有人问它“年终奖发多少”，当然，更多人是在等着传说中的“10 亿春节红包”雨。</p><p>看着屏幕上那个顶着 AI 头像、说话滴水不漏甚至还带点幽默的账号，我突然有一种强烈的既视感。这场景，这功能，这互动模式……这不就是十年前我在 QQ 群里玩烂了的“Baby Q”和“小冰”吗？</p><p>腾讯砸了 10 个亿，把最先进的混元大模型塞进微信群，结果大家玩得最开心的，依然是十年前那一套。</p><h3 id="换了“脑子”，没换“身子”"><a href="#换了“脑子”，没换“身子”" class="headerlink" title="换了“脑子”，没换“身子”"></a>换了“脑子”，没换“身子”</h3><p><img src="https://img.996007.icu/file/1769484456862_20260127112724459.png" alt="image-20260127112724223"></p><p><img src="https://img.996007.icu/file/1769484457345_20260127112735905.png" alt="image-20260127112735840"></p><p>为了验证我的感觉，我特意去申请了元宝派的内测资格，把它拉进了几个不同类型的群。</p><p>体验下来，确实“智能”了不少。以前的 QQ 机器人（比如早期的酷 Q 插件或官方的小冰），本质上是“关键词触发器”。你输入“天气”，它抓取气象局数据；你输入“讲笑话”，它从数据库随机抽一条。稍微复杂一点的上下文，它就只会回“听不懂你在说什么”。</p><p>现在的元宝派，背后是 LLM（大语言模型）。它能理解长难句，能接住你抛出来的梗，甚至能根据群里的聊天氛围自动插话。技术底座确实发生了翻天覆地的变化，从检索式变成了生成式。</p><p>但是，落地到产品形态上，它依然是那个“群聊吉祥物”。</p><p>它的核心功能清单：陪聊、活跃气氛、解答简单问题、发红包。这和当年 QQ 群机器人的“签到、求签、点歌、群管”在本质上没有任何区别。甚至因为微信生态的封闭性，元宝派的可玩性目前还不如当年的 QQ 机器人生态——那时候的开发者可是能写出各种花里胡哨的插件的。</p><p>这就好比给一辆马车换上了核动力引擎，结果你还是只能赶着它去送豆腐。引擎很强，但你给它的场景，只有那么大。</p><h3 id="腾讯的路径依赖：万物皆可“社交化”"><a href="#腾讯的路径依赖：万物皆可“社交化”" class="headerlink" title="腾讯的路径依赖：万物皆可“社交化”"></a>腾讯的路径依赖：万物皆可“社交化”</h3><p>为什么腾讯非要把 AI 往群里塞？</p><p>因为这是腾讯最擅长、也最不想放弃的战场。2014 年春节，微信支付靠“红包”一夜之间偷袭珍珠港，干了支付宝十年的活。这个成功案例太诱人了，以至于每当腾讯有新业务要推（视频号、微视、现在的元宝 AI），内部的第一反应就是：<strong>“能不能在微信群里裂变一下？”</strong></p><p>这种路径依赖，导致了“元宝派”的诞生。</p><p>腾讯希望通过春节 10 亿红包，让用户在群聊这个高频场景下“被迫”习惯 AI 的存在。只要你为了领红包和 AI 对话过一次，你就是腾讯眼中的“AI 激活用户”。</p><p>但问题是，支付是刚需，聊天不是。</p><p>当年我们抢完微信红包，是真的需要用微信转账、支付。现在我们领完元宝派的红包，真的需要在群里留一个 AI 听我们吹水吗？对于大多数工作群、家庭群来说，一个时不时跳出来插话的 AI，大概率会被踢出去，或者在红包活动结束后被迅速遗忘。</p><p><img src="https://img.996007.icu/file/1769484319832_20260127112511991.jpg" alt="腾讯AI社交的路径依赖"></p><h3 id="迷茫的-AI，退化的社交"><a href="#迷茫的-AI，退化的社交" class="headerlink" title="迷茫的 AI，退化的社交"></a>迷茫的 AI，退化的社交</h3><p>我看到群里有人在调戏元宝派：“你会不会统治人类？”元宝派一本正经地回答了一大段关于 AI 伦理的安全词。群友哄笑，然后继续潜水。</p><p>这一幕让我觉得挺荒诞的。2026 年了，我们手中的 AI 算力已经强到可以模拟蛋白质折叠、可以写出运行良好的代码，但巨头们费尽心思推到我们要前的产品，却是一个用来“讨彩头”的电子宠物。</p><p>这暴露了整个行业的焦虑：<strong>大模型很强，但 C 端应用场景依然匮乏。</strong></p><p>除了写代码、写周报这种生产力场景，AI 在日常生活中到底能干嘛？腾讯没想清楚，所以它选择了最保险的打法——把它变成一个更好的 QQ 机器人。至少，在 QQ 时代，机器人验证了“陪伴”和“娱乐”是有市场的。</p><p>但这种“文艺复兴”，真的是我们期待的 AI 时代吗？</p><p>如果你问我，领完那几十块钱的红包后会做什么？我会毫不犹豫地把元宝派移出群聊。因为我的微信群已经够吵了，不需要一个不知疲倦的 AI 再来制造噪音。</p><p>至于腾讯能不能靠这 10 亿红包复刻当年的奇迹，我看悬。毕竟，当年的微信红包解决了”转账麻烦”的痛点，而现在的元宝派，解决的可能只是腾讯自己的 KPI 焦虑。</p>]]></content>
    
    
    <summary type="html">腾讯砸了 10 个亿，把最先进的混元大模型塞进微信群，结果大家玩得最开心的，依然是十年前 QQ 机器人那一套。</summary>
    
    
    
    <category term="深度观点" scheme="https://www.wangwangit.com/categories/%E6%B7%B1%E5%BA%A6%E8%A7%82%E7%82%B9/"/>
    
    
    <category term="腾讯元宝" scheme="https://www.wangwangit.com/tags/%E8%85%BE%E8%AE%AF%E5%85%83%E5%AE%9D/"/>
    
    <category term="AI 社交" scheme="https://www.wangwangit.com/tags/AI-%E7%A4%BE%E4%BA%A4/"/>
    
    <category term="微信红包" scheme="https://www.wangwangit.com/tags/%E5%BE%AE%E4%BF%A1%E7%BA%A2%E5%8C%85/"/>
    
    <category term="产品观察" scheme="https://www.wangwangit.com/tags/%E4%BA%A7%E5%93%81%E8%A7%82%E5%AF%9F/"/>
    
  </entry>
  
  <entry>
    <title>告别按量付费：搭建一个无限免费的私人 TTS 服务</title>
    <link href="https://www.wangwangit.com/qwen3-tts-0.6b-voice-clone/"/>
    <id>https://www.wangwangit.com/qwen3-tts-0.6b-voice-clone/</id>
    <published>2026-01-26T11:30:00.000Z</published>
    <updated>2026-03-08T06:14:12.066Z</updated>
    
    <content type="html"><![CDATA[<p><img src="https://img.996007.icu/file/1769427908800_20260126194456332.jpg" alt="cover"></p><p>用自己的声音让 AI 读稿，我以前就有这个想法! </p><p>之前试过 ElevenLabs，效果确实好，但每个月 10 美元起步，用多了还得加钱。Azure 的 TTS 便宜点，但声音克隆要企业认证，个人用户压根申请不下来。开源方案倒是有，CosyVoice、FishSpeech 都不错，问题是我那台老笔记本只有 8GB 显存，跑这俩都费劲。</p><p>直到上周，阿里把 Qwen3-TTS 全家桶开源了。</p><h2 id="0-6B-有多轻量？"><a href="#0-6B-有多轻量？" class="headerlink" title="0.6B 有多轻量？"></a>0.6B 有多轻量？</h2><p><strong>0.6B 模型只需要 1.2GB 显存</strong>，没有独显的话，纯 CPU 也能跑。</p><p>这意味着什么？一台普通办公电脑，8GB 内存，集显，就能跑完整的语音合成模型。不用买云服务器，不用按量付费，模型下到本地，想用多少用多少。我特地用一台普通云电脑跑了下,慢是慢了点,但是能用!</p><p><img src="https://img.996007.icu/file/1769427288286_20260126193444258.png" alt="image-20260126193437091"></p><p>Qwen3-TTS 这次开源了两个尺寸：</p><table><thead><tr><th>模型</th><th>参数量</th><th>显存需求</th><th>定位</th></tr></thead><tbody><tr><td>1.7B</td><td>17 亿</td><td>~3.4GB</td><td>极致音质</td></tr><tr><td><strong>0.6B</strong></td><td>6 亿</td><td><strong>~1.2GB</strong></td><td>均衡效率</td></tr></tbody></table><p>0.6B 虽然参数少，但该有的能力都有：10 种语言（中英日韩德法俄葡西意）、多种方言（粤语、四川话、闽南语等）、声音克隆、声音设计。对于个人用户来说，0.6B 已经够用了。</p><h2 id="安装"><a href="#安装" class="headerlink" title="安装"></a>安装</h2><blockquote><p><a href="https://github.com/QwenLM/Qwen3-TTS">https://github.com/QwenLM/Qwen3-TTS</a></p></blockquote><p>这块直接看官方文档吧! 或者让AI给你安装就行,留一份我的一键脚本,可以自己试试!</p><p>装完之后，第一次运行会自动下载模型权重，0.6B 大概 1.2GB，耐心等一下。</p><figure class="highlight sh"><table><tr><td class="code"><pre><span class="line"><span class="meta">#!/usr/bin/env bash</span></span><br><span class="line"><span class="built_in">set</span> -euo pipefail</span><br><span class="line"></span><br><span class="line">ROOT=<span class="string">&quot;/wangwang/qwen&quot;</span></span><br><span class="line">MODEL_ID=<span class="string">&quot;Qwen/Qwen3-TTS-12Hz-0.6B-Base&quot;</span></span><br><span class="line"></span><br><span class="line"><span class="built_in">mkdir</span> -p <span class="string">&quot;<span class="variable">$ROOT</span>&quot;</span></span><br><span class="line"><span class="built_in">cd</span> <span class="string">&quot;<span class="variable">$ROOT</span>&quot;</span></span><br><span class="line"></span><br><span class="line"><span class="built_in">echo</span> <span class="string">&quot;[1/6] venv&quot;</span></span><br><span class="line">python3 -m venv .venv</span><br><span class="line"><span class="built_in">source</span> .venv/bin/activate</span><br><span class="line">python -m pip install -U pip wheel setuptools</span><br><span class="line"></span><br><span class="line"><span class="built_in">echo</span> <span class="string">&quot;[2/6] HF mirror + cache&quot;</span></span><br><span class="line"><span class="built_in">export</span> HF_ENDPOINT=<span class="string">&quot;https://hf-mirror.com&quot;</span>   <span class="comment"># huggingface 工具链会读取该变量走镜像 :contentReference[oaicite:2]&#123;index=2&#125;</span></span><br><span class="line"><span class="built_in">export</span> HF_HOME=<span class="string">&quot;<span class="variable">$ROOT</span>/hf_home&quot;</span></span><br><span class="line"></span><br><span class="line"><span class="built_in">echo</span> <span class="string">&quot;[3/6] PyTorch (CPU wheel)&quot;</span></span><br><span class="line">pip install -U torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu</span><br><span class="line"></span><br><span class="line"><span class="built_in">echo</span> <span class="string">&quot;[4/6] Runtime deps&quot;</span></span><br><span class="line">pip install -U <span class="string">&quot;qwen-tts&quot;</span> <span class="string">&quot;huggingface_hub[cli]&quot;</span> soundfile requests numpy</span><br><span class="line"></span><br><span class="line"><span class="built_in">echo</span> <span class="string">&quot;[5/6] CPU performance knobs&quot;</span></span><br><span class="line"><span class="comment"># 默认用最多 8 线程更稳（你可以在运行前 export THREADS=4 自定义）</span></span><br><span class="line">THREADS=<span class="string">&quot;<span class="variable">$&#123;THREADS:-$(python - &lt;&lt;&#x27;PY&#x27;</span></span></span><br><span class="line"><span class="variable"><span class="string">import os</span></span></span><br><span class="line"><span class="variable"><span class="string">n=os.cpu_count() or 1</span></span></span><br><span class="line"><span class="variable"><span class="string">print(max(1, min(8, n)))</span></span></span><br><span class="line"><span class="variable"><span class="string">PY</span></span></span><br><span class="line"><span class="variable"><span class="string">)&#125;</span>&quot;</span></span><br><span class="line"><span class="built_in">export</span> OMP_NUM_THREADS=<span class="string">&quot;<span class="variable">$THREADS</span>&quot;</span></span><br><span class="line"><span class="built_in">export</span> MKL_NUM_THREADS=<span class="string">&quot;<span class="variable">$THREADS</span>&quot;</span></span><br><span class="line"><span class="built_in">export</span> OPENBLAS_NUM_THREADS=<span class="string">&quot;<span class="variable">$THREADS</span>&quot;</span></span><br><span class="line"><span class="built_in">export</span> NUMEXPR_NUM_THREADS=<span class="string">&quot;<span class="variable">$THREADS</span>&quot;</span></span><br><span class="line"></span><br><span class="line"><span class="built_in">echo</span> <span class="string">&quot;THREADS=<span class="variable">$THREADS</span>&quot;</span></span><br><span class="line"></span><br><span class="line"><span class="built_in">echo</span> <span class="string">&quot;[6/6] Smoke test (voice clone -&gt; out/output_voice_clone.wav)&quot;</span></span><br><span class="line"><span class="built_in">mkdir</span> -p out</span><br><span class="line">python - &lt;&lt;<span class="string">&#x27;PY&#x27;</span></span><br><span class="line">import io, os, requests</span><br><span class="line">import numpy as np</span><br><span class="line">import torch</span><br><span class="line">import soundfile as sf</span><br><span class="line">from qwen_tts import Qwen3TTSModel</span><br><span class="line"></span><br><span class="line">MODEL_ID=<span class="string">&quot;Qwen/Qwen3-TTS-12Hz-0.6B-Base&quot;</span></span><br><span class="line"></span><br><span class="line">threads = int(os.environ.get(<span class="string">&quot;OMP_NUM_THREADS&quot;</span>,<span class="string">&quot;4&quot;</span>))</span><br><span class="line">torch.set_num_threads(threads)</span><br><span class="line">torch.set_num_interop_threads(1)</span><br><span class="line"></span><br><span class="line"><span class="built_in">print</span>(<span class="string">&quot;torch:&quot;</span>, torch.__version__)</span><br><span class="line"><span class="built_in">print</span>(<span class="string">&quot;threads:&quot;</span>, threads)</span><br><span class="line"></span><br><span class="line"><span class="comment"># 下载参考音频（官方 demo 里 voice clone 需要 ref_audio，且在非 x-vector-only 时还需要 ref_text）:contentReference[oaicite:3]&#123;index=3&#125;</span></span><br><span class="line">ref_audio_url = <span class="string">&quot;https://qianwen-res.oss-cn-beijing.aliyuncs.com/Qwen3-TTS-Repo/clone.wav&quot;</span></span><br><span class="line">resp = requests.get(ref_audio_url, <span class="built_in">timeout</span>=60)</span><br><span class="line">resp.raise_for_status()</span><br><span class="line">wav, sr = sf.read(io.BytesIO(resp.content))</span><br><span class="line"><span class="keyword">if</span> wav.ndim &gt; 1:</span><br><span class="line">    wav = np.mean(wav, axis=1)</span><br><span class="line">wav = wav.astype(np.float32)</span><br><span class="line">ref_audio = (wav, int(sr))</span><br><span class="line"></span><br><span class="line"><span class="comment"># 说明：如果你把 x_vector_only_mode=False，则需要提供 ref_text（HF demo 做了校验）:contentReference[oaicite:4]&#123;index=4&#125;</span></span><br><span class="line">ref_text = <span class="string">&quot;Okay. Yeah. I resent you. I love you. I respect you. But you know what? You blew it! And thanks to you.&quot;</span></span><br><span class="line"></span><br><span class="line">tts = Qwen3TTSModel.from_pretrained(</span><br><span class="line">    MODEL_ID,</span><br><span class="line">    device_map=<span class="string">&quot;cpu&quot;</span>,</span><br><span class="line">    dtype=torch.float32,</span><br><span class="line">    <span class="comment"># CPU 用 eager 更稳；flash_attention_2 主要给 GPU :contentReference[oaicite:5]&#123;index=5&#125;</span></span><br><span class="line">    attn_implementation=<span class="string">&quot;eager&quot;</span>,</span><br><span class="line">)</span><br><span class="line"></span><br><span class="line">wavs, out_sr = tts.generate_voice_clone(</span><br><span class="line">    text=<span class="string">&quot;Hello! This is a CPU smoke test for Qwen3-TTS voice cloning.&quot;</span>,</span><br><span class="line">    language=<span class="string">&quot;English&quot;</span>,</span><br><span class="line">    ref_audio=ref_audio,</span><br><span class="line">    ref_text=ref_text,</span><br><span class="line">    x_vector_only_mode=False,  <span class="comment"># True 会更快一些，但通常更依赖参考音频质量/相似度</span></span><br><span class="line">    max_new_tokens=768,        <span class="comment"># CPU 建议先小一点，确保跑通</span></span><br><span class="line">)</span><br><span class="line"></span><br><span class="line">sf.write(<span class="string">&quot;out/output_voice_clone.wav&quot;</span>, wavs[0], out_sr)</span><br><span class="line"><span class="built_in">print</span>(<span class="string">&quot;Saved -&gt; out/output_voice_clone.wav | sr:&quot;</span>, out_sr, <span class="string">&quot;| sec:&quot;</span>, len(wavs[0])/out_sr)</span><br><span class="line">PY</span><br><span class="line"></span><br><span class="line"><span class="built_in">echo</span> <span class="string">&quot;DONE: <span class="variable">$ROOT</span>/out/output_voice_clone.wav&quot;</span></span><br><span class="line"></span><br></pre></td></tr></table></figure><h2 id="声音克隆：3-秒音频就够"><a href="#声音克隆：3-秒音频就够" class="headerlink" title="声音克隆：3 秒音频就够"></a>声音克隆：3 秒音频就够</h2><p>这是 Qwen3-TTS 最让我意外的功能。只需要一段 3-10 秒的音频，模型就能学会这个人的音色、语调、说话节奏，然后用这个声音读任何你给的文本。</p><p>代码也不复杂：</p><figure class="highlight python"><table><tr><td class="code"><pre><span class="line"><span class="keyword">import</span> torch</span><br><span class="line"><span class="keyword">import</span> soundfile <span class="keyword">as</span> sf</span><br><span class="line"><span class="keyword">from</span> qwen_tts <span class="keyword">import</span> Qwen3TTSModel</span><br><span class="line"></span><br><span class="line"><span class="comment"># 加载 0.6B 模型</span></span><br><span class="line">model = Qwen3TTSModel.from_pretrained(</span><br><span class="line">    <span class="string">&quot;Qwen/Qwen3-TTS-12Hz-0.6B-Base&quot;</span>,</span><br><span class="line">    device_map=<span class="string">&quot;cuda:0&quot;</span>,  <span class="comment"># 没有显卡就用 &quot;cpu&quot;</span></span><br><span class="line">    dtype=torch.float16,</span><br><span class="line">)</span><br><span class="line"></span><br><span class="line"><span class="comment"># 克隆声音</span></span><br><span class="line">wavs, sr = model.generate_voice_clone(</span><br><span class="line">    text=<span class="string">&quot;今天天气不错，适合出去走走。&quot;</span>,</span><br><span class="line">    language=<span class="string">&quot;Chinese&quot;</span>,</span><br><span class="line">    ref_audio=<span class="string">&quot;my_voice.wav&quot;</span>,      <span class="comment"># 你的参考音频</span></span><br><span class="line">    ref_text=<span class="string">&quot;这是参考音频的文字内容。&quot;</span>,  <span class="comment"># 参考音频说了什么</span></span><br><span class="line">)</span><br><span class="line"></span><br><span class="line">sf.write(<span class="string">&quot;output.wav&quot;</span>, wavs[<span class="number">0</span>], sr)</span><br></pre></td></tr></table></figure><p>我拿自己录的一段 5 秒音频试了试，效果出乎意料。音色还原度很高，连我说话时习惯性的尾音拖长都学到了。想效果更好的话可以换 1.7B，代价是显存占用翻倍。</p><p>有个坑：<code>ref_text</code> 参数是必须的，你得告诉模型参考音频里说了什么。懒得写的话可以开 <code>x_vector_only_mode</code>，只用音色特征不看文本，但音质会打折扣。</p><h2 id="封装成-Claude-Code-Skill"><a href="#封装成-Claude-Code-Skill" class="headerlink" title="封装成 Claude Code Skill"></a>封装成 Claude Code Skill</h2><p>上面说的都是官方玩法，接下来是我自己折腾出来的骚操作。</p><p>既然 Qwen3-TTS 可以本地运行，那能不能封装成一个服务，随时调用？更进一步，能不能做成 Claude Code 的 Skill，让 AI 助手直接帮我把文字转成语音？</p><p>答案是可以的。而且一旦配好，就相当于有了一个<strong>无限免费的私人 TTS 服务</strong>。</p><h3 id="为什么要这么做？"><a href="#为什么要这么做？" class="headerlink" title="为什么要这么做？"></a>为什么要这么做？</h3><p>每次用 TTS 都要手动跑 Python 脚本，麻烦。封装成 Skill 之后，直接在 Claude Code 里敲 <code>/qwen-tts 今天天气不错</code>，AI 就能帮你生成语音文件。写文章的时候想听听读起来顺不顺口？一句命令搞定。有需要的用户可以留言,我可以将自己的分享到github上!</p><p><img src="https://img.996007.icu/file/1769427537972_20260126193850093.png" alt="image-20260126193850005"></p><p>然后修改 Skill，让它调用这个 API 而不是每次都加载模型。这样响应速度能从十几秒缩短到一两秒。</p><h2 id="适合什么人用？"><a href="#适合什么人用？" class="headerlink" title="适合什么人用？"></a>适合什么人用？</h2><ul><li><strong>内容创作者</strong>：写公众号、做视频，需要配音但不想花钱</li><li><strong>开发者</strong>：想在自己的应用里加入语音功能，不想被 API 账单吓到</li><li><strong>折腾党</strong>：就是想在本地跑个 AI 玩玩，不需要理由</li></ul><p>如果你追求极致音质，愿意等更长的生成时间，可以换成 1.7B 模型。如果你的电脑配置一般，或者更看重响应速度，0.6B 是更实际的选择。</p><h2 id="最后"><a href="#最后" class="headerlink" title="最后"></a>最后</h2><p>阿里这次开源的 Qwen3-TTS，给了我一点惊喜。0.6B 这个尺寸，在保持可用性的前提下，把硬件门槛拉到了普通用户能接受的水平。声音克隆不再是云端大厂的专利，一台普通电脑就能玩。</p><p>更重要的是，它是 Apache 2.0 协议，商用也没问题。</p><p>GitHub 地址：<a href="https://github.com/QwenLM/Qwen3-TTS">https://github.com/QwenLM/Qwen3-TTS</a></p><p>Hugging Face 在线体验：<a href="https://huggingface.co/spaces/Qwen/Qwen3-TTS">https://huggingface.co/spaces/Qwen/Qwen3-TTS</a></p><p>有兴趣的话，去试试用自己的声音做一个 AI 分身。</p><p><img src="https://img.996007.icu/file/1769427699607_20260126194126590.png" alt="image-20260126194126468"></p>]]></content>
    
    
    <summary type="html">阿里开源的 Qwen3-TTS 0.6B 模型，只需 1.2GB 显存，CPU 也能跑。3 秒音频就能克隆任何声音，还能封装成 Claude Code Skill，实现无限免费的文字转语音服务。</summary>
    
    
    
    <category term="AI工具" scheme="https://www.wangwangit.com/categories/AI%E5%B7%A5%E5%85%B7/"/>
    
    
    <category term="Qwen3-TTS" scheme="https://www.wangwangit.com/tags/Qwen3-TTS/"/>
    
    <category term="语音合成" scheme="https://www.wangwangit.com/tags/%E8%AF%AD%E9%9F%B3%E5%90%88%E6%88%90/"/>
    
    <category term="声音克隆" scheme="https://www.wangwangit.com/tags/%E5%A3%B0%E9%9F%B3%E5%85%8B%E9%9A%86/"/>
    
    <category term="本地部署" scheme="https://www.wangwangit.com/tags/%E6%9C%AC%E5%9C%B0%E9%83%A8%E7%BD%B2/"/>
    
    <category term="Claude Code Skill" scheme="https://www.wangwangit.com/tags/Claude-Code-Skill/"/>
    
  </entry>
  
  <entry>
    <title>不花钱的图片生成 API？个人开发者的省钱之选</title>
    <link href="https://www.wangwangit.com/modelscope-api-inference-free-quota/"/>
    <id>https://www.wangwangit.com/modelscope-api-inference-free-quota/</id>
    <published>2026-01-24T05:01:52.000Z</published>
    <updated>2026-03-08T06:14:12.066Z</updated>
    
    <content type="html"><![CDATA[<p><img src="https://img.996007.icu/file/1769232635241_20260124133026115.jpg" alt="cover"></p><p>想调用图片生成 API，但不想花钱？</p><p>如果你关注过 Nano Banana Pro——也就是 Google 的 Gemini 3 Pro Image 模型——可能会发现它的免费额度非常有限。通过 Google AI Studio 免费层，每分钟只能请求 2-5 次，每天上限大概 50-100 次。更惨的是 2025 年 12 月 Google 还大砍了一波免费额度，部分模型直接砍掉 50-80%。如果只是用 Gemini App 的免费版，每天就只能生成 3 张低分辨率图片。</p><p>这时候可以看看 ModelScope 的 API-Inference。</p><h2 id="额度对比"><a href="#额度对比" class="headerlink" title="额度对比"></a>额度对比</h2><p>先说数字：</p><table><thead><tr><th>平台</th><th>免费额度</th><th>限制</th></tr></thead><tbody><tr><td>Nano Banana Pro（Google AI Studio 免费层）</td><td>50-100 次&#x2F;天</td><td>2-5 RPM，2025年12月大幅削减</td></tr><tr><td>Nano Banana Pro（Gemini App 免费版）</td><td>3 张低分辨率&#x2F;天</td><td>有水印，速度慢</td></tr><tr><td>Nano Banana Pro（付费 Tier 1）</td><td>250 次&#x2F;天</td><td>需绑定信用卡</td></tr><tr><td>ModelScope</td><td>单模型 500 次&#x2F;天，总共 2000 次&#x2F;天</td><td>需实名认证</td></tr></tbody></table><p>差距一目了然。即使拿 Nano Banana Pro 付费用户的 250 次&#x2F;天来比，ModelScope 的免费额度都是它的 8 倍。如果你只是想免费测试生图效果，ModelScope 基本等于敞开用。</p><h2 id="能替代-Nano-Banana-Pro-吗？"><a href="#能替代-Nano-Banana-Pro-吗？" class="headerlink" title="能替代 Nano Banana Pro 吗？"></a>能替代 Nano Banana Pro 吗？</h2><p>先说结论：<strong>看场景</strong>。</p><p>Nano Banana Pro 的优势在于 4K 分辨率、文字渲染准确、编辑能力强（可以局部修改图片）。如果你的需求是高精度商用图，它确实更专业。问题是——免费额度太抠，而且 Google 官方价格是 $0.134-0.24&#x2F;张，不便宜。</p><p>ModelScope 上的模型虽然整体能力比不上 Nano Banana Pro，但对于大多数个人开发者的需求（原型测试、批量生成素材图、玩法探索）来说，完全够用。</p><h2 id="有哪些模型可以用"><a href="#有哪些模型可以用" class="headerlink" title="有哪些模型可以用"></a>有哪些模型可以用</h2><p>图片生成方面，ModelScope 上有不少开源模型：</p><ul><li><strong>Z-Image-Turbo</strong>：阿里通义的 6B 参数生图模型，8 步推理，速度快。实测大概 20-150 秒出图，看服务器负载</li><li><strong>FLUX 系列</strong>：社区部署版本，效果不错</li><li><strong>Stable Diffusion 相关模型</strong>：选择多</li></ul><p>Z-Image-Turbo 有个亮点是中文理解能力比较好。如果你经常需要生成带中文的图片，或者 prompt 本身是中文，它比很多国外模型友好。</p><h2 id="怎么用"><a href="#怎么用" class="headerlink" title="怎么用"></a>怎么用</h2><ol><li>注册 <a href="https://modelscope.cn/">modelscope.cn</a> 账号</li><li>绑定阿里云账号（必须，而且要实名认证）</li><li>获取 API Token</li><li>按文档调 API</li></ol><p>调用方式是标准的 HTTPS 接口，和其他 API 差不多。你可以直接将代码发给Claude Code,让它给你封装成一个图片生成的Skill,后续使用就方便啦!</p><p><img src="https://img.996007.icu/file/1769232841048_20260124133355143.png" alt="image-20260124133354953"></p><p><img src="https://img.996007.icu/file/1769232748295_20260124133217845.png" alt="image-20260124133217687"></p><h2 id="注意事项"><a href="#注意事项" class="headerlink" title="注意事项"></a>注意事项</h2><ul><li><strong>需要实名</strong>：阿里云账号要完成实名认证才能用，这一点对海外用户不太友好</li><li><strong>热门模型有额外限制</strong>：部分大规格模型可能有单独的调用限制，比如 DeepSeek-V3.2-Exp 每天只能调用 100 次</li><li><strong>适合图片生成场景</strong>：对话类 API 一轮可能就是好几次调用，2000 次不够聊几个小时。但图片生成一张一次，500 次足够折腾</li><li><strong>速度波动</strong>：毕竟是免费资源，20 秒到 150 秒都有可能，高峰期慢一点能接受</li></ul><h2 id="总结"><a href="#总结" class="headerlink" title="总结"></a>总结</h2><p>如果你没有Banana 这些付费 API 账户，或者只是想找个免费渠道测试生图效果，ModelScope 的免费额度值得一试。</p>]]></content>
    
    
    <summary type="html">阿里魔搭 ModelScope 提供每天 2000 次免费 API-Inference 调用额度，单模型上限 500 次。对于图片生成需求，比 Nano Banana Pro（Google Gemini 3 Pro Image）的免费额度强太多了。</summary>
    
    
    
    <category term="AI工具" scheme="https://www.wangwangit.com/categories/AI%E5%B7%A5%E5%85%B7/"/>
    
    
    <category term="AI生图" scheme="https://www.wangwangit.com/tags/AI%E7%94%9F%E5%9B%BE/"/>
    
    <category term="免费API" scheme="https://www.wangwangit.com/tags/%E5%85%8D%E8%B4%B9API/"/>
    
    <category term="ModelScope" scheme="https://www.wangwangit.com/tags/ModelScope/"/>
    
    <category term="图片生成" scheme="https://www.wangwangit.com/tags/%E5%9B%BE%E7%89%87%E7%94%9F%E6%88%90/"/>
    
  </entry>
  
  <entry>
    <title>JetBrains 用户福音！Codex 终于来了，还能用自己的 API Key</title>
    <link href="https://www.wangwangit.com/JetBrains%E7%94%A8%E6%88%B7%E7%A6%8F%E9%9F%B3-Codex%E7%BB%88%E4%BA%8E%E6%9D%A5%E4%BA%86/"/>
    <id>https://www.wangwangit.com/JetBrains%E7%94%A8%E6%88%B7%E7%A6%8F%E9%9F%B3-Codex%E7%BB%88%E4%BA%8E%E6%9D%A5%E4%BA%86/</id>
    <published>2026-01-23T03:00:00.000Z</published>
    <updated>2026-03-08T06:14:12.062Z</updated>
    
    <content type="html"><![CDATA[<p><img src="https://img.996007.icu/file/1769138151544_20260123111546590.jpg" alt="cover"></p><p>等了快一年，OpenAI 的 Codex 终于支持 JetBrains IDE 了。</p><p>我是 IDEA 重度用户，之前看着 VS Code 用户在那边用 Codex 各种爽，也被迫切换到vscode,cursor之类的ide去使用。JetBrains官方一直说 “coming soon”，结果这个 soon 就是大半年。1 月 22 日 JetBrains 官方博客发了公告，我当天晚上就配好了——折腾了大概 10 分钟，现在写代码的时候终于能在 IDE 里直接跟 Codex 对话了。</p><p>这篇文章我会把配置过程完整写一遍，包括三种不同的接入方式。重点是：现在有限时免费额度可以白嫖，不用的话过期就没了。</p><h2 id="这次更新解决了什么问题"><a href="#这次更新解决了什么问题" class="headerlink" title="这次更新解决了什么问题"></a>这次更新解决了什么问题</h2><p>之前 JetBrains 用户想用 Codex，只有两条路：要么开个浏览器标签页挂着 ChatGPT，代码来回复制粘贴；要么用 Codex CLI，在终端里敲命令。两种方式都很割裂，没法像 VS Code 那样在编辑器里无缝使用。</p><p>现在 Codex 直接集成到了 JetBrains 的 AI Chat 里。打开 IDE 右上角的 AI 面板，在 agent 选择器里就能看到 Codex 选项。选中之后，它就能读取你当前项目的上下文，帮你写代码、改 bug、做 refactor，不用再手动复制文件内容过去了。</p><p><img src="https://img.996007.icu/file/1769137897687_20260123111127129.png" alt="Snipaste_2026-01-23_10-42-13"></p><p>另一个大更新是 BYOK（Bring Your Own Key）。如果你有自己的 OpenAI API Key，或者 Anthropic 的 Key，可以直接配进去用。这对两类人特别有用：一是公司给报销 API 费用的，二是已经在用 OpenAI API 做其他项目、不想再单独订阅 JetBrains AI 的。</p><p><img src="https://img.996007.icu/file/1769137904405_20260123111139196.png" alt="Snipaste_2026-01-23_10-42-50"></p><h2 id="免费额度到底有多少"><a href="#免费额度到底有多少" class="headerlink" title="免费额度到底有多少"></a>免费额度到底有多少</h2><p>先说结论：白嫖党现在入场正合适。</p><p>JetBrains AI 的免费版（AI Free）每 30 天给 3 个 AI Credits。1 个 Credit 大概能用来干这些事：</p><ul><li>10 次 AI Chat 代码生成</li><li>40 次编辑器内代码生成</li><li>140 次 commit message 生成</li></ul><p>3 个 Credits 听起来不多，但对于”偶尔用一下”的人来说够了。</p><p>更重要的是这次 Codex 集成的限时推广：从 1 月 22 日开始，通过 JetBrains AI 访问 Codex 是免费的，不消耗你的 AI Credits。这个推广会持续到”分配的推广积分用完为止”——官方没说具体是多少，但既然是限时的，建议早点试试。</p><p>付费版的价格：</p><ul><li>AI Pro：$10&#x2F;月，10 Credits</li><li>AI Ultimate：$30&#x2F;月，35 Credits</li></ul><p>如果你用自己的 API Key（BYOK），不需要订阅 JetBrains AI，直接按 OpenAI 或 Anthropic 的 API 价格计费。</p><h2 id="配置教程：三种方式"><a href="#配置教程：三种方式" class="headerlink" title="配置教程：三种方式"></a>配置教程：三种方式</h2><h3 id="前置条件"><a href="#前置条件" class="headerlink" title="前置条件"></a>前置条件</h3><ul><li>JetBrains IDE 版本 2025.3 或更高</li><li>安装最新版 AI Assistant 插件</li></ul><p>先检查一下版本。打开 IDE，<code>Help → About</code>，看看版本号是不是 2025.3+。如果不是，先升级 IDE。</p><p>插件的话，<code>Settings → Plugins → Marketplace</code>，搜索 “AI Assistant”，确保是最新版。</p><p><img src="https://img.996007.icu/file/1769137997164_20260123111314119.png" alt="image-20260123111314030"></p><p><strong>踩坑提醒</strong>：我一开始 AI Assistant 插件是旧版本，打开 AI Chat 之后死活找不到 Codex 选项，只有 Junie 和 Claude Agent。后来去 Plugins 页面手动点了 Update，重启 IDE 之后才出现。所以如果你也找不到 Codex，先检查插件版本。</p><h3 id="方式一：使用-JetBrains-AI-订阅（推荐新手）"><a href="#方式一：使用-JetBrains-AI-订阅（推荐新手）" class="headerlink" title="方式一：使用 JetBrains AI 订阅（推荐新手）"></a>方式一：使用 JetBrains AI 订阅（推荐新手）</h3><p>这是最简单的方式，适合想快速体验的人。</p><ol><li>打开 IDE 右上角的 “JetBrains AI” 图标</li><li>点击 “Let’s Go”</li><li>登录你的 JetBrains 账号</li><li>在 AI Chat 面板的 agent 选择器里选择 “Codex”</li><li>开始对话</li></ol><p>免费版就能用，不需要付费订阅。现在还有限时推广，Codex 功能暂时不消耗 Credits。</p><p><img src="https://img.996007.icu/file/1769138065922_20260123111419139.png" alt="image-20260123111419077"></p><h3 id="方式二：使用-ChatGPT-账号"><a href="#方式二：使用-ChatGPT-账号" class="headerlink" title="方式二：使用 ChatGPT 账号"></a>方式二：使用 ChatGPT 账号</h3><p>如果你有 ChatGPT Plus 订阅，可以直接用它来认证。</p><ol><li>打开 AI Chat 面板</li><li>在 agent 选择器选择 “Codex”</li><li>弹出认证选项时，选择 “Sign in with ChatGPT”</li><li>按提示登录你的 OpenAI 账号</li><li>授权完成后就能用了</li></ol><p>这种方式的好处是不需要额外订阅 JetBrains AI，直接复用你已有的 ChatGPT 订阅。</p><p><img src="https://img.996007.icu/file/1769138012203_20260123111328835.png" alt="image-20260123111328750"></p><h3 id="方式三：使用自己的-API-Key（BYOK）"><a href="#方式三：使用自己的-API-Key（BYOK）" class="headerlink" title="方式三：使用自己的 API Key（BYOK）"></a>方式三：使用自己的 API Key（BYOK）</h3><p>这是最灵活的方式，适合已经在用 OpenAI 或 Anthropic API 的开发者。</p><ol><li>打开 <code>Settings → Tools → AI Assistant → Models &amp; API keys</code></li><li>在 “Third-party AI providers” 部分，选择 Provider（OpenAI &#x2F; Anthropic &#x2F; OpenAI-compatible）</li><li>输入你的 API Key</li><li>点击 “Test Connection” 确认连接成功</li><li>点击 “Apply”</li></ol><p><img src="https://img.996007.icu/file/1769138039800_20260123111359382.png" alt="image-20260123111359293"></p><p>配置完成后，回到 AI Chat，在 agent 选择器里选择 Codex，它会自动使用你配置的 API Key。</p><p>目前 BYOK 支持的 Provider：</p><ul><li>OpenAI</li><li>Anthropic（Claude 系列）</li><li>OpenAI 兼容的 API（比如 LiteLLM）</li><li>Ollama（本地模型）</li><li>LM Studio（本地模型）</li></ul><p>官方说 Google Gemini、Azure、Amazon Bedrock 也快了，但现在还没上。</p><p>一个细节：API Key 存储在你本地机器上，不会发送给 JetBrains。这点对于在意隐私的人来说挺重要的。</p><h2 id="总结"><a href="#总结" class="headerlink" title="总结"></a>总结</h2><p>JetBrains 终于把 Codex 集成进来了，虽然比 VS Code 晚了快一年，但该有的功能都有。三种接入方式覆盖了不同需求：想省事就用 JetBrains AI 订阅，想省钱就用自己的 API Key，已有 ChatGPT 订阅的可以直接复用。</p><p>现在还有限时免费推广，建议趁早体验一下。具体步骤：</p><ol><li>升级 IDE 到 2025.3+</li><li>更新 AI Assistant 插件（这步别忘了）</li><li>打开 AI Chat，选择 Codex</li><li>选一种认证方式，开始用</li></ol>]]></content>
    
    
    <summary type="html">OpenAI Codex 正式集成到 JetBrains IDE，支持三种接入方式，还有限时免费额度。本文详解配置教程和使用体验。</summary>
    
    
    
    <category term="AI工具" scheme="https://www.wangwangit.com/categories/AI%E5%B7%A5%E5%85%B7/"/>
    
    
    <category term="JetBrains" scheme="https://www.wangwangit.com/tags/JetBrains/"/>
    
    <category term="Codex" scheme="https://www.wangwangit.com/tags/Codex/"/>
    
    <category term="AI编程" scheme="https://www.wangwangit.com/tags/AI%E7%BC%96%E7%A8%8B/"/>
    
    <category term="PyCharm" scheme="https://www.wangwangit.com/tags/PyCharm/"/>
    
    <category term="IntelliJ" scheme="https://www.wangwangit.com/tags/IntelliJ/"/>
    
  </entry>
  
  <entry>
    <title>Claude Code 现在能直接做视频了</title>
    <link href="https://www.wangwangit.com/Claude%20Code%20%E7%8E%B0%E5%9C%A8%E8%83%BD%E7%9B%B4%E6%8E%A5%E5%81%9A%E8%A7%86%E9%A2%91%E4%BA%86/"/>
    <id>https://www.wangwangit.com/Claude%20Code%20%E7%8E%B0%E5%9C%A8%E8%83%BD%E7%9B%B4%E6%8E%A5%E5%81%9A%E8%A7%86%E9%A2%91%E4%BA%86/</id>
    <published>2026-01-22T02:23:43.000Z</published>
    <updated>2026-03-08T06:14:12.058Z</updated>
    
    <content type="html"><![CDATA[<p><img src="https://img.996007.icu/file/1769049168584_20260122103240099.jpg" alt="cover"></p><p>Claude Code 现在能做视频了。不是生成脚本让你去剪，是直接输出 MP4。</p><p>Remotion 官方给 Claude Code 做了一个 Skill，装上之后，你用自然语言描述想要什么视频，它就能帮你从零生成一个完整的视频项目，预览、导出一条龙。</p><h2 id="Remotion-是什么"><a href="#Remotion-是什么" class="headerlink" title="Remotion 是什么"></a>Remotion 是什么</h2><p>Remotion 是一个用 React 写视频的框架。每一帧都是 React 组件渲染出来的，所以你可以用代码精确控制画面上的每一个元素。</p><p>动画、转场、数据可视化、文字效果，全都可以用代码写。不用学 Premiere，不用拖时间轴，不用手动对齐关键帧。</p><h2 id="怎么用"><a href="#怎么用" class="headerlink" title="怎么用"></a>怎么用</h2><ol><li>安装 Skill：把 remotion-dev&#x2F;skills(<a href="https://github.com/remotion-dev/skills">https://github.com/remotion-dev/skills</a>) 克隆到本地的 skills 目录</li><li>在 Claude Code 里描述你想要的视频</li><li>Claude 会自动创建 Remotion 项目、写好组件代码</li><li>运行预览，满意就导出 MP4</li></ol><p>整个过程不需要打开任何视频编辑软件。</p><p><img src="https://img.996007.icu/file/1769049190247_20260122103306597.gif" alt="video (2)"></p><h2 id="实际用下来"><a href="#实际用下来" class="headerlink" title="实际用下来"></a>实际用下来</h2><p>生成效果比我预期的好。Claude 对 Remotion 的 API 掌握得挺熟，动画、转场、文字效果这些基本功能都能正确实现，不用我反复调试。</p><p>但有个明显的问题：<strong>生成的视频普遍很短</strong>。大多数情况下就十几秒，想做一个完整的产品介绍视频，得分段生成再自己拼接。这不是 Remotion 的锅，是 AI 生成视频内容的通病——目前大多数 AI 视频工具也就能生成 5-20 秒的片段。</p><p>另外几个注意点：</p><ul><li><strong>需要前端基础</strong>：出了问题你得能看懂报错，知道怎么改组件代码</li><li><strong>渲染需要时间</strong>：导出 MP4 要跑渲染，视频越长越慢</li><li><strong>创意还是得自己想</strong>：AI 能帮你写代码，但”这个视频要讲什么、怎么讲”还是得你定</li></ul><p>总的来说，适合做简短的产品演示、功能介绍、社交媒体素材。想做长视频的话，目前还是得当成一个辅助工具。</p><h2 id="适合谁"><a href="#适合谁" class="headerlink" title="适合谁"></a>适合谁</h2><ul><li><strong>程序员</strong>：想给自己的开源项目做个演示视频，但不想学剪辑</li><li><strong>独立开发者</strong>：产品上线前需要一段宣传片</li><li><strong>内容创作者</strong>：想批量生成格式统一的短视频</li></ul><p>核心前提是你得会点前端，至少能看懂 React 代码。完全不懂代码的话，这个工具门槛还是有的。</p><h2 id="链接"><a href="#链接" class="headerlink" title="链接"></a>链接</h2><ul><li>GitHub: <a href="https://github.com/remotion-dev/skills">remotion-dev&#x2F;skills</a></li><li>Remotion 官网: <a href="https://remotion.dev/">remotion.dev</a></li></ul>]]></content>
    
    
    <summary type="html">Remotion 官方给 Claude Code 做了一个 Skill，装上后用自然语言描述视频需求，就能直接生成 MP4。</summary>
    
    
    
    <category term="AI工具" scheme="https://www.wangwangit.com/categories/AI%E5%B7%A5%E5%85%B7/"/>
    
    
    <category term="AI工具" scheme="https://www.wangwangit.com/tags/AI%E5%B7%A5%E5%85%B7/"/>
    
    <category term="Claude Code" scheme="https://www.wangwangit.com/tags/Claude-Code/"/>
    
    <category term="Remotion" scheme="https://www.wangwangit.com/tags/Remotion/"/>
    
    <category term="视频制作" scheme="https://www.wangwangit.com/tags/%E8%A7%86%E9%A2%91%E5%88%B6%E4%BD%9C/"/>
    
  </entry>
  
  <entry>
    <title>被 Claude 封了 N 次后，我想聊聊 AI 时代的「数字难民」</title>
    <link href="https://www.wangwangit.com/%E8%A2%ABClaude%E5%B0%81%E4%BA%86N%E6%AC%A1%E5%90%8E%E6%88%91%E6%83%B3%E8%81%8A%E8%81%8AAI%E6%97%B6%E4%BB%A3%E7%9A%84%E6%95%B0%E5%AD%97%E9%9A%BE%E6%B0%91/"/>
    <id>https://www.wangwangit.com/%E8%A2%ABClaude%E5%B0%81%E4%BA%86N%E6%AC%A1%E5%90%8E%E6%88%91%E6%83%B3%E8%81%8A%E8%81%8AAI%E6%97%B6%E4%BB%A3%E7%9A%84%E6%95%B0%E5%AD%97%E9%9A%BE%E6%B0%91/</id>
    <published>2026-01-21T05:30:00.000Z</published>
    <updated>2026-03-08T06:14:12.074Z</updated>
    
    <content type="html"><![CDATA[<p><img src="https://img.996007.icu/file/1768973171317_20260121132602193.jpg" alt="cover"></p><p>这两年用Claude的，我想大部分人应该都被封过号了。</p><p>我最近一次是前几个月。那天晚上我正用 Claude Code 调一个复杂的 bug，终端突然弹出一行红字：账号访问受限。我愣了几秒，然后熟练地打开邮箱——果然，Anthropic 的”安全通知”已经躺在那了。</p><p>说实话，我已经麻木了。</p><p>但这次不太一样。因为我今天看到一则新闻，Anthropic 的 CEO 达里奥·阿莫代伊在达沃斯论坛上说了句话，让我这个麻木的老用户也忍不住想写点什么。</p><p>他说：<strong>向中国出口 AI 芯片，就像把核武器卖给朝鲜。</strong></p><h2 id="我和-Claude-的故事"><a href="#我和-Claude-的故事" class="headerlink" title="我和 Claude 的故事"></a>我和 Claude 的故事</h2><p>我第一次用 Claude 是 2024 年初。那会儿 GPT-4 是绝对的顶流，Claude 还只是个”备选”。但用了几次之后，我就被它的推理能力和代码生成质量圈粉了。</p><p>说真的，在 AI 编程这件事上，Claude 确实强。不是那种”还行吧”的强，是”用完回不去”的那种强。</p><p>后来的事情大家都知道了。Claude 不仅模型越做越好，还引领了好几波技术潮流：</p><p><strong>2024 年 11 月</strong>，Anthropic 推出了 MCP（Model Context Protocol）。这个协议让 AI 能够连接各种外部工具和数据源，一下子打开了 AI 应用的想象空间。我当时兴奋得不行，连夜写了好几个 MCP Server，把 Claude 接入了我的各种工作流。那段时间，朋友圈全是 MCP 相关的分享，整个开发者社区都在讨论这玩意儿。</p><p><strong>2025 年初</strong>，Claude Code 横空出世。一个能直接在终端里帮你写代码、改 bug、跑测试的 AI 编程助手。我用它重构了好几个项目，效率提升不是一点半点。以前要折腾一下午的事情，现在可能半小时就搞定了。</p><p><strong>2025 年下半年</strong>，Skills 系统上线。你可以给 Claude 定义各种”技能”，让它变成专业的写作助手、代码审查员、数据分析师……我的 Claude 现在装了几十个 Skill，基本上成了我的数字分身。</p><p>每一次，Claude 都在引领潮流。每一次，我都跟着跑。</p><p>但与此同时，我也在经历另一条时间线。</p><p><img src="https://img.996007.icu/file/1768972813840_20260121132009681.jpg" alt="claude-tech-timeline"></p><h2 id="Anthropic-到底怎么了"><a href="#Anthropic-到底怎么了" class="headerlink" title="Anthropic 到底怎么了"></a>Anthropic 到底怎么了</h2><p>一开始，我以为封号只是风控误伤。毕竟我们用着各种网络工具，IP 飘忽不定，被系统标记也能理解。</p><p>但当我结合最新的这一则新闻,以及以前的一些新闻进行查看!我才意识到这不是误伤，是策略。</p><p>2025 年 9 月，Anthropic 更新了服务条款~</p><p>新条款明确禁止<strong>超过 50% 股权由中国资本持有的公司</strong>使用 Claude。不管你公司注册在哪里，不管你人在新加坡还是硅谷，只要你的股东结构和中国有关，一律封禁。</p><p>这意味着什么？</p><p>意味着字节跳动的 Trae 要下架 Claude。<br>意味着腾讯的 CodeBuddy 要下架 Claude。<br>意味着无数中国背景的创业公司，即使在海外运营，也被一刀切了。</p><p>更有意思的是时间点。9 月 3 日，Anthropic 刚完成 130 亿美元融资，估值飙到 1830 亿美元。两天后，9 月 5 日，就发布了这个禁令。有人说这是”站队”，有人说这是投资方施压，有人说这是地缘政治的必然。</p><p>真正的原因是什么，我不知道。我只知道，那个我用来写代码、做项目、提升效率的工具，从一开始就没打算让我用。</p><p><img src="https://img.996007.icu/file/1768973125842_20260121132516612.jpg" alt="anthropic-policy-timeline"></p><h2 id="「核武器」言论"><a href="#「核武器」言论" class="headerlink" title="「核武器」言论"></a>「核武器」言论</h2><p>然后就是达沃斯。</p><p>2026 年 1 月 20 日，阿莫代伊接受彭博社采访。记者问他怎么看特朗普政府允许英伟达 H200 芯片出口中国。</p><p>他的回答是：「这是个巨大的错误。对国家安全有无法估量的影响。这就像把核武器卖给朝鲜一样疯狂。」</p><p>核武器。朝鲜。</p><p>我反复看了好几遍，确认这话是 Anthropic CEO 说的，不是某个极端政客。</p><p>更讽刺的是，阿莫代伊 2014-2015 年在百度工作过。是的，那个中国的百度。</p><p>一个曾经在中国公司工作的人，现在把中国比作朝鲜，把正常的商业交易比作核扩散。这操作，我是真没看懂。</p><p>我不想过度解读什么政治立场。但作为一个普通的中国开发者，听到这种话，心里确实不是滋味。</p><p>我用你的产品，付你的钱，帮你的技术在中文社区传播，结果在你眼里，我和我的国家是”核武器威胁”？</p><p><img src="https://img.996007.icu/file/1768973089675_20260121132437675.png" alt="image-20260121132437626"></p><h2 id="一些真诚的想法"><a href="#一些真诚的想法" class="headerlink" title="一些真诚的想法"></a>一些真诚的想法</h2><p>写到这里，我不想把这篇文章变成一篇控诉或者愤怒宣泄。</p><p>说实话，Claude 是真的强。MCP 的设计是真的优雅。Claude Code 是真的好用。这些东西，我打心底里觉得牛。</p><p>但技术和政治，从来就没法完全分开。</p><p>在硅谷的叙事里，中国是威胁，是对手，是需要遏制的对象。这种思维正在渗透到越来越多的技术产品里。Claude 不是第一个，也不会是最后一个。</p><p>作为中国开发者，我们能做什么？</p><p><strong>第一，认清现实。</strong> 全球化的 AI 时代，也是割裂的 AI 时代。别人的基础设施，随时可能把你踢出去。这不是被害妄想，是正在发生的事情。</p><p><strong>第二，试试国产替代。</strong> 这两年国产大模型进步真的挺快。DeepSeek、Kimi、通义千问、智谱 GLM……虽然某些方面还有差距，但已经能用了，而且不用整天担心被封。这种安全感，用过才知道有多重要。</p><p><strong>第三，别停下来。</strong> 不管用什么工具，核心能力还是自己的。AI 是辅助，不是替代。被封了一个，换一个继续干。工具会变，但写代码的手艺不会丢。</p><p><strong>第四，期待未来。</strong> 我真心希望中国能出一个像 Claude 这样的产品。不只是模型能力强，更是能引领技术潮流。MCP 这样的协议，Skills 这样的系统，为什么不能是中国公司先做出来？</p><p>我们有最大的开发者群体，有最丰富的应用场景，有最拼的工程师。缺的可能只是时间，和一点点自信。</p><h2 id="最后"><a href="#最后" class="headerlink" title="最后"></a>最后</h2><p>我不知道 Claude 会不会有一天对中国用户”解封”。大概率不会。</p><p>我也不知道下次登录的时候，会不会又收到那封熟悉的封禁邮件。</p><p>但这些都不重要了。</p><p>AI 时代的列车已经开动，不会因为某个公司的政策就停下来。我们可能暂时当了「数字难民」，但难民也有自己的路要走。</p><p>也许多年以后回头看，今天的这些封禁、这些言论，都只是历史长河里的小浪花。重要的是，我们在这个时代没有停下脚步。</p><p>这篇文章写得比较长，也比较个人。</p><p>我很想知道，你是否也有类似的经历？你怎么看 Anthropic 的这些做法？你有没有发现好用的替代品？</p><p>欢迎在评论区聊聊。你的封号故事、你的吐槽、你的建议，我都想听。</p><p>毕竟，这条路上，我们不是一个人。</p>]]></content>
    
    
    <summary type="html">用了两年 Claude，被封了五次。从 MCP 到 Claude Code 再到 Skills，我见证了它引领的每一波潮流。但 Anthropic CEO 那句&quot;核武器&quot;言论，让我这个老用户忍不住想写点什么。</summary>
    
    
    
    <category term="AI工具" scheme="https://www.wangwangit.com/categories/AI%E5%B7%A5%E5%85%B7/"/>
    
    
    <category term="AI" scheme="https://www.wangwangit.com/tags/AI/"/>
    
    <category term="Claude" scheme="https://www.wangwangit.com/tags/Claude/"/>
    
    <category term="Anthropic" scheme="https://www.wangwangit.com/tags/Anthropic/"/>
    
    <category term="中国开发者" scheme="https://www.wangwangit.com/tags/%E4%B8%AD%E5%9B%BD%E5%BC%80%E5%8F%91%E8%80%85/"/>
    
    <category term="封号" scheme="https://www.wangwangit.com/tags/%E5%B0%81%E5%8F%B7/"/>
    
  </entry>
  
  <entry>
    <title>从 NVIDIA NIM 到 CLIProxyAPI：第三方 API 接入 Claude Code 完整指南</title>
    <link href="https://www.wangwangit.com/cliproxyapi-claude-code-guide/"/>
    <id>https://www.wangwangit.com/cliproxyapi-claude-code-guide/</id>
    <published>2026-01-19T02:30:00.000Z</published>
    <updated>2026-03-08T06:14:12.066Z</updated>
    
    <content type="html"><![CDATA[<p><img src="https://img.996007.icu/file/1768792695810_20260119111810370.jpg" alt="cover"></p><p>上周写了篇 NVIDIA NIM 免费 API 的文章，评论区炸了。</p><p>不是夸我写得好，是一堆人在问：「为什么按你的教程配置，Claude Code 还是连不上？」「环境变量设了，报错说格式不对？」「我用的 DeepSeek API，怎么配都不行？」</p><p>我一开始以为是他们手抖打错了，结果自己试了几个其他 API 才发现——还真不是他们的问题。</p><h2 id="先说结论：不是所有-API-都能直接接入-Claude-Code"><a href="#先说结论：不是所有-API-都能直接接入-Claude-Code" class="headerlink" title="先说结论：不是所有 API 都能直接接入 Claude Code"></a>先说结论：不是所有 API 都能直接接入 Claude Code</h2><p>上篇文章里介绍的 NVIDIA NIM 之所以能直接用，是因为它恰好支持 OpenAI 兼容格式，而 Claude Code 的第三方模型接入功能正好也是走 OpenAI 兼容协议。</p><p>但问题来了：市面上大部分 API 服务，要么只提供 OpenAI 格式（和 Claude Code 原生格式不兼容），要么提供的是各家自己的私有格式。</p><p>这就像你拿着一个 Type-C 接口的充电器，想给一个 Lightning 接口的手机充电——接口对不上，再好的充电器也没用。</p><p>所以当你拿着一个 OpenAI 兼容的 API（比如 DeepSeek、智谱 GLM、通义千问），想直接接入 Claude Code 时，Claude Code 会用 Anthropic 格式去请求，对面 API 完全听不懂，自然就报错了。</p><p>这就是为什么你配置了半天，Claude Code 死活连不上的原因。不是你的问题，是协议不通。</p><p><img src="https://img.996007.icu/file/1768792745108_20260119111858421.jpg" alt="protocol-comparison"></p><h2 id="CLIProxyAPI：API-世界的「万能转接头」"><a href="#CLIProxyAPI：API-世界的「万能转接头」" class="headerlink" title="CLIProxyAPI：API 世界的「万能转接头」"></a>CLIProxyAPI：API 世界的「万能转接头」</h2><p>这时候就需要一个「翻译器」——CLIProxyAPI。</p><p>它的原理很简单：在你的本地起一个代理服务，接收 Claude Code 发来的 Anthropic 格式请求，翻译成 OpenAI 格式，转发给第三方 API；然后把第三方 API 返回的 OpenAI 格式响应，再翻译成 Anthropic 格式，返回给 Claude Code。</p><figure class="highlight plaintext"><table><tr><td class="code"><pre><span class="line">Claude Code  ──(Anthropic格式)──&gt;  CLIProxyAPI  ──(OpenAI格式)──&gt;  第三方API</span><br><span class="line">     &lt;──(Anthropic格式)──  CLIProxyAPI  &lt;──(OpenAI格式)──</span><br></pre></td></tr></table></figure><p>有了这个转接头，理论上任何 OpenAI 兼容的 API 都能接入 Claude Code 了。DeepSeek、智谱 GLM、通义千问、火山引擎、硅基流动……统统能用。</p><p><img src="https://img.996007.icu/file/1768792717316_20260119111829043.jpg" alt="architecture-flowchart"></p><h2 id="安装-CLIProxyAPI"><a href="#安装-CLIProxyAPI" class="headerlink" title="安装 CLIProxyAPI"></a>安装 CLIProxyAPI</h2><p>CLIProxyAPI 支持多种安装方式，这块官方文档都有详细的教程,我就不再讲解了!</p><p><img src="https://img.996007.icu/file/1768792735730_20260119111846432.jpg" alt="platform-decision"></p><blockquote><p><a href="https://help.router-for.me/cn/introduction/quick-start.html">https://help.router-for.me/cn/introduction/quick-start.html</a></p></blockquote><p>我这里是用docker安装的方式,安装之后访问服务的管理页面!一般是 ip:8317 进行访问!</p><p><img src="https://img.996007.icu/file/1768792032458_20260119110707510.png" alt="image-20260119110707402"></p><h3 id="配置API-提供商"><a href="#配置API-提供商" class="headerlink" title="配置API 提供商"></a>配置API 提供商</h3><p>选择OpenAI兼容提供商,配置Nvidia的url和自己的密钥key! </p><blockquote><p>注意,我这里加了一个前缀配置,主要是方便与其他渠道区分!这样你在claude code中配置模型时,就应该是下图红框中的名称!</p></blockquote><p><img src="https://img.996007.icu/file/1768792856898_20260119112051287.png" alt="image-20260119112051236"></p><p><img src="https://img.996007.icu/file/1768792875142_20260119112105407.png" alt="image-20260119112105355"></p><h3 id="配置环境变量"><a href="#配置环境变量" class="headerlink" title="配置环境变量"></a>配置环境变量</h3><p>我这里还是以WSL中的ubuntu环境为例,配置环境变量的位置在&#x2F;root&#x2F;.bashrc 文件中!示例如图所示!</p><p>这里面的ANTHROPIC_AUTH_TOKEN的值,是CliProxy中创建的API密钥! BASE_URL 就是你CliProxy服务的IP和端口! 注意,修改完了配置之后,要刷新这份文件,让配置生效</p><blockquote><p>source ~&#x2F;.bashrc</p></blockquote><p><img src="https://img.996007.icu/file/1768792334549_20260119111202676.png" alt="image-20260119111202634"></p><p><img src="https://img.996007.icu/file/1768792842928_20260119112038100.png" alt="image-20260119112038051"></p><p><img src="https://img.996007.icu/file/1768792448912_20260119111359865.png" alt="image-20260119111359818"></p><p>由于我已经将基础模型改成GLM4.7了,当我启动claude的时候,你就会发现我切换到claude HAIKU时,会显示GLM4.7的名称!</p><p><img src="https://img.996007.icu/file/1768792542776_20260119111536194.png" alt="image-20260119111536150"></p><h2 id="最后"><a href="#最后" class="headerlink" title="最后"></a>最后</h2><p>实际上这些开源项目的官方文档都写的比较清晰,可能就是需要多折腾一下! 另外就是这些项目可能会存在某些问题,可以先到对应项目的github仓库的issues里面搜一搜,一般都会有解决方案的!</p>]]></content>
    
    
    <summary type="html">上篇 NVIDIA NIM 文章发出后，很多人问为什么其他 API 接不进 Claude Code。本文详细解释 OpenAI 格式和 Anthropic 格式的区别，并手把手教你用 CLIProxyAPI 实现协议转换，Windows 和 WSL 双环境配置全覆盖。</summary>
    
    
    
    <category term="AI工具" scheme="https://www.wangwangit.com/categories/AI%E5%B7%A5%E5%85%B7/"/>
    
    
    <category term="Windows" scheme="https://www.wangwangit.com/tags/Windows/"/>
    
    <category term="Claude Code" scheme="https://www.wangwangit.com/tags/Claude-Code/"/>
    
    <category term="WSL" scheme="https://www.wangwangit.com/tags/WSL/"/>
    
    <category term="CLIProxyAPI" scheme="https://www.wangwangit.com/tags/CLIProxyAPI/"/>
    
    <category term="API 代理" scheme="https://www.wangwangit.com/tags/API-%E4%BB%A3%E7%90%86/"/>
    
  </entry>
  
  <entry>
    <title>终于不用担心 MCP 吃掉一半上下文了</title>
    <link href="https://www.wangwangit.com/%E7%BB%88%E4%BA%8E%E4%B8%8D%E7%94%A8%E6%8B%85%E5%BF%83MCP%E5%90%83%E6%8E%89%E4%B8%80%E5%8D%8A%E4%B8%8A%E4%B8%8B%E6%96%87%E4%BA%86/"/>
    <id>https://www.wangwangit.com/%E7%BB%88%E4%BA%8E%E4%B8%8D%E7%94%A8%E6%8B%85%E5%BF%83MCP%E5%90%83%E6%8E%89%E4%B8%80%E5%8D%8A%E4%B8%8A%E4%B8%8B%E6%96%87%E4%BA%86/</id>
    <published>2026-01-17T01:00:00.000Z</published>
    <updated>2026-03-08T06:14:12.074Z</updated>
    
    <content type="html"><![CDATA[<p><img src="https://img.996007.icu/file/1768613557297_20260117093224807.png" alt="7dt8e89mhldg1"></p><p>用 Claude Code 连了 7、8 个 MCP 服务，还没开始干活，上下文就没了一半。这个问题困扰我好几个月了。</p><p>之前我的配置是这样的：Playwright 做浏览器自动化、GitHub 管理仓库、Exa 搜索、Context7 查文档，再加上 Notion 和一些数据库工具。每次启动 Claude Code，<code>/context</code> 一看，67000+ tokens 直接被工具定义吃掉了。</p><p>我们总共才 200K 上下文窗口，系统提示和对话历史还要占一部分。MCP 工具定义再来这么一刀，用 Opus 模型的时候，对话 10-15 分钟就得 compact 一次。说实话，挺崩溃的。</p><p><img src="https://img.996007.icu/file/1768613189425_20260117092623761.png" alt="image-20260117092616619"></p><h2 id="之前的各种骚操作"><a href="#之前的各种骚操作" class="headerlink" title="之前的各种骚操作"></a>之前的各种骚操作</h2><p>为了解决这个问题，我试过不少方法。</p><p>code execution wrapper 包一层，把工具定义藏起来。有用，但工具发现会出问题，有时候 Claude 根本不知道有这个工具可以用。</p><p>写 skills 做 lazy loading，用到的时候再加载。能用，但增加了延迟，而且维护成本不低。</p><p>搞 universal MCP config，统一管理工具定义。治标不治本，该占的上下文还是占。</p><p>这些方案都有各自的问题，没有一个让我觉得”这就是正确答案”。</p><h2 id="官方终于出手了"><a href="#官方终于出手了" class="headerlink" title="官方终于出手了"></a>官方终于出手了</h2><p>上周 Claude Code 更新到 2.1.7，带来了 Tool Search 功能。</p><p>原理很简单：不再启动时预加载所有工具定义，改成按需搜索加载。</p><p>具体是这么工作的：</p><p><strong>阈值检测</strong>：如果你的 MCP 工具定义超过上下文的 10%，Tool Search 自动激活。</p><p><strong>语义搜索</strong>：当你需要用某个工具时，Claude 通过关键词搜索找到对应的工具定义，只加载这一个。</p><p><strong>按需加载</strong>：工具只在使用时才消耗上下文。切换任务，上下文也跟着切换，不会有无关工具的定义堆在那里。</p><p>效果立竿见影：</p><ul><li>之前：MCP 工具定义占用 20-50% 上下文</li><li>现在：按需加载，不用的时候基本是 0%</li></ul><p>Simon Willison 说得好：”context pollution is why I rarely used MCP, now there’s no reason not to hook up dozens or hundreds of MCPs.”（上下文污染是我很少用 MCP 的原因，现在没理由不连几十上百个 MCP 了。）</p><p><img src="https://img.996007.icu/file/1768613423228_20260117093016349.png" alt="image-20260117093016304"></p><h2 id="怎么启用"><a href="#怎么启用" class="headerlink" title="怎么启用"></a>怎么启用</h2><p>这个功能还在灰度发布，不是所有人都默认开启了。如果你升级到最新版还是老样子，手动启用一下：</p><figure class="highlight bash"><table><tr><td class="code"><pre><span class="line"><span class="built_in">export</span> ENABLE_TOOL_SEARCH=<span class="literal">true</span></span><br><span class="line">claude</span><br></pre></td></tr></table></figure><p>或者写进你的 shell 配置文件（<code>.zshrc</code> 或 <code>.bashrc</code>）：</p><figure class="highlight bash"><table><tr><td class="code"><pre><span class="line"><span class="built_in">echo</span> <span class="string">&#x27;export ENABLE_TOOL_SEARCH=true&#x27;</span> &gt;&gt; ~/.zshrc</span><br><span class="line"><span class="built_in">source</span> ~/.zshrc</span><br></pre></td></tr></table></figure><p>启动 Claude Code 后，输入 <code>/context</code> 检查一下。如果 MCP tools 那行显示的是 “loaded on-demand” 而不是具体的 token 数量，就说明生效了。</p><p><img src="https://img.996007.icu/file/1768613235966_20260117092711818.png" alt="image-20260117092711735"></p><p><strong>注意:</strong></p><p>假如你是中转的API, 使用&#x2F;context可能看不到正常的token统计! 只需要开启这个配置就行,然后你使用mcp时,就会像下图一样显示搜索mcp使用!</p><p><img src="https://img.996007.icu/file/1768613491968_20260117093126120.png" alt="image-20260117093126074"></p><p><img src="https://img.996007.icu/file/1768613423228_20260117093016349.png" alt="image-20260117093016304"></p><h2 id="现在可以放开用了"><a href="#现在可以放开用了" class="headerlink" title="现在可以放开用了"></a>现在可以放开用了</h2><p>以前我开 MCP 服务都要精打细算，超过 4 个就开始焦虑上下文不够用。现在这个顾虑没了。</p><p>Notion、Linear、Vercel、各种数据库工具，想连就连。反正不用的时候不占上下文，用的时候才加载那一个工具的定义。</p><p>这才是 MCP 该有的样子。工具是为我服务的，不是来抢我上下文的。</p><p>如果你也被 MCP 上下文问题困扰过，现在是时候把那些一直想用但没敢开的 MCP 服务都加上了。</p>]]></content>
    
    
    <summary type="html">Claude Code 终于解决了 MCP 工具占用大量上下文的问题，Tool Search 功能让工具按需加载，再也不用精打细算开几个 MCP 服务了。</summary>
    
    
    
    <category term="AI工具" scheme="https://www.wangwangit.com/categories/AI%E5%B7%A5%E5%85%B7/"/>
    
    
    <category term="MCP" scheme="https://www.wangwangit.com/tags/MCP/"/>
    
    <category term="AI工具" scheme="https://www.wangwangit.com/tags/AI%E5%B7%A5%E5%85%B7/"/>
    
    <category term="Claude Code" scheme="https://www.wangwangit.com/tags/Claude-Code/"/>
    
  </entry>
  
  <entry>
    <title>免费无限调用！ GLM-4.7 + MiniMax M2.1 API，国内直连零门槛Claude Code 配置教程</title>
    <link href="https://www.wangwangit.com/nvidia-nim-free-glm-minimax/"/>
    <id>https://www.wangwangit.com/nvidia-nim-free-glm-minimax/</id>
    <published>2026-01-15T12:45:00.000Z</published>
    <updated>2026-03-08T06:14:12.066Z</updated>
    
    <content type="html"><![CDATA[<img src="https://img.996007.icu/file/1768520003757_20260116073311009.png" alt="Snipaste_2026-01-16_07-32-48" style="zoom:200%;" /><p>昨晚刷个好东西：NVIDIA NIM 居然把 GLM-4.7 和 MiniMax M2.1 都加进去了，而且是免费的。</p><p>我第一反应是不信。毕竟这两个模型刚发布没多久，GLM-4.7 在编程圈子里已经被吹上天了，MiniMax M2.1 更是号称多语言编程能力吊打一众闭源模型。这么好的东西，NVIDIA 说送就送？</p><p>试了一下，还真能用。那这就可以成为Claude和GPT模型的国内替代品啦!</p><h2 id="先说结论"><a href="#先说结论" class="headerlink" title="先说结论"></a>先说结论</h2><p>NVIDIA NIM 现在免费提供这两个模型的 API 调用：</p><table><thead><tr><th>模型</th><th>模型名称</th><th>特点</th></tr></thead><tbody><tr><td>GLM-4.7</td><td><code>z-ai/glm4.7</code></td><td>智谱最新旗舰，编程能力炸裂，前端审美在线</td></tr><tr><td>MiniMax M2.1</td><td><code>minimaxai/minimax-m2.1</code></td><td>多语言编程王者，Agent 任务稳如老狗</td></tr></tbody></table><p>API 地址统一是：<code>https://integrate.api.nvidia.com/v1</code></p><p>不过有个小问题：这两个模型目前还没在官方模型广场页面列出来，但 API 实测已经可以调用了。估计是刚上线，资源还比较紧张。</p><h2 id="怎么获取-API-Key？"><a href="#怎么获取-API-Key？" class="headerlink" title="怎么获取 API Key？"></a>怎么获取 API Key？</h2><p>这是最简单的一步：</p><ol><li>打开 <a href="https://build.nvidia.com/">build.nvidia.com</a></li><li>注册&#x2F;登录 NVIDIA 账号</li><li>进入 Settings → API Keys</li><li>点击生成新的 API Key</li></ol><p>搞定。新用户还会送一些免费额度，日常开发测试绰绰有余。</p><p><img src="https://img.996007.icu/file/1768520189793_20260116073624586.png" alt="image-20260116073624475"></p><h2 id="在-Cherry-Studio-中配置"><a href="#在-Cherry-Studio-中配置" class="headerlink" title="在 Cherry Studio 中配置"></a>在 Cherry Studio 中配置</h2><p>Cherry Studio 支持添加自定义服务商，配置起来很简单。</p><h3 id="步骤-1：添加自定义服务商"><a href="#步骤-1：添加自定义服务商" class="headerlink" title="步骤 1：添加自定义服务商"></a>步骤 1：添加自定义服务商</h3><ol><li>打开 Cherry Studio，点击左侧「设置」（齿轮图标）</li><li>选择「模型服务」选项卡</li><li>点击「+ 添加」按钮</li><li>填写信息：<ul><li><strong>提供商类型</strong>：选择 英伟达</li></ul></li></ol><h3 id="步骤-2：配置-API"><a href="#步骤-2：配置-API" class="headerlink" title="步骤 2：配置 API"></a>步骤 2：配置 API</h3><p>找到刚添加的服务商，配置以下信息：</p><ul><li><strong>API 密钥</strong>：填入你在 NVIDIA 获取的 API Key</li></ul><h3 id="步骤-3：添加模型"><a href="#步骤-3：添加模型" class="headerlink" title="步骤 3：添加模型"></a>步骤 3：添加模型</h3><p>点击「管理」按钮，手动添加这两个模型：</p><figure class="highlight plaintext"><table><tr><td class="code"><pre><span class="line">z-ai/glm4.7</span><br><span class="line">minimaxai/minimax-m2.1</span><br></pre></td></tr></table></figure><p>打开右上角的启用开关，就可以在对话中选择这两个模型了。</p><p><img src="https://img.996007.icu/file/1768520340277_20260116073851135.png" alt="image-20260116073851058"></p><p><img src="https://img.996007.icu/file/1768520981101_20260116074937103.png" alt="image-20260116074937032"></p><h2 id="在-Claude-Code-中配置"><a href="#在-Claude-Code-中配置" class="headerlink" title="在 Claude Code 中配置"></a>在 Claude Code 中配置</h2><p>Claude Code 默认用的是 Anthropic 官方 API，但它支持 OpenAI 兼容接口，所以可以配置第三方模型。</p><blockquote><p>踩坑提醒：NVIDIA NIM 的接口是 OpenAI 兼容格式，不是 Anthropic 格式。别填错环境变量名了，我第一次就搞混了，折腾了半小时才发现。<br>这里推荐使用一些开源项目集中配置API,方便小白,比如Claude Code  Switch 或者 Claude Code Router(<a href="https://github.com/musistudio/claude-code-router">https://github.com/musistudio/claude-code-router</a>) ,我前几天的文章还分享过其他的,可以去看一看!</p></blockquote><p>我这里用的是<strong>CLIProxyAPI</strong> ,只需要在AI提供商里面配置OpenAI兼容提供商,即可使用!</p><blockquote><p>直接将官方地址配置到Claude Code我还没试过,不知道能不能行,因为我主用Claude模型,有兴趣的可以尝试下!</p></blockquote><p><img src="https://img.996007.icu/file/1768520654424_20260116074411277.png" alt="image-20260116074411172"></p><p>我用的是WSL环境,然后编辑环境变量文件(\root.bashrc)就可以使用了. 其他环境可以问下AI如何修改!</p><p><img src="https://img.996007.icu/file/1768520772583_20260116074605863.png" alt="image-20260116074605820"></p><p>配置稍微复杂一点，但对于需要稳定性和成本控制的场景很有用。</p><p><img src="https://img.996007.icu/file/1768520935955_20260116074844380.png" alt="image-20260116074844323"></p><h2 id="需要飞机吗？"><a href="#需要飞机吗？" class="headerlink" title="需要飞机吗？"></a>需要飞机吗？</h2><p><strong>不需要</strong>。</p><p>NVIDIA NIM 的 API 地址 <code>integrate.api.nvidia.com</code> 在国内可以直接访问!</p><p>这可能是目前最省心的免费 API 选择了——不用折腾网络环境，不用担心封号，直接干就完了。</p><h2 id="我的使用建议"><a href="#我的使用建议" class="headerlink" title="我的使用建议"></a>我的使用建议</h2><p>试用了两天，说说我的体会：</p><p><strong>适合用 GLM-4.7 的场景：</strong></p><ul><li>前端开发，尤其是需要好看 UI 的</li><li>一次性交付的编程任务</li><li>需要深度思考的复杂问题</li></ul><p><strong>适合用 MiniMax M2.1 的场景：</strong></p><ul><li>多语言项目（Java、Go、Rust 这些）</li><li>需要长时间运行的 Agent 任务</li><li>对响应速度有要求的场景</li></ul><p><strong>不太适合的场景：</strong></p><ul><li>需要图片输入的任务（GLM-4.7 不支持）</li><li>对延迟极度敏感的实时应用（毕竟是免费的，资源紧张时会变慢）</li></ul><h2 id="最后"><a href="#最后" class="headerlink" title="最后"></a>最后</h2><p>NVIDIA 这波操作挺有意思的。把国产顶流模型免费开放出来，既是给开发者发福利，也是在推广自家的 NIM 生态。</p><p>对于普通用户来说，这就是个白嫖的好机会。GLM-4.7 和 MiniMax M2.1 都是刚发布的新模型，能力确实能打。趁着现在资源还没被挤爆，赶紧去试试。</p><p>至于能免费多久，谁也说不准。反正先用着再说。</p>]]></content>
    
    
    <summary type="html">NVIDIA NIM 悄悄上线了 GLM-4.7 和 MiniMax M2.1 两款国产顶流模型的免费 API，本文手把手教你如何在 Cherry Studio 和 Claude Code 中配置使用。</summary>
    
    
    
    <category term="AI工具" scheme="https://www.wangwangit.com/categories/AI%E5%B7%A5%E5%85%B7/"/>
    
    
    <category term="Claude Code" scheme="https://www.wangwangit.com/tags/Claude-Code/"/>
    
    <category term="NVIDIA NIM" scheme="https://www.wangwangit.com/tags/NVIDIA-NIM/"/>
    
    <category term="GLM-4.7" scheme="https://www.wangwangit.com/tags/GLM-4-7/"/>
    
    <category term="MiniMax M2.1" scheme="https://www.wangwangit.com/tags/MiniMax-M2-1/"/>
    
    <category term="AI API" scheme="https://www.wangwangit.com/tags/AI-API/"/>
    
    <category term="Cherry Studio" scheme="https://www.wangwangit.com/tags/Cherry-Studio/"/>
    
  </entry>
  
  <entry>
    <title>Claude Code skills库盘点：5 个最值得收藏的开源仓库</title>
    <link href="https://www.wangwangit.com/Claude-Code-%E6%8A%80%E8%83%BD%E5%BA%93%E7%9B%98%E7%82%B9/"/>
    <id>https://www.wangwangit.com/Claude-Code-%E6%8A%80%E8%83%BD%E5%BA%93%E7%9B%98%E7%82%B9/</id>
    <published>2026-01-15T01:30:00.000Z</published>
    <updated>2026-03-08T06:14:12.058Z</updated>
    
    <content type="html"><![CDATA[<p><img src="https://img.996007.icu/file/1768522663716_20260116081733472.png" alt="cover"></p><p>用 Claude Code 写代码，原生能力已经很强了。但想让它更专业、更懂特定领域，Skills 是个好东西。</p><p>简单说，Skills 就是一组预设的指令和资源包，装上之后 Claude 在特定任务上表现更好。写测试、调 bug、处理文档，都有现成的 skill 可以用。</p><p>问题来了：去哪找好用的 skills？</p><p>我整理了目前 GitHub 上最热门的 5 个 skills 相关仓库，按 stars 数排序，直接收藏就行。</p><hr><h2 id="1-anthropics-skills（官方出品）"><a href="#1-anthropics-skills（官方出品）" class="headerlink" title="1. anthropics&#x2F;skills（官方出品）"></a>1. anthropics&#x2F;skills（官方出品）</h2><p><strong>⭐ 40.6k stars</strong> | (<a href="https://github.com/anthropics/skills">https://github.com/anthropics/skills</a>)</p><p>官方仓库，质量最稳定。里面有大量高质量示例技能：文档处理、web artifacts、MCP builder 等等。</p><p>第一次接触 skills，从这里开始准没错。官方出品，持续更新，不用担心兼容性问题。</p><hr><h2 id="2-obra-superpowers（社区神器）"><a href="#2-obra-superpowers（社区神器）" class="headerlink" title="2. obra&#x2F;superpowers（社区神器）"></a>2. obra&#x2F;superpowers（社区神器）</h2><p><strong>⭐ 22.1k stars</strong> | (<a href="https://github.com/obra/superpowers">https://github.com/obra/superpowers</a>)</p><p>社区公认最强的技能库之一。内置 20+ 实战技能，TDD、debug、协作模式都有。</p><p>这个仓库的特点是技能设计得很实用，不是那种”看起来很厉害但用不上”的类型。装上之后日常开发确实能省不少事。</p><hr><h2 id="3-ComposioHQ-awesome-claude-skills（资源合集）"><a href="#3-ComposioHQ-awesome-claude-skills（资源合集）" class="headerlink" title="3. ComposioHQ&#x2F;awesome-claude-skills（资源合集）"></a>3. ComposioHQ&#x2F;awesome-claude-skills（资源合集）</h2><p><strong>⭐ 19.2k stars</strong> |(<a href="https://github.com/ComposioHQ/awesome-claude-skills">https://github.com/ComposioHQ/awesome-claude-skills</a>)</p><p>典型的 Awesome 列表，汇集了大量官方和社区的 skills。开发、数据分析、商业，各个领域都有。</p><p>想快速探索有哪些 skills 可用，这个列表是最佳入口。分类清晰，定期更新。</p><hr><h2 id="4-travisvn-awesome-claude-skills（工作流定制）"><a href="#4-travisvn-awesome-claude-skills（工作流定制）" class="headerlink" title="4. travisvn&#x2F;awesome-claude-skills（工作流定制）"></a>4. travisvn&#x2F;awesome-claude-skills（工作流定制）</h2><p><strong>⭐ 5k stars</strong> | (<a href="https://github.com/travisvn/awesome-claude-skills">https://github.com/travisvn/awesome-claude-skills</a>)</p><p>另一个优质的 Awesome 列表，专注 Claude Code 工作流定制。</p><p>和上面那个有些重叠，但侧重点不同。这个更偏向实际工作流的优化，适合想深度折腾 Claude Code 的用户。</p><hr><h2 id="5-K-Dense-AI-claude-scientific-skills（科研专属）"><a href="#5-K-Dense-AI-claude-scientific-skills（科研专属）" class="headerlink" title="5. K-Dense-AI&#x2F;claude-scientific-skills（科研专属）"></a>5. K-Dense-AI&#x2F;claude-scientific-skills（科研专属）</h2><p><strong>⭐ 5.8k stars</strong> | (<a href="https://github.com/K-Dense-AI/claude-scientific-skills">https://github.com/K-Dense-AI/claude-scientific-skills</a>)</p><p>专为科学研究打造，140+ 个科学领域技能。生物、化学、数据分析、数据库整合，覆盖面很广。</p><p>研究人员或者经常处理科研相关工作的，这个仓库必收。垂直领域做得这么全的，目前就这一家。</p><hr><h2 id="怎么安装？"><a href="#怎么安装？" class="headerlink" title="怎么安装？"></a>怎么安装？</h2><p>超简单，两种方式：</p><p><strong>全局安装</strong>（所有项目都能用）：</p><figure class="highlight bash"><table><tr><td class="code"><pre><span class="line"><span class="comment"># 把技能文件夹复制到这里</span></span><br><span class="line">~/.claude/skills/</span><br></pre></td></tr></table></figure><p><strong>项目级安装</strong>（只在当前项目生效）：</p><figure class="highlight bash"><table><tr><td class="code"><pre><span class="line"><span class="comment"># 复制到项目目录下</span></span><br><span class="line">.claude/skills/</span><br></pre></td></tr></table></figure><p>Claude 会自动发现并按需加载，不用额外配置。</p><hr><h2 id="最后"><a href="#最后" class="headerlink" title="最后"></a>最后</h2><p>这 5 个仓库基本覆盖了目前 skills 生态的核心资源。</p><p>建议先从官方仓库 <code>anthropics/skills</code> 开始，熟悉之后再去 <code>obra/superpowers</code> 找实战技能，最后根据自己的需求去 Awesome 列表里淘。</p><p>有用的话，记得给仓库点个 star。</p>]]></content>
    
    
    <summary type="html">整理了 GitHub 上最热门的 5 个 Claude Code Skills 仓库，从官方到社区到垂直领域，一篇搞定。</summary>
    
    
    
    <category term="AI 工具" scheme="https://www.wangwangit.com/categories/AI-%E5%B7%A5%E5%85%B7/"/>
    
    
    <category term="Claude Code" scheme="https://www.wangwangit.com/tags/Claude-Code/"/>
    
    <category term="Skills" scheme="https://www.wangwangit.com/tags/Skills/"/>
    
    <category term="AI 编程" scheme="https://www.wangwangit.com/tags/AI-%E7%BC%96%E7%A8%8B/"/>
    
    <category term="开源项目" scheme="https://www.wangwangit.com/tags/%E5%BC%80%E6%BA%90%E9%A1%B9%E7%9B%AE/"/>
    
  </entry>
  
  <entry>
    <title>写完文章发到 5 个平台，我花了半小时。直到用了这两个工具</title>
    <link href="https://www.wangwangit.com/%E5%86%99%E5%AE%8C%E6%96%87%E7%AB%A0%E5%8F%91%E5%88%B05%E4%B8%AA%E5%B9%B3%E5%8F%B0%E6%88%91%E8%8A%B1%E4%BA%86%E5%8D%8A%E5%B0%8F%E6%97%B6%E7%9B%B4%E5%88%B0%E7%94%A8%E4%BA%86%E8%BF%99%E4%B8%A4%E4%B8%AA%E5%B7%A5%E5%85%B7/"/>
    <id>https://www.wangwangit.com/%E5%86%99%E5%AE%8C%E6%96%87%E7%AB%A0%E5%8F%91%E5%88%B05%E4%B8%AA%E5%B9%B3%E5%8F%B0%E6%88%91%E8%8A%B1%E4%BA%86%E5%8D%8A%E5%B0%8F%E6%97%B6%E7%9B%B4%E5%88%B0%E7%94%A8%E4%BA%86%E8%BF%99%E4%B8%A4%E4%B8%AA%E5%B7%A5%E5%85%B7/</id>
    <published>2026-01-14T08:30:00.000Z</published>
    <updated>2026-03-08T06:14:12.070Z</updated>
    
    <content type="html"><![CDATA[<p><img src="https://img.996007.icu/file/1768439131881_20260115090530138.jpg" alt="cover"></p><p>写完一篇技术文章，花了两个小时。</p><p>然后呢？发到掘金，复制粘贴，调格式。发到 CSDN，再来一遍。知乎、简书、公众号……每个平台的编辑器都不一样，图片要重新上传，标签要重新打，代码块的样式还经常崩掉。</p><p>等我把文章发完 5 个平台，又过去了半小时。</p><p>更让人崩溃的是公众号。我辛辛苦苦写的 Markdown，代码高亮没了，数学公式变成一坨乱码，排版惨不忍睹。每次都要用第三方工具转一遍，再手动调整，烦得要死。</p><p>这种重复劳动，我忍了很久。直到最近发现了两个工具，彻底改变了我的发文流程。</p><blockquote><p>以前也有一些开源项目,不过都更新了,这两天看到有人新开源了一个,就给大家分享一下!</p></blockquote><h2 id="SyncCaster：技术博主的救星"><a href="#SyncCaster：技术博主的救星" class="headerlink" title="SyncCaster：技术博主的救星"></a>SyncCaster：技术博主的救星</h2><p>先说 SyncCaster。</p><p>这是一个开源的 Chrome 浏览器扩展，专门解决技术文章多平台发布的问题。作者在博客园写了篇文章介绍开发动机，说的就是我的心声——写完文章发到 5 个平台，可能要花掉半小时甚至更久。</p><p><img src="https://img.996007.icu/file/1768439140993_20260115090527309.jpg" alt="SyncCaster 概念图"></p><p>它的核心理念就四个字：<strong>一次编辑，处处发布</strong>。</p><h3 id="自带-Markdown-编辑器"><a href="#自带-Markdown-编辑器" class="headerlink" title="自带 Markdown 编辑器"></a>自带 Markdown 编辑器</h3><p>SyncCaster 内置了一个 Markdown 编辑器，实时预览，写完直接发。不用再开 Typora 写好复制进来了。</p><p>还支持 LaTeX 数学公式。写算法文章的朋友懂的，这个功能有多重要。</p><h3 id="17-个平台一键发"><a href="#17-个平台一键发" class="headerlink" title="17 个平台一键发"></a>17 个平台一键发</h3><p>掘金、CSDN、博客园、51CTO、腾讯云、知乎、简书、阿里云、思否、B 站专栏、微信公众号、开源中国、今日头条、InfoQ、百家号、网易号、Medium。</p><p>国内主流技术社区基本全了，海外还有 Medium。够用。</p><p><img src="https://img.996007.icu/file/1768440315145_20260115092504303.png" alt="image-20260115092504151"></p><h3 id="公众号样式终于不崩了"><a href="#公众号样式终于不崩了" class="headerlink" title="公众号样式终于不崩了"></a>公众号样式终于不崩了</h3><p>这是让我最惊喜的功能。</p><p>SyncCaster 发公众号的时候，能完整保留 Markdown 渲染后的样式。代码高亮在、数学公式在、主题样式也在。再也不用手动转格式了，省了多少事。</p><h3 id="开源免费，数据不出本地"><a href="#开源免费，数据不出本地" class="headerlink" title="开源免费，数据不出本地"></a>开源免费，数据不出本地</h3><p>代码在 GitHub 上，MIT 协议，随便用。</p><p>更重要的是完全本地运行。你的文章、你的登录状态，都在自己浏览器里，不传任何服务器。对于在意隐私的人来说，这点很香。</p><p><strong>GitHub 地址</strong>：<a href="https://github.com/RyanYipeng/SyncCaster">https://github.com/RyanYipeng/SyncCaster</a></p><p>目前 Star 不多，28 个，但项目很活跃，最近刚更新到 v0.9.0。可以去试用试用,给作者提意见!</p><blockquote><p>我构建的时候出了点问题,后来让AI给我构建的,大家也可以试试看!</p></blockquote><h2 id="爱贝壳：自媒体人的全能选手"><a href="#爱贝壳：自媒体人的全能选手" class="headerlink" title="爱贝壳：自媒体人的全能选手"></a>爱贝壳：自媒体人的全能选手</h2><p>如果你不只是写技术文章，还要发动态、发视频、发小红书，那 SyncCaster 就不够用了。</p><p>这时候该看看爱贝壳内容同步助手。</p><p><img src="https://img.996007.icu/file/1768439686962_20260115091443802.jpg" alt="爱贝壳概念图"></p><p>同样是 Chrome&#x2F;Edge 浏览器插件，安装包不到 3MB。在 Chrome 商店有 5000+ 用户，评分 4.4 分。</p><blockquote><p>地址: <a href="https://chromewebstore.google.com/detail/%E7%88%B1%E8%B4%9D%E5%A3%B3%E5%86%85%E5%AE%B9%E5%90%8C%E6%AD%A5%E5%8A%A9%E6%89%8B/jejejajkcbhejfiocemmddgbkdlhhngm">https://chromewebstore.google.com/detail/%E7%88%B1%E8%B4%9D%E5%A3%B3%E5%86%85%E5%AE%B9%E5%90%8C%E6%AD%A5%E5%8A%A9%E6%89%8B/jejejajkcbhejfiocemmddgbkdlhhngm</a></p></blockquote><h3 id="50-平台，真的夸张"><a href="#50-平台，真的夸张" class="headerlink" title="50+ 平台，真的夸张"></a>50+ 平台，真的夸张</h3><p>我数了一下，它支持的平台类型：</p><p><strong>社交媒体</strong>：X、微博、即刻、Threads、Reddit、Bsky<br><strong>短视频</strong>：抖音、快手、视频号、TikTok、YouTube<br><strong>自媒体</strong>：公众号、知乎、头条号、百家号、大鱼号<br><strong>技术平台</strong>：掘金、CSDN、简书、博客园<br><strong>其他</strong>：小红书、知识星球、WordPress、Substack、Medium</p><p>你能想到的平台，基本都有。</p><p><img src="https://img.996007.icu/file/1768439221834_20260115090655696.png" alt="image-20260115090655534"></p><h3 id="不止文章，动态和视频也行"><a href="#不止文章，动态和视频也行" class="headerlink" title="不止文章，动态和视频也行"></a>不止文章，动态和视频也行</h3><p>这是和 SyncCaster 最大的区别。</p><p>SyncCaster 只做文章。爱贝壳能发动态（微博、即刻那种短内容）、图文、视频，甚至播客。</p><p>全平台运营的自媒体人，经常要在抖音、小红书、视频号同时发内容。用爱贝壳一键搞定，省太多时间了。</p><h3 id="不造编辑器，只管搬运"><a href="#不造编辑器，只管搬运" class="headerlink" title="不造编辑器，只管搬运"></a>不造编辑器，只管搬运</h3><p>爱贝壳的思路挺聪明的。</p><p>它不提供编辑器。你在任意平台写好文章，给它一个链接，它自动提取标题和正文，然后帮你发到其他平台。</p><p>各平台编辑器已经够多了，爱贝壳不重复造轮子，只负责「搬运」。</p><h3 id="商业产品，部分功能要钱"><a href="#商业产品，部分功能要钱" class="headerlink" title="商业产品，部分功能要钱"></a>商业产品，部分功能要钱</h3><p>爱贝壳是商业产品，基础功能免费，高级功能（定时发布、更多平台）要开会员。不过免费版本的一般都够用了!</p><p>新用户有 3 天免费试用，可以先体验再决定。</p><p><strong>下载方式</strong>：Chrome 商店搜「爱贝壳内容同步助手」</p><h2 id="到底选哪个？"><a href="#到底选哪个？" class="headerlink" title="到底选哪个？"></a>到底选哪个？</h2><p><img src="https://img.996007.icu/file/1768439701727_20260115091453368.jpg" alt="对比信息图"></p><table><thead><tr><th>维度</th><th>SyncCaster</th><th>爱贝壳</th></tr></thead><tbody><tr><td><strong>价格</strong></td><td>免费开源</td><td>基础免费，高级收费</td></tr><tr><td><strong>平台数量</strong></td><td>17 个</td><td>50+</td></tr><tr><td><strong>内容类型</strong></td><td>只有文章</td><td>动态、图文、视频、播客</td></tr><tr><td><strong>编辑器</strong></td><td>自带 Markdown 编辑器</td><td>没有，链接导入</td></tr><tr><td><strong>公众号</strong></td><td>样式完美保留</td><td>支持，但简单些</td></tr><tr><td><strong>LaTeX</strong></td><td>支持</td><td>不支持</td></tr><tr><td><strong>视频</strong></td><td>不支持</td><td>支持</td></tr><tr><td><strong>适合谁</strong></td><td>技术博主</td><td>自媒体运营</td></tr></tbody></table><p><strong>一句话总结</strong>：</p><p>写技术文章、在意 Markdown 和公众号样式 → <strong>SyncCaster</strong></p><p>全平台运营、要发视频和动态 → <strong>爱贝壳</strong></p><h2 id="我现在怎么用"><a href="#我现在怎么用" class="headerlink" title="我现在怎么用"></a>我现在怎么用</h2><p>技术文章用 SyncCaster。在它的编辑器里写 Markdown，一键发掘金、CSDN、博客园、公众号。格式完美，省心。</p><p>日常动态用爱贝壳。偶尔写点非技术内容，想发即刻、微博、小红书，爱贝壳一键搞定。</p><p>两个工具定位不同，组合起来刚刚好。</p><hr><p>多平台发布这事儿，本来就不该占用太多时间。写作是核心，分发只是手段。</p><p>有了这俩工具，我终于能把时间花在更重要的事上了。</p>]]></content>
    
    
    <summary type="html">技术博主和自媒体人的多平台发布神器：SyncCaster（开源免费）和爱贝壳内容同步助手（50+ 平台），告别重复劳动，一键发全网。</summary>
    
    
    
    <category term="工具推荐" scheme="https://www.wangwangit.com/categories/%E5%B7%A5%E5%85%B7%E6%8E%A8%E8%8D%90/"/>
    
    
    <category term="效率工具" scheme="https://www.wangwangit.com/tags/%E6%95%88%E7%8E%87%E5%B7%A5%E5%85%B7/"/>
    
    <category term="多平台发布" scheme="https://www.wangwangit.com/tags/%E5%A4%9A%E5%B9%B3%E5%8F%B0%E5%8F%91%E5%B8%83/"/>
    
    <category term="自媒体" scheme="https://www.wangwangit.com/tags/%E8%87%AA%E5%AA%92%E4%BD%93/"/>
    
    <category term="Chrome 扩展" scheme="https://www.wangwangit.com/tags/Chrome-%E6%89%A9%E5%B1%95/"/>
    
  </entry>
  
  <entry>
    <title>5分钟把 Google 账号改成美区</title>
    <link href="https://www.wangwangit.com/5%E5%88%86%E9%92%9F%E6%8A%8AGoogle%E8%B4%A6%E5%8F%B7%E6%94%B9%E6%88%90%E7%BE%8E%E5%8C%BA/"/>
    <id>https://www.wangwangit.com/5%E5%88%86%E9%92%9F%E6%8A%8AGoogle%E8%B4%A6%E5%8F%B7%E6%94%B9%E6%88%90%E7%BE%8E%E5%8C%BA/</id>
    <published>2026-01-13T13:10:00.000Z</published>
    <updated>2026-03-08T06:14:12.058Z</updated>
    
    <content type="html"><![CDATA[<p><img src="https://img.996007.icu/file/1768351633140_20260114084701986.jpg" alt="cover"></p><p>最近很多人申请 Google One 学生会员，或者用反重力的时候，都会碰到”账号区域不对”或者”没有资格”的提示。</p><p>我之前也被这个问题卡了好久，试了好几种方法，要么要等审核，要么操作一堆最后还是失败。直到发现了这个方法——应该是目前最简单的了。</p><h2 id="你需要准备什么"><a href="#你需要准备什么" class="headerlink" title="你需要准备什么"></a>你需要准备什么</h2><p>三样东西：</p><ol><li><strong>美国 IP</strong></li><li><strong>一张信用卡</strong>：Visa、Mastercard 都行 </li><li><strong>一个 Google 账号</strong>：新注册的，或者没绑过卡的老号</li></ol><p>注意，已经绑过卡的账号不太好操作。如果你的老号绑过支付方式，建议直接注册个新号，省得折腾。</p><h2 id="核心操作"><a href="#核心操作" class="headerlink" title="核心操作"></a>核心操作</h2><p>整个流程就一句话：<strong>在 Google Play 的偏好设置里绑定信用卡，国家选美国</strong>。</p><p>就这么简单。下面是具体步骤。</p><h3 id="第一步：确认当前地区"><a href="#第一步：确认当前地区" class="headerlink" title="第一步：确认当前地区"></a>第一步：确认当前地区</h3><p>先看看你的账号现在是哪个区。</p><p>打开 Google Play 商店，点右上角头像 → 设置，就能看到当前的国家&#x2F;地区。大概率是中国或者香港。</p><p><img src="https://img.996007.icu/file/1768349101390_20260114080457646.png" alt="image-20260114080450344">         </p><h3 id="第二步：绑卡改区"><a href="#第二步：绑卡改区" class="headerlink" title="第二步：绑卡改区"></a>第二步：绑卡改区</h3><p>在 Google Play 商店里，点右上角头像 → 付款和订阅 → 付款方式 → 添加信用卡或借记卡。</p><p>重点来了：填写信用卡信息的时候，<strong>国家&#x2F;地区选美国</strong>。</p><p>地址随便填一个美国地址就行。不知道填什么？用地址生成器，比如 meiguodizhi.com，生成一个。</p><p><img src="https://img.996007.icu/file/1768349109832_20260114080508236.png" alt="image-20260114080508003"></p><h3 id="第三步：搞定"><a href="#第三步：搞定" class="headerlink" title="第三步：搞定"></a>第三步：搞定</h3><p>填完点确认，卡绑定成功后，你的账号就自动变成美区了。</p><p>回到 Google Play 商店刷新一下，看底部或者设置里的国家&#x2F;地区，显示”美国”就说明成功了。</p><h2 id="APP-报错？换网页操作"><a href="#APP-报错？换网页操作" class="headerlink" title="APP 报错？换网页操作"></a>APP 报错？换网页操作</h2><p>有时候手机 APP 上会提示”出问题了”或者”无法添加付款方式”。</p><p>别慌，这种情况换电脑操作：</p><ol><li>浏览器打开 <a href="https://pay.google.com/">pay.google.com</a></li><li>登录你的 Google 账号</li><li>在这里添加付款方式，国家选美国</li></ol><p>网页版成功率高很多。我自己就是 APP 失败了两次，换网页一次就过了。</p><h2 id="改完能干啥"><a href="#改完能干啥" class="headerlink" title="改完能干啥"></a>改完能干啥</h2><p>美区账号能做的事情挺多：</p><ul><li><strong>申请 Google One 学生会员</strong>：需要 .edu 邮箱验证学生身份，一年免费用 Gemini Pro</li><li><strong>下载美区 APP</strong>：有些应用只在美区上架</li><li><strong>用反重力</strong>：Claude Code 这类工具需要美区账号才能正常登录</li></ul><p>如果你是为了用反重力，改完美区后一般就能登了。万一客户端还是有问题，可以试试 CLIProxyAPI 这个开源项目，直接授权就能用额度，不用死磕客户端。</p><p><img src="https://img.996007.icu/file/1768349161799_20260114080557284.png" alt="image-20260114080557057"></p><h2 id="备选方案"><a href="#备选方案" class="headerlink" title="备选方案"></a>备选方案</h2><p>如果上面的方法不适合你（比如没有信用卡），还有两个备选。</p><p><strong>方案一：官方申请表单</strong></p><p>访问 <a href="https://policies.google.com/country-association-form">policies.google.com&#x2F;country-association-form</a>，理由选”其他”，写一段话说自己要在美国工作，申请变更地区。</p><p>缺点是要等审核，快的话一两天，慢的话一周。</p><p><strong>方案二：新建支付资料</strong></p><p>访问 <a href="https://pay.google.com/gp/w/home/settings">pay.google.com&#x2F;gp&#x2F;w&#x2F;home&#x2F;settings</a>，点”国家&#x2F;地区”旁边的编辑图标，新建一个美国资料。资料信息可以用地址生成器。</p><p>然后去 <a href="https://pay.google.com/gp/w/home/addressbook">pay.google.com&#x2F;gp&#x2F;w&#x2F;home&#x2F;addressbook</a>，把美国资料设为默认，其他地区的资料删掉。</p><p>这个方法主要改的是 Play 商店地区，和账号地区有点区别，但对于下载 APP 来说够用了。</p><hr><p>一张信用卡，5 分钟，搞定。</p>]]></content>
    
    
    <summary type="html">一张信用卡，5分钟搞定 Google 账号改区。申请 Google One 学生会员、用反重力，都需要美区账号，这是我找到的最简单方法。</summary>
    
    
    
    <category term="技术教程" scheme="https://www.wangwangit.com/categories/%E6%8A%80%E6%9C%AF%E6%95%99%E7%A8%8B/"/>
    
    
    <category term="教程" scheme="https://www.wangwangit.com/tags/%E6%95%99%E7%A8%8B/"/>
    
    <category term="Google" scheme="https://www.wangwangit.com/tags/Google/"/>
    
    <category term="账号" scheme="https://www.wangwangit.com/tags/%E8%B4%A6%E5%8F%B7/"/>
    
  </entry>
  
  <entry>
    <title>Anthropic 的野心：从开发者工具到全民 AI Agent</title>
    <link href="https://www.wangwangit.com/Anthropic%E7%9A%84%E9%87%8E%E5%BF%83-%E4%BB%8E%E5%BC%80%E5%8F%91%E8%80%85%E5%B7%A5%E5%85%B7%E5%88%B0%E5%85%A8%E6%B0%91AI-Agent/"/>
    <id>https://www.wangwangit.com/Anthropic%E7%9A%84%E9%87%8E%E5%BF%83-%E4%BB%8E%E5%BC%80%E5%8F%91%E8%80%85%E5%B7%A5%E5%85%B7%E5%88%B0%E5%85%A8%E6%B0%91AI-Agent/</id>
    <published>2026-01-13T02:50:00.000Z</published>
    <updated>2026-03-08T06:14:12.058Z</updated>
    
    <content type="html"><![CDATA[<p><img src="https://img.996007.icu/file/1768274732550_20260113112528005.png" alt="cover-cowork"></p><p>Claude Code 火了大半年，Anthropic 显然不打算让这把火只烧在程序员圈子里。</p><p>1 月 12 日，他们发布了 Cowork。官方给的定位很直接：「Claude Code for the rest of your work」。翻译成人话就是 —— 不会写代码？没关系，你也能用。</p><p>说实话，这步棋我觉得走得挺聪明。</p><h2 id="一样的底层，不一样的入口"><a href="#一样的底层，不一样的入口" class="headerlink" title="一样的底层，不一样的入口"></a>一样的底层，不一样的入口</h2><p>先说结论：Cowork 和 Claude Code 底层能力基本一样。</p><p>区别在哪？Claude Code 要你打开终端、敲命令、懂点技术。Cowork 不用 —— 它就是个 macOS 应用，点开就能用。你告诉它「帮我整理下载文件夹」，它就去干了。</p><p>技术博主 Simon Willison 的评价很到位：Claude Code 本质上是个「披着开发者工具外衣的通用 Agent」。它能干的事远不止写代码 —— 搜文件、整理资料、生成报告，只要能用命令行搞定的，它都行。</p><p>问题是，普通人看到终端就头疼。我之前想让一个做运营的朋友试试 Claude Code，结果她看到黑底白字的终端界面，直接说「这玩意儿是给程序员用的吧」。</p><p><img src="https://img.996007.icu/file/1768274680646_20260113112429098.png" alt="Claude Code 到 Cowork 的进化路径"></p><p>Cowork 就是来解决这个问题的。同样的能力，换个更友好的壳。</p><h2 id="它能干什么"><a href="#它能干什么" class="headerlink" title="它能干什么"></a>它能干什么</h2><p>核心能力三件套：</p><p><strong>1. 操作本地文件</strong></p><p>你授权一个文件夹，它就能在里面读、写、创建文件。整理下载文件夹、从截图生成费用表格、把散乱的笔记整理成报告 —— 这些都是官方给的例子。</p><p><strong>2. 连接外部服务</strong></p><p>支持 Asana、Notion、PayPal 这些。也就是说，它不只能动你电脑上的文件，还能帮你操作这些 SaaS 工具。</p><p><strong>3. 任务排队</strong></p><p>你可以一口气给它布置好几个任务，它自己排队处理。不用每次都等它干完再布置下一个，这点挺爽的。</p><p>官方说得挺煽情：「更像是给同事留言，而不是来回对话。」</p><p><img src="https://img.996007.icu/file/1768274675428_20260113112431582.png" alt="Cowork 功能架构图"></p><h2 id="但问题来了"><a href="#但问题来了" class="headerlink" title="但问题来了"></a>但问题来了</h2><p>Anthropic 自己在官方文档里写了这么一句话：</p><blockquote><p>「模糊的指令可能导致灾难。」</p></blockquote><p>不是我危言耸听。他们真的用了「灾难」这个词。</p><p>具体来说：</p><ul><li>指令不清晰，它可能删你的文件</li><li>它可能误解你的意思</li><li>存在 prompt injection 风险 —— 恶意网站的内容可能「劫持」它的行为</li></ul><p>Simon Willison 吐槽得很直接：让非程序员「警惕可疑行为」，这不现实。普通用户怎么判断一个 AI 的行为是正常还是被「注入」了？你让我妈盯着 AI 看它是不是被黑了？开玩笑呢。</p><p>更扎心的是，OpenAI 上个月刚说过，prompt injection 可能是 AI Agent「无法解决」的问题。</p><p>Anthropic 说他们已经用「精细的防御措施」加固了 Claude，会在重大操作前询问确认。但研究预览版嘛，你懂的 —— 就是让你当小白鼠。</p><p><img src="https://img.996007.icu/file/1768274720427_20260113112516838.png" alt="meme-warning"></p><h2 id="200-月，谁会买单"><a href="#200-月，谁会买单" class="headerlink" title="$200&#x2F;月，谁会买单"></a>$200&#x2F;月，谁会买单</h2><p>说说定价。Cowork 目前只开放给 Claude Max 订阅用户，每月 $100 到 $200。</p><p>这个价格说实话不便宜。但如果你是那种每天要处理大量文件、整理信息、生成报告的人，算笔账：</p><ul><li>每月 $200</li><li>每天算 $6-7</li><li>如果每天能帮你省 1-2 小时…</li></ul><p>好像也不是不能接受？</p><p>关键看你的使用场景够不够高频。偶尔整理个文件夹，那这钱就花得有点冤了。</p><h2 id="Anthropic-在下什么棋"><a href="#Anthropic-在下什么棋" class="headerlink" title="Anthropic 在下什么棋"></a>Anthropic 在下什么棋</h2><p>回到标题的问题：Anthropic 的野心是什么？</p><p>我是这么理解的。</p><p>Claude Code 是试水。它证明了一件事 —— 给 AI 足够的工具访问权限，它真的能帮你干活，不只是聊天。用的人虽然都是程序员，但用着用着就发现，嘿，它干别的活也行啊。</p><p>Cowork 是扩张。同样的能力，面向更大的用户群体。程序员全球也就两三千万，但需要整理文件、处理信息的白领？那可是几亿人的市场。</p><p>至于最终目标，我猜是让 AI 成为每个人的「数字同事」。不只是回答问题的聊天机器人，而是真的能帮你干活的助手。</p><p><img src="https://img.996007.icu/file/1768274680635_20260113112427751.png" alt="Anthropic 产品战略图"></p><p>VentureBeat 的标题写得挺准确：「works in your files — no coding required」。不用写代码，就能让 AI 帮你干活。这才是真正的卖点。</p><h2 id="竞争对手会跟进吗"><a href="#竞争对手会跟进吗" class="headerlink" title="竞争对手会跟进吗"></a>竞争对手会跟进吗</h2><p>几乎可以肯定会。</p><p>OpenAI 有 ChatGPT 桌面应用，但目前还不能直接操作本地文件。Google 的 Gemini 也在往这个方向走。</p><p>谁能让 AI Agent 更安全、更好用、更便宜，谁就能吃下这个市场。</p><p>Anthropic 选择了一个有意思的策略：先让 Claude Max 用户当小白鼠，收集反馈，打磨产品。等稳定了，再扩展到更便宜的订阅层级，最后可能是 Windows 版。</p><p>稳扎稳打，不着急。</p><h2 id="我的看法"><a href="#我的看法" class="headerlink" title="我的看法"></a>我的看法</h2><p>Cowork 代表了一个信号：AI Agent 正式从极客玩具走向大众市场。</p><p>这是好事。更多人能用上这种能力，AI 才能真正普及。</p><p>但风险也真实存在。你要把文件操作权限交给一个你不完全理解的 AI，这需要信任。而目前来说，这种信任还建立在一个不够稳固的安全基础上。</p><p>如果你是 Claude Max 用户，想试试也行。但我的建议是：</p><ol><li>从不重要的文件夹开始</li><li>指令写清楚，别含糊</li><li>关注它每一步在干什么</li><li>重要文件记得备份</li></ol><p>毕竟，官方都说了 —— 「模糊的指令可能导致灾难」。</p><p>别拿你的论文文件夹当试验田。</p><hr><p><em>Claude Cowork 目前处于研究预览阶段，仅支持 macOS 版 Claude 应用，需要 Claude Max 订阅（$100-200&#x2F;月）。其他用户可加入候补名单。</em></p>]]></content>
    
    
    <summary type="html">Claude Code 火了大半年，Anthropic 发布 Cowork 把同样的能力带给普通用户。这步棋背后，是 AI Agent 从极客玩具走向大众市场的信号。</summary>
    
    
    
    <category term="AI 工具" scheme="https://www.wangwangit.com/categories/AI-%E5%B7%A5%E5%85%B7/"/>
    
    
    <category term="AI Agent" scheme="https://www.wangwangit.com/tags/AI-Agent/"/>
    
    <category term="Claude" scheme="https://www.wangwangit.com/tags/Claude/"/>
    
    <category term="Anthropic" scheme="https://www.wangwangit.com/tags/Anthropic/"/>
    
    <category term="Cowork" scheme="https://www.wangwangit.com/tags/Cowork/"/>
    
    <category term="产品分析" scheme="https://www.wangwangit.com/tags/%E4%BA%A7%E5%93%81%E5%88%86%E6%9E%90/"/>
    
  </entry>
  
  <entry>
    <title>AI 中转站账号太多？All API Hub 统一管理与自动签到</title>
    <link href="https://www.wangwangit.com/AI%20%E4%B8%AD%E8%BD%AC%E7%AB%99%E8%B4%A6%E5%8F%B7%E5%A4%AA%E5%A4%9A-All%20API%20Hub%20%E7%BB%9F%E4%B8%80%E7%AE%A1%E7%90%86%E4%B8%8E%E8%87%AA%E5%8A%A8%E7%AD%BE%E5%88%B0/"/>
    <id>https://www.wangwangit.com/AI%20%E4%B8%AD%E8%BD%AC%E7%AB%99%E8%B4%A6%E5%8F%B7%E5%A4%AA%E5%A4%9A-All%20API%20Hub%20%E7%BB%9F%E4%B8%80%E7%AE%A1%E7%90%86%E4%B8%8E%E8%87%AA%E5%8A%A8%E7%AD%BE%E5%88%B0/</id>
    <published>2026-01-12T01:44:47.000Z</published>
    <updated>2026-03-08T06:14:12.058Z</updated>
    
    <content type="html"><![CDATA[<p><img src="https://img.996007.icu/file/1768185222619_20260112103336766.png" alt="封面：把一堆中转站账号收拢成一个面板"></p><p>最近我身边用 AI 的人越来越“像运维”。</p><p>不是因为大家突然爱折腾。</p><p>是因为第三方 AI 聚合中转站太多了。</p><p>一个人注册了好几个。</p><p>有的还要每天点一下签到领额度。</p><p>结果就变成了：</p><ul><li>站点很多，余额分散。</li><li>模型列表不一致，价格也不统一。</li><li>API Key 到处复制粘贴，越用越乱。</li><li>最可气的是：忘记签到，白白浪费额度。</li></ul><p>我后来发现一个思路特别对：别再“用记忆力管理账号”，用工具管理。</p><p>All API Hub 就是干这个的。</p><p>它是一个开源浏览器插件，主打“统一管理第三方 AI 聚合中转站与自建 New API”，并且把自动签到、导出集成、备份同步这些重活一起做了。</p><h2 id="All-API-Hub-是什么"><a href="#All-API-Hub-是什么" class="headerlink" title="All API Hub 是什么"></a>All API Hub 是什么</h2><blockquote><p><a href="https://github.com/qixing-jk/all-api-hub">https://github.com/qixing-jk/all-api-hub</a></p></blockquote><p>官方的描述很直接：开源浏览器插件，统一管理第三方 AI 聚合中转站与自建 New API，并支持自动识别账号、查看余额、同步模型、管理密钥，以及跨平台与云端备份。</p><p>它支持的站点类型也很清楚：基于 one-api &#x2F; new-api &#x2F; Veloera &#x2F; one-hub &#x2F; done-hub 等项目部署的中转站（以及部分闭源站点的基础能力）。</p><p>如果你平时用的站点刚好是这类“New API 系列”，那命中率就很高。</p><h2 id="它解决的不是“更省钱”，是“更不费劲”"><a href="#它解决的不是“更省钱”，是“更不费劲”" class="headerlink" title="它解决的不是“更省钱”，是“更不费劲”"></a>它解决的不是“更省钱”，是“更不费劲”</h2><p>我用下来最有感的不是某个单点功能。</p><p>而是它把一堆碎事合在一起了：</p><ul><li>自动识别站点类型与账号信息，做成统一的账号面板。</li><li>一眼看余额、使用情况、健康状态（配合自动刷新）。</li><li>集中管理 API Key，支持批量操作、复制、导出到下游工具。</li><li>展示模型列表与价格信息，让“这个站到底提供什么”更透明。</li><li>自动签到 + 签到监控，减少“我忘了点”的损失。</li><li>Cloudflare 过盾助手，提升识别&#x2F;刷新稳定性（按需开启权限）。</li><li>数据备份与恢复：JSON 导入导出 + 可选 WebDAV 自动同步。</li></ul><p>注意，我这里有意把它定位成“管理面板”。</p><p>不是“刷羊毛神器”。</p><p>自动签到这件事也一样：只对你自己的账号负责，且要遵守对应站点的规则与服务条款。</p><h2 id="这类插件的“正确打开方式”"><a href="#这类插件的“正确打开方式”" class="headerlink" title="这类插件的“正确打开方式”"></a>这类插件的“正确打开方式”</h2><p>我先讲一句可能有点刺耳的话：</p><p>别把 All API Hub 当“更强的中转站”。</p><p>它更像一个控制台。</p><p>你负责登录、维护账号。</p><p>它负责把信息归拢、把重复操作变成批量操作、把“忘记”变成“自动”。</p><p>思路对了，你用起来会很顺。</p><h2 id="10-分钟上手：从“能用”到“顺手”"><a href="#10-分钟上手：从“能用”到“顺手”" class="headerlink" title="10 分钟上手：从“能用”到“顺手”"></a>10 分钟上手：从“能用”到“顺手”</h2><p>All API Hub 的上手逻辑其实很朴素。</p><p>它依赖你已经登录的浏览器状态，然后去做识别与管理。</p><p><img src="https://img.996007.icu/file/1768185411697_20260112103649302.png" alt="配图：上手流程"></p><p><img src="https://img.996007.icu/file/1768185462491_20260112103732193.png" alt="image-20260112103732090"></p><h3 id="1）安装插件"><a href="#1）安装插件" class="headerlink" title="1）安装插件"></a>1）安装插件</h3><p>官方提供了多个渠道：</p><ul><li>Chrome 商店</li><li>Edge 商店</li><li>Firefox 商店</li><li>GitHub Release（通常更新更快）</li></ul><p>官方文档也提醒：商店审核可能带来 1-3 天延迟；想第一时间用新功能，可以优先 Release 版本。</p><h3 id="2）先用浏览器正常登录各个站点"><a href="#2）先用浏览器正常登录各个站点" class="headerlink" title="2）先用浏览器正常登录各个站点"></a>2）先用浏览器正常登录各个站点</h3><p>这是关键前提。</p><p>官方快速上手文档明确说了：必须先自行登录目标中转站，这样插件的自动识别才能复用 Cookie 获取访问令牌（Access Token）。</p><p>这一步做对了，后面就很省心。</p><h3 id="3）新增账号：用“自动识别”把站点拉进来"><a href="#3）新增账号：用“自动识别”把站点拉进来" class="headerlink" title="3）新增账号：用“自动识别”把站点拉进来"></a>3）新增账号：用“自动识别”把站点拉进来</h3><p>基本流程是：</p><ul><li>打开插件 → 新增账号 → 粘贴站点地址 → 自动识别 → 确认添加。</li></ul><p>如果遇到 Cloudflare 五秒盾，插件会弹出临时窗口辅助过盾；你在窗口里完成验证即可继续识别流程。</p><p><img src="https://img.996007.icu/file/1768185161844_20260112103231914.png" alt="image-20260112103224777"></p><h3 id="4）把面板用起来：分组、置顶、排序"><a href="#4）把面板用起来：分组、置顶、排序" class="headerlink" title="4）把面板用起来：分组、置顶、排序"></a>4）把面板用起来：分组、置顶、排序</h3><p>我建议你第一天别急着折腾高级功能。</p><p>先把账号拉进来。</p><p>然后做三件事：</p><ul><li>给常用站点置顶。</li><li>按用途分组（例如：工作&#x2F;个人&#x2F;测试）。</li><li>用排序优先级把“最该看的账号”放前面。</li></ul><p>你会发现，焦虑少一半。</p><h2 id="自动刷新：别每次都手动点“刷新”"><a href="#自动刷新：别每次都手动点“刷新”" class="headerlink" title="自动刷新：别每次都手动点“刷新”"></a>自动刷新：别每次都手动点“刷新”</h2><p>账号多了以后，手动刷新会让你很快崩溃。</p><p>官方文档把自动刷新拆得很细：后台定时器 + 打开插件时自动刷新，两种策略你可以按“稳不稳”和“怕不怕限流”来选。</p><p><img src="https://img.996007.icu/file/1768185413006_20260112103644204.png" alt="配图：自动刷新策略"></p><h3 id="设置步骤（照做版）"><a href="#设置步骤（照做版）" class="headerlink" title="设置步骤（照做版）"></a>设置步骤（照做版）</h3><ol><li>打开插件 → 设置 → 自动刷新。</li><li>先开“打开插件时自动刷新”（成本最低，体验立刻变好）。</li><li>如果你希望后台也自动跑：再开启“启用自动刷新”，把间隔设到 300～600 秒。</li><li>最后把“最小刷新间隔”设成 60 秒或更高，防止手动连点把站点打崩。</li></ol><p>我建议你这么配：</p><ul><li>常用账号：间隔 300～600 秒。</li><li>站点容易触发风控：别开高频定时，改成“打开即刷新”。</li><li>如果你手比较贱，爱狂点刷新：把“最小刷新间隔”拉高一点。</li></ul><p>文档也提到两个典型坑：</p><ul><li>401&#x2F;403：多半是登录状态失效，回到站点重新登录。</li><li>频繁触发 Cloudflare&#x2F;限流：把刷新间隔调大，必要时先过盾。</li></ul><p><img src="https://img.996007.icu/file/1768185267529_20260112103421611.png" alt="image-20260112103421506"></p><h2 id="自动签到：别再丢免费额度"><a href="#自动签到：别再丢免费额度" class="headerlink" title="自动签到：别再丢免费额度"></a>自动签到：别再丢免费额度</h2><p><img src="https://img.996007.icu/file/1768185294919_20260112103449178.png" alt="image-20260112103449064"></p><p>这块正好对上你提到的痛点：有些站点可以签到拿额度。</p><p>All API Hub 的自动签到文档把机制写得很细。</p><p>我按“你能照着做”的方式总结一下。</p><p><img src="https://img.996007.icu/file/1768185407970_20260112103636692.png" alt="配图：自动签到工作流"></p><h3 id="你需要满足的前提"><a href="#你需要满足的前提" class="headerlink" title="你需要满足的前提"></a>你需要满足的前提</h3><ol><li>在账号管理里开启“签到检测”，并且确认你能手动签到成功。</li><li>对需要自动签到的账号打开“自动签到”开关（可以对单个账号关闭）。</li><li>在设置里开启全局自动签到，并设定时间窗口。</li><li>浏览器需要支持 <code>chrome.alarms</code>（文档提到 Chrome&#x2F;Edge&#x2F;Kiwi 正常；部分 Firefox 移动端可能不支持）。</li></ol><h3 id="配置步骤"><a href="#配置步骤" class="headerlink" title="配置步骤"></a>配置步骤</h3><ol><li>先手动签到一次，确认站点今天能签到。</li><li>回到插件：账号详情里打开“签到检测”。</li><li>如果站点入口是魔改的：按文档配置 <code>customCheckInUrl</code>（可选 <code>customRedeemUrl</code>），让插件知道该点哪里。</li><li>再确认这个账号的“自动签到”开关是开启的（不想自动的账号就关掉）。</li><li>打开设置 → 自动签到：开启全局自动签到，设一个时间窗（建议低峰）。</li><li>去“自动签到”页面看日志；必要时用“立即执行”先跑一遍验证。</li></ol><p><img src="https://img.996007.icu/file/1768185331025_20260112103525571.png" alt="image-20260112103525506"></p><h2 id="一键导出：把-Key-配置“送”到下游工具"><a href="#一键导出：把-Key-配置“送”到下游工具" class="headerlink" title="一键导出：把 Key 配置“送”到下游工具"></a>一键导出：把 Key 配置“送”到下游工具</h2><p>我见过最多的场景是：</p><p>你在多个中转站之间试来试去。</p><p>但真正干活的时候，要在 CherryStudio &#x2F; CC Switch &#x2F; New API 里把它们再配一遍。</p><p>这就很烦。</p><p>All API Hub 的“快速导出”就是用来省这一步的。</p><p>官方文档里列了三个主要目标：</p><ul><li>CherryStudio：通过本地协议唤起客户端自动填充（前提是桌面端在运行并授权）。</li><li>CC Switch：导出为 JSON&#x2F;剪贴板格式，在 CC Switch 里粘贴导入。</li><li>New API：调用 <code>/api/channel</code> 创建&#x2F;更新渠道（需要你填管理员 URL、Token、User ID），并会检测相同 Base URL 避免重复创建。</li></ul><p>我自己最常用的是 New API 导出。</p><p>原因很简单：我想把“各家中转站”当成上游渠道，统一接到自己的 New API 里。</p><p><img src="https://img.996007.icu/file/1768185554351_20260112103911464.png" alt="image-20260112103911368"></p><h3 id="导出步骤"><a href="#导出步骤" class="headerlink" title="导出步骤"></a>导出步骤</h3><ol><li>先确保你已成功添加站点账号，并且能在“密钥管理”里看到可用的 API Key。</li><li>打开插件 → 密钥管理 → 找到目标站点 → 点击“导出”。</li><li>选目标平台：<ul><li>CherryStudio：确认桌面端在运行，浏览器允许唤起协议。</li><li>CC Switch：复制生成的 JSON，到 CC Switch 里粘贴导入。</li><li>New API：提前在“基础设置 → New API 集成设置”填好管理员 URL、Token、用户 ID。</li></ul></li><li>如果导出到 New API 报 401&#x2F;403：优先检查管理员 Token 是否失效，以及目标站点是否有 Cloudflare 防护导致请求被拦。</li></ol><p><img src="https://img.996007.icu/file/1768185604344_20260112103956458.png" alt="image-20260112103956355"></p><h2 id="权限与隐私：我最关心的两件事"><a href="#权限与隐私：我最关心的两件事" class="headerlink" title="权限与隐私：我最关心的两件事"></a>权限与隐私：我最关心的两件事</h2><p>你管理的是账号和 Key。</p><p>这就天然敏感。</p><p>所以我写这篇文章时，最想讲清楚两点：它需要什么权限、数据往哪去。</p><p><img src="https://img.996007.icu/file/1768185397192_20260112103630827.png" alt="配图：权限与隐私边界"></p><h3 id="1）隐私：默认不把数据发到作者服务器"><a href="#1）隐私：默认不把数据发到作者服务器" class="headerlink" title="1）隐私：默认不把数据发到作者服务器"></a>1）隐私：默认不把数据发到作者服务器</h3><p>项目的隐私政策里写得很明确：扩展不会收集或向作者服务器传输任何个人数据；默认数据只存本地。</p><p>它也强调了 WebDAV 同步是可选功能，默认关闭；启用后数据只会发到你自己配置的 WebDAV 服务器。</p><h3 id="2）权限：可选权限能不用就不用"><a href="#2）权限：可选权限能不用就不用" class="headerlink" title="2）权限：可选权限能不用就不用"></a>2）权限：可选权限能不用就不用</h3><p>项目文档把权限分得很清楚：只有在临时窗口过盾、后台自动刷新、补充 Cookie&#x2F;请求头时，才需要授予这些可选权限。</p><p>它还强调：权限可以随时撤销，日常使用可以保持关闭。</p><p>我对这种“默认保守、按需开启”的设计挺加分的。</p><h3 id="3）我的安全建议（真心）"><a href="#3）我的安全建议（真心）" class="headerlink" title="3）我的安全建议（真心）"></a>3）我的安全建议（真心）</h3><ul><li>如果你很在意安全：用独立浏览器 Profile 装插件，专门管理这些站点账号。</li><li>WebDAV 只用你自己的、走 HTTPS 的服务端。</li><li>定期导出 JSON 做离线备份（别把唯一数据寄托在同步上）。</li><li>API Key 是生产级凭据：别随便截图、别发群里、别贴到公开仓库。</li></ul><h2 id="常见坑位：我建议你提前知道"><a href="#常见坑位：我建议你提前知道" class="headerlink" title="常见坑位：我建议你提前知道"></a>常见坑位：我建议你提前知道</h2><h3 id="1）自动识别失败"><a href="#1）自动识别失败" class="headerlink" title="1）自动识别失败"></a>1）自动识别失败</h3><p>按 FAQ 的思路排查就行：</p><ol><li>先确认你在浏览器里确实登录了站点。</li><li>切换认证方式：优先 <code>Access Token</code>，不行再试 <code>Cookie</code>。</li><li>还不行就走手动添加，把必要字段填齐。</li></ol><p>如果站点是深度二次开发，改了关键接口（例如 <code>/api/user</code>），确实可能不兼容。</p><p>这不是你操作的问题。</p><h3 id="2）魔改站点（例如-AnyRouter）"><a href="#2）魔改站点（例如-AnyRouter）" class="headerlink" title="2）魔改站点（例如 AnyRouter）"></a>2）魔改站点（例如 AnyRouter）</h3><p>FAQ 提到这类站点可能不支持标准的 Access Token。</p><p>遇到这种就老实用 Cookie 模式。</p><p>并且接受一个现实：有些功能可能就是用不了。</p><h2 id="进阶玩法：自建-New-API-的人会更爽"><a href="#进阶玩法：自建-New-API-的人会更爽" class="headerlink" title="进阶玩法：自建 New API 的人会更爽"></a>进阶玩法：自建 New API 的人会更爽</h2><p>如果你还有自建 New API。</p><p>那 All API Hub 不止是“看余额、管 Key”。</p><p>README 里提到它还支持：</p><ul><li>New API 模型列表同步（含正则白名单过滤、同步日志）</li><li>在插件里直接管理渠道配置（Beta）</li></ul><p>这块我建议你等基础面板用顺了再上。</p><p>否则你会在第一天就把自己搞晕。</p><h2 id="写在最后"><a href="#写在最后" class="headerlink" title="写在最后"></a>写在最后</h2><p>All API Hub 这类工具，我觉得价值点很明确：</p><p>它不直接帮你“多搞额度”。</p><p>它帮你把“已经存在的一堆账号与规则”管理起来。</p><p>尤其是自动签到这种事。</p><p>少掉一次，你可能没感觉。</p><p>少掉一个月，你就会开始骂自己。</p><p>如果你现在就想试，我建议你按这个顺序：</p><ol><li>装插件 → 登录站点 → 自动识别拉进来。</li><li>先把面板整理干净（分组&#x2F;置顶&#x2F;排序）。</li><li>再开自动签到，并设低峰时间窗。</li><li>最后再考虑 WebDAV 同步和自建 New API 的进阶功能。</li></ol><p>用对了，它就是你的“中转站控制台”。</p>]]></content>
    
    
    <summary type="html">第三方 AI 聚合中转站和自建 New API 用久了，账号、余额、模型、Key、签到入口会变得又散又乱。All API Hub 是一个开源浏览器插件：自动识别站点与账号、统一看余额与模型、管理/导出密钥，还能做自动签到和可选的 WebDAV 备份同步。本文讲清楚它解决什么问题、怎么上手、以及权限与隐私边界。</summary>
    
    
    
    <category term="工具" scheme="https://www.wangwangit.com/categories/%E5%B7%A5%E5%85%B7/"/>
    
    
    <category term="AI工具" scheme="https://www.wangwangit.com/tags/AI%E5%B7%A5%E5%85%B7/"/>
    
    <category term="浏览器插件" scheme="https://www.wangwangit.com/tags/%E6%B5%8F%E8%A7%88%E5%99%A8%E6%8F%92%E4%BB%B6/"/>
    
    <category term="New API" scheme="https://www.wangwangit.com/tags/New-API/"/>
    
    <category term="效率工具" scheme="https://www.wangwangit.com/tags/%E6%95%88%E7%8E%87%E5%B7%A5%E5%85%B7/"/>
    
  </entry>
  
  <entry>
    <title>Vibe Coding 时代怎么买域名不踩坑</title>
    <link href="https://www.wangwangit.com/Vibe%20Coding%20%E6%97%B6%E4%BB%A3%E6%80%8E%E4%B9%88%E4%B9%B0%E5%9F%9F%E5%90%8D%E4%B8%8D%E8%B8%A9%E5%9D%91%EF%BC%9A%E7%94%A8%20TLD-List%20%E5%81%9A%E5%9F%9F%E5%90%8D%E6%AF%94%E4%BB%B7/"/>
    <id>https://www.wangwangit.com/Vibe%20Coding%20%E6%97%B6%E4%BB%A3%E6%80%8E%E4%B9%88%E4%B9%B0%E5%9F%9F%E5%90%8D%E4%B8%8D%E8%B8%A9%E5%9D%91%EF%BC%9A%E7%94%A8%20TLD-List%20%E5%81%9A%E5%9F%9F%E5%90%8D%E6%AF%94%E4%BB%B7/</id>
    <published>2026-01-11T06:47:11.000Z</published>
    <updated>2026-03-08T06:14:12.066Z</updated>
    
    <content type="html"><![CDATA[<p><img src="https://img.996007.icu/file/1768115712890_20260111151500589.png" alt="封面：域名像门牌，AI 像加速器"></p><p>前两天我又“vibe coding”了一把。</p><p>一个小工具，从想法到可用版，真就一晚上。</p><p>第二天早上同事问我一句：“有官网吗？发我链接。”</p><p>我愣了三秒。</p><p>链接当然有，比如我们常用的vercel部署,都会提供默认的域名~</p><p>但我不想再发一串 <code>xxx.vercel.app</code>。</p><p>也不想把项目永远挂在某个平台的子域名下。</p><p>于是问题落到最现实的一步：买域名。</p><p>然后我就踩到了域名世界最经典的坑：首年很便宜，续费贵得离谱。</p><p>这篇文章我想做三件事：</p><ol><li>讲清楚“为什么你需要一个自己的域名”。</li><li>把买域名时最容易忽略的成本口径讲明白。</li><li>介绍一个我用得很顺手的域名比价网站：TLD-List（含注册&#x2F;续费&#x2F;转入对比 + 免费特性对比）。</li></ol><h2 id="为什么最近更需要域名"><a href="#为什么最近更需要域名" class="headerlink" title="为什么最近更需要域名"></a>为什么最近更需要域名</h2><p>AI 编程把“做出来”变得更容易了。</p><p>但越容易做出来，越容易堆成一堆小作品。</p><p>你会开始频繁遇到这些场景：</p><ul><li>给朋友丢一个演示地址。</li><li>给客户发一个可访问的落地页。</li><li>把作品写进简历、个人主页、开源 README。</li><li>做一个长期维护的文档站、状态页、API 文档。</li></ul><p>这时候，域名就不是“锦上添花”了。</p><p>它更像一个固定入口。</p><p>你可以随时换后端、换部署平台、换 CDN。</p><p>入口不动。</p><h2 id="域名到底解决什么问题"><a href="#域名到底解决什么问题" class="headerlink" title="域名到底解决什么问题"></a>域名到底解决什么问题</h2><p>我喜欢用一句很直白的话理解域名：</p><p>域名是给机器世界装了一个“人类能记住的门牌号”。</p><p>MDN 对域名的描述非常到位：域名是互联网基础设施的一部分，它给互联网上的 Web 服务器提供人类可读的地址；IP 地址对人来说难记，而且可能变化，所以需要域名这种可读入口。</p><p>更技术一点的背景，可以看 RFC 1034（DNS&#x2F;域名概念的经典规范之一）。</p><p>落到开发者日常，域名至少帮你解决这几件事：</p><h3 id="1）可记忆、可传播"><a href="#1）可记忆、可传播" class="headerlink" title="1）可记忆、可传播"></a>1）可记忆、可传播</h3><p>我发 <code>mytool.com</code>，大家就懂了。</p><p>我发 <code>mytool-7f3b1.vercel.app</code>，对面基本只会复制粘贴。</p><h3 id="2）可迁移，不被平台绑死"><a href="#2）可迁移，不被平台绑死" class="headerlink" title="2）可迁移，不被平台绑死"></a>2）可迁移，不被平台绑死</h3><p>今天用 GitHub Pages，明天换 Vercel。</p><p>后天你想自建。</p><p>只要域名在你手里，你就有退路。</p><p>GitHub 的文档里也明确说了：GitHub Pages 支持把站点从默认的 <code>xxx.github.io</code> 切换到你拥有的自定义域名。</p><h3 id="3）更“像个正经产品”"><a href="#3）更“像个正经产品”" class="headerlink" title="3）更“像个正经产品”"></a>3）更“像个正经产品”</h3><p>这点有点主观。</p><p>但真的很现实。</p><p>一个好域名，会让人更愿意点开。</p><p>也更愿意记住你。</p><p><img src="https://img.996007.icu/file/1768115901160_20260111151816845.png" alt="image-20260111151816776"></p><p>比如这类免费的二级域名,只适合平时玩一玩,要是真的要建站之类的,还是得买一个固定的域名!</p><h2 id="买域名最容易忽略的-3-个坑"><a href="#买域名最容易忽略的-3-个坑" class="headerlink" title="买域名最容易忽略的 3 个坑"></a>买域名最容易忽略的 3 个坑</h2><p>我买域名前，通常先把三句话写在纸上。</p><p>不写我就会冲动。</p><p><img src="https://img.996007.icu/file/1768115715328_20260111151510195.png" alt="配图：买域名最容易忽略的 3 个坑"></p><h3 id="坑-1：只看首年价，不看续费价"><a href="#坑-1：只看首年价，不看续费价" class="headerlink" title="坑 1：只看首年价，不看续费价"></a>坑 1：只看首年价，不看续费价</h3><p>域名不是一次性消费。</p><p>你大概率会续费很多年。</p><p>如果续费贵，首年便宜就只是“诱饵”。</p><h3 id="坑-2：没把“转入成本”算进去"><a href="#坑-2：没把“转入成本”算进去" class="headerlink" title="坑 2：没把“转入成本”算进去"></a>坑 2：没把“转入成本”算进去</h3><p>你可能会想：先在 A 注册商买，之后转到 B。</p><p>这时候你关心的是转入（transfer）价格。</p><p>很多人只看注册（registration）。</p><p>结果算总账的时候才发现被自己坑了。</p><h3 id="坑-3：忽略注册商的“免费特性”"><a href="#坑-3：忽略注册商的“免费特性”" class="headerlink" title="坑 3：忽略注册商的“免费特性”"></a>坑 3：忽略注册商的“免费特性”</h3><p>你买的不是一串字符。</p><p>你还在买服务。</p><p>比如：</p><ul><li>DNS 管理是否顺手。</li><li>有没有 WHOIS 隐私（隐私保护&#x2F;信息脱敏）。</li><li>有没有邮箱转发、邮箱账号。</li><li>有没有 SSL 证书。</li></ul><p>这些东西如果都要加钱，最后账单会很难看。</p><h2 id="TLD-List-是什么"><a href="#TLD-List-是什么" class="headerlink" title="TLD-List 是什么"></a>TLD-List 是什么</h2><p>一句话：它是一个“域名比价 + 注册商对比”的网站。</p><p>它的首页写得很直白：对比 3,495 个域名后缀（domain extensions），来自 54 家注册商（registrars），并提供可用性检查与免费特性信息。（以 2026-01-11 访问首页为准）</p><p>我最喜欢它的一点是：它把价格口径拆开了。</p><p>在首页的价格说明里，它明确提到价格按 1 年周期，并覆盖 <code>Registration / Renewal / Transfer</code> 三类价格。</p><p>首页还提示：价格可能包含 ICANN 与设置费用，并且默认以 USD 展示（站内也提供多种货币切换入口）。</p><p>如果你更习惯中文界面，也可以直接用它的简体中文站点：<code>https://zh-hans.tld-list.com/</code>。</p><p>这件事非常重要。</p><p>因为你想省钱，真正要盯的往往是续费价。</p><p>不是首年注册价。</p><h2 id="我怎么用-TLD-List-买域名（一个很实用的流程）"><a href="#我怎么用-TLD-List-买域名（一个很实用的流程）" class="headerlink" title="我怎么用 TLD-List 买域名（一个很实用的流程）"></a>我怎么用 TLD-List 买域名（一个很实用的流程）</h2><p><img src="https://img.996007.icu/file/1768115724233_20260111151513412.png" alt="配图：选域名流程图"></p><p>下面这个流程，我自己用下来比较稳。</p><p>你照着做，基本不会买到“便宜一年、贵好几年”的域名。</p><p><img src="https://img.996007.icu/file/1768115994140_20260111151948898.png" alt="image-20260111151948736"></p><h3 id="第-1-步：先选“你要表达的东西”，再选后缀"><a href="#第-1-步：先选“你要表达的东西”，再选后缀" class="headerlink" title="第 1 步：先选“你要表达的东西”，再选后缀"></a>第 1 步：先选“你要表达的东西”，再选后缀</h3><p>我不会一上来就纠结 <code>.com</code>、<code>.ai</code>、<code>.dev</code>。</p><p>我会先定主域名字符串。</p><p>比如产品名、团队名、作者名。</p><p>能读、能拼、能输入。</p><p>别太长。</p><h3 id="第-2-步：在-TLD-List-里把候选后缀拉出来"><a href="#第-2-步：在-TLD-List-里把候选后缀拉出来" class="headerlink" title="第 2 步：在 TLD-List 里把候选后缀拉出来"></a>第 2 步：在 TLD-List 里把候选后缀拉出来</h3><p>去 <code>https://tld-list.com/</code>。</p><p>输入你想要的名字（或关键词），先看可用性。</p><p>再看有哪些后缀是“可注册”的。</p><p>这里我建议你先保留 5～10 个后缀候选。</p><p>别太少。</p><p>也别太多。</p><h3 id="第-3-步：重点对比-3-个价格：注册-续费-转入"><a href="#第-3-步：重点对比-3-个价格：注册-续费-转入" class="headerlink" title="第 3 步：重点对比 3 个价格：注册 &#x2F; 续费 &#x2F; 转入"></a>第 3 步：重点对比 3 个价格：注册 &#x2F; 续费 &#x2F; 转入</h3><p>在 TLD-List 的表格里，你会看到不同维度的价格。</p><p>我的习惯是按“续费价”排序。</p><p>因为它决定你长期成本。</p><p>然后再看注册价和转入价，判断你要不要“先买后转”。</p><h3 id="第-4-步：看限制（Restrictions）"><a href="#第-4-步：看限制（Restrictions）" class="headerlink" title="第 4 步：看限制（Restrictions）"></a>第 4 步：看限制（Restrictions）</h3><p>有些后缀有注册限制。</p><p>比如特定行业、地区、身份。</p><p>如果你只是想做个小产品网站，别给自己找麻烦。</p><h3 id="第-5-步：看免费特性（Free-Features）"><a href="#第-5-步：看免费特性（Free-Features）" class="headerlink" title="第 5 步：看免费特性（Free Features）"></a>第 5 步：看免费特性（Free Features）</h3><p>TLD-List 在首页词条里列了常见免费特性分类，比如 DNS、邮箱、SSL、WHOIS 隐私等。</p><p>你不需要为“全家桶”买单。</p><p>但至少要知道你缺了什么。</p><h3 id="第-6-步：最后再回到“部署与-DNS”这件事"><a href="#第-6-步：最后再回到“部署与-DNS”这件事" class="headerlink" title="第 6 步：最后再回到“部署与 DNS”这件事"></a>第 6 步：最后再回到“部署与 DNS”这件事</h3><p>买域名只是开始。</p><p>你还要把域名指向你的站点。</p><p>如果你用 GitHub Pages，GitHub 文档里把 apex 域名、<code>www</code> 子域名、CNAME&#x2F;A 记录这些都讲得很清楚。</p><p>它还专门提醒了一个风险：如果你的 Pages 站点关掉了，但 DNS 记录还在，可能会有“域名接管”风险。</p><p>我看到这段的时候，背后一凉。</p><p>真的别忽略。</p><h2 id="一份我会复用的选域名清单"><a href="#一份我会复用的选域名清单" class="headerlink" title="一份我会复用的选域名清单"></a>一份我会复用的选域名清单</h2><p><img src="https://img.996007.icu/file/1768115724193_20260111151516043.png" alt="配图：域名清单信息图"></p><ul><li><input disabled="" type="checkbox"> 名字好读、好拼、够短</li><li><input disabled="" type="checkbox"> 候选后缀 ≥ 5 个</li><li><input disabled="" type="checkbox"> 续费价能接受（优先看续费）</li><li><input disabled="" type="checkbox"> 转入价清楚（需要迁移时别肉疼）</li><li><input disabled="" type="checkbox"> 无奇怪限制（能注册、能用）</li><li><input disabled="" type="checkbox"> 免费特性够用（至少 DNS 管理别太折磨人）</li><li><input disabled="" type="checkbox"> DNS 配置方案明确（apex &#x2F; www &#x2F; 子域名怎么走）</li><li><input disabled="" type="checkbox"> 站点停用时记得处理 DNS（避免接管风险）</li></ul><h2 id="写在最后"><a href="#写在最后" class="headerlink" title="写在最后"></a>写在最后</h2><p>AI 编程把“做产品”变快了。</p><p>但域名这件事，还是老老实实按常识来。</p><p>算清楚长期成本。</p><p>把入口握在自己手里。</p><p>如果你现在就准备买域名，我建议你直接打开 TLD-List：</p><ul><li>先看可用性。</li><li>再看续费价。</li><li>最后再考虑“哪个注册商送的东西更实在”。</li></ul><blockquote><p>对了补充一句, ICANN规定域名总注册时长不能超过10年。这个是我之前遇到的,本来在Spaceship上买了一个10年的xyz域名,想转移到腾讯云上备案!</p><p>结果因为转移还得续一年,导致超过年限了,还得等一年才能转移回来!</p></blockquote><p>祝你买到一个不会让你第二年骂街的域名。</p>]]></content>
    
    
    <summary type="html">AI 编程让“上线一个小产品”变快了，但域名最容易买错：只看首年价、忽略续费价、没算转入成本。本文先讲域名到底解决什么问题，再用 TLD-List 快速对比注册/续费/转入与免费特性，给你一份可复用的选域名清单。</summary>
    
    
    
    <category term="工具" scheme="https://www.wangwangit.com/categories/%E5%B7%A5%E5%85%B7/"/>
    
    
    <category term="域名" scheme="https://www.wangwangit.com/tags/%E5%9F%9F%E5%90%8D/"/>
    
    <category term="AI编程" scheme="https://www.wangwangit.com/tags/AI%E7%BC%96%E7%A8%8B/"/>
    
    <category term="独立开发" scheme="https://www.wangwangit.com/tags/%E7%8B%AC%E7%AB%8B%E5%BC%80%E5%8F%91/"/>
    
    <category term="工具推荐" scheme="https://www.wangwangit.com/tags/%E5%B7%A5%E5%85%B7%E6%8E%A8%E8%8D%90/"/>
    
  </entry>
  
</feed>
