<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>过客小站 HapLeo</title>
    <description>Node.js 前端 以及 Web相关的一切
</description>
    <link>https://blog.ahuan.tech/</link>
    <atom:link href="https://blog.ahuan.tech/feed.xml" rel="self" type="application/rss+xml"/>
    <pubDate>Fri, 19 Jun 2026 16:54:51 +0000</pubDate>
    <lastBuildDate>Fri, 19 Jun 2026 16:54:51 +0000</lastBuildDate>
    <generator>Jekyll v3.10.0</generator>
    
      <item>
        <title>在线AI视频 AI作图 平台 202604</title>
        <description>&lt;p&gt;&lt;a href=&quot;https://ai-bot.cn/favorites/ai-video-tools/&quot;&gt;https://ai-bot.cn/favorites/ai-video-tools/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://www.xinpianchang.com/&quot;&gt;https://www.xinpianchang.com/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://www.xingliu.art/&quot;&gt;https://www.xingliu.art/&lt;/a&gt; &lt;a href=&quot;https://www.lovart.ai/&quot;&gt;https://www.lovart.ai/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://fogsight.ai/&quot;&gt;https://fogsight.ai/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://yiyan.baidu.com/&quot;&gt;https://yiyan.baidu.com/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://aigc.baidu.com/home?from=huixiang_index&quot;&gt;https://aigc.baidu.com/home?from=huixiang_index&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;视频 AI大模型排行榜 &lt;a href=&quot;https://artificialanalysis.ai/video/models&quot;&gt;https://artificialanalysis.ai/video/models&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;网页版和 App ,功能并不完全一样。比如《即梦》和《千问》。&lt;/p&gt;

&lt;p&gt;即梦、可灵、通义万相、&lt;/p&gt;

&lt;p&gt;Vidu、PixVerse/Pai.video 、MiniMax 的 海螺视频&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;即梦&lt;/strong&gt; App 的出境功能。&lt;strong&gt;造次&lt;/strong&gt; App（www.zaoci.tv）。&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;千问&lt;/strong&gt; App 的 AI 视频功能。&lt;/p&gt;

&lt;p&gt;小云雀 App 的咕咕。豆包 App。随变 App。星绘 App。&lt;/p&gt;

&lt;p&gt;去水印 : 开拍 App。&lt;/p&gt;

&lt;p&gt;图片设计：搞定设计、图怪兽。&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://aivideomaker.ai/&quot;&gt;https://aivideomaker.ai/&lt;/a&gt; 免费低清视频生成&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://anishort.ai/featured-works&quot;&gt;https://anishort.ai/featured-works&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://www.mooliv.com/&quot;&gt;https://www.mooliv.com/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://shenbi.maoyan.com/create&quot;&gt;https://shenbi.maoyan.com/create&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://www.huasheng.cn/&quot;&gt;https://www.huasheng.cn/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://www.ihuiwa.com/&quot;&gt;https://www.ihuiwa.com/&lt;/a&gt; &lt;a href=&quot;https://agi.taobao.com/&quot;&gt;https://agi.taobao.com/&lt;/a&gt;  &lt;a href=&quot;https://d.design/&quot;&gt;https://d.design/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://www.zaodian.com/&quot;&gt;https://www.zaodian.com/&lt;/a&gt; &lt;a href=&quot;https://zaodian.quark.cn/&quot;&gt;&lt;strong&gt;https://zaodian.quark.cn/&lt;/strong&gt;&lt;/a&gt;  阿里旗下  免费生成图片（部分模型）&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://xiling.cloud.baidu.com/&quot;&gt;https://xiling.cloud.baidu.com/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://www.laihua.com/&quot;&gt;https://www.laihua.com/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://huiyingzimu.com/&quot;&gt;https://huiyingzimu.com/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://www.yunmuts.com/&quot;&gt;https://www.yunmuts.com/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://trans.xinpianchang.com/&quot;&gt;https://trans.xinpianchang.com/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://aibrm.com/&quot;&gt;https://aibrm.com/&lt;/a&gt; &lt;a href=&quot;https://magiclight.ai/&quot;&gt;https://magiclight.ai/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://drimo.cn/&quot;&gt;https://drimo.cn/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://updream.bilibili.com/&quot;&gt;https://updream.bilibili.com/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://tongyi.aliyun.com/wan/explore&quot;&gt;&lt;strong&gt;https://tongyi.aliyun.com/wan/explore&lt;/strong&gt;&lt;/a&gt;** **  免费慢速生成图片与视频  &lt;strong&gt;&lt;font style=&quot;background-color:#FBDE28;&quot;&gt;会员&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;wan.video / &lt;a href=&quot;https://tongyi.aliyun.com/wan/&quot;&gt;https://tongyi.aliyun.com/wan/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://www.modelscope.cn/aigc/videoGeneration&quot;&gt;https://www.modelscope.cn/aigc/videoGeneration&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://bailian.console.aliyun.com/cn-beijing/?tab=model#/model-market/all?providers=kling%2Cpixverse%2Cvidu%2Cwan&quot;&gt;&lt;strong&gt;https://bailian.console.aliyun.com/cn-beijing/?tab=model#/model-market/all?providers=kling%2Cpixverse%2Cvidu%2Cwan&lt;/strong&gt;&lt;/a&gt;  阿里云百炼  缺 海螺 和 即梦，其它全了&lt;/p&gt;

&lt;h2 id=&quot;中转站出品&quot;&gt;中转站出品。&lt;/h2&gt;
&lt;p&gt;&lt;a href=&quot;https://opentu.ai/&quot;&gt;https://opentu.ai/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://www.qingyeai.com/&quot;&gt;https://www.qingyeai.com/&lt;/a&gt;&lt;/p&gt;

&lt;h2 id=&quot;聚合站&quot;&gt;聚合站&lt;/h2&gt;
&lt;p&gt;fal.ai&lt;/p&gt;

&lt;p&gt;京东云  &lt;a href=&quot;https://lingjing.jdcloud.com/?utm_source=guanwang&quot;&gt;&lt;strong&gt;https://lingjing.jdcloud.com/&lt;/strong&gt;&lt;/a&gt; 按量付费 不贵&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://bumingai.ai6700.com/home&quot;&gt;&lt;strong&gt;https://bumingai.ai6700.com/home&lt;/strong&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;巨日禄**   **&lt;a href=&quot;https://video.jurilu.com/&quot;&gt;https://video.jurilu.com/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;纳米 AI 漫剧 &lt;a href=&quot;https://namistory.n.cn/&quot;&gt;https://namistory.n.cn/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;neo ai  &lt;a href=&quot;https://story.neodomain.cn/home&quot;&gt;&lt;strong&gt;https://story.neodomain.cn/home&lt;/strong&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://ouo.xuanyeai.com/&quot;&gt;&lt;strong&gt;https://ouo.xuanyeai.com/&lt;/strong&gt;&lt;/a&gt;** **&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://xianchou.com/&quot;&gt;https://xianchou.com/&lt;/a&gt; 模型聚合 按量付费 可能有点贵&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://www.tapnow.ai/&quot;&gt;https://www.tapnow.ai/&lt;/a&gt; 国人开发的平台&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://www.liblib.tv/&quot;&gt;https://www.liblib.tv/&lt;/a&gt; liblib 视频站&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://app.tomoviee.cn/&quot;&gt;https://app.tomoviee.cn/&lt;/a&gt;    &lt;a href=&quot;https://www.reelmate.cn/&quot;&gt;https://www.reelmate.cn/&lt;/a&gt;   万兴&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://www.liblib.art/&quot;&gt;https://www.liblib.art/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://www.haiyi.art/&quot;&gt;&lt;strong&gt;https://www.haiyi.art/&lt;/strong&gt;&lt;/a&gt;** **免费生成图片 会员无限生成图片&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://tusi.cn/&quot;&gt;https://tusi.cn/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://www.runninghub.cn/&quot;&gt;&lt;strong&gt;https://www.runninghub.cn/&lt;/strong&gt;&lt;/a&gt;** &lt;strong&gt;支持跑 comfyui 工作流 有第三方视频模型  **&lt;font style=&quot;background-color:#FBDE28;&quot;&gt;会员&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://seko.sensetime.com/explore&quot;&gt;https://seko.sensetime.com/explore&lt;/a&gt;** **商汤 适合短剧，不适合短视频。&lt;/p&gt;

</description>
        <pubDate>Sat, 04 Apr 2026 16:06:00 +0000</pubDate>
        <link>https://blog.ahuan.tech/ai/tools/2026/04/04/online-ai-video-image-platforms.html</link>
        <guid isPermaLink="true">https://blog.ahuan.tech/ai/tools/2026/04/04/online-ai-video-image-platforms.html</guid>
        
        
        <category>ai</category>
        
        <category>tools</category>
        
      </item>
    
      <item>
        <title>利用chrome-devtools-mcp实现AI控制浏览器</title>
        <description>&lt;h2 id=&quot;准备工作&quot;&gt;准备工作&lt;/h2&gt;
&lt;ul&gt;
  &lt;li&gt;下载Chrome浏览器，版本号 144 或更新。
    &lt;blockquote&gt;
      &lt;p&gt;https://www.google.cn/chrome/&lt;br /&gt;
或者换个DNS再试试&lt;/p&gt;
    &lt;/blockquote&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;打开Chrome，地址栏输入 &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;chrome://inspect/#remote-debugging&lt;/code&gt; , 勾选小对勾 ☑️&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;安装好node和npm 可以去 npmmirror.com 或 nodejs.org&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;安装好opencode
    &lt;blockquote&gt;
      &lt;p&gt;npm i -g opencode-ai
也可以去用 &lt;a href=&quot;https://www.trae.cn&quot;&gt;trae.cn&lt;/a&gt;&lt;/p&gt;
    &lt;/blockquote&gt;
  &lt;/li&gt;
  &lt;li&gt;为你的AI Agent配置chrome-devtools-mcp
    &lt;blockquote&gt;
      &lt;p&gt;举例 opencode 需要去 ~/.config/opencode/opencode.json中的mcp内添加&lt;/p&gt;
      &lt;div class=&quot;language-json highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nl&quot;&gt;&quot;chrome-devtools&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
    &lt;/span&gt;&lt;span class=&quot;nl&quot;&gt;&quot;type&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;local&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
    &lt;/span&gt;&lt;span class=&quot;nl&quot;&gt;&quot;enabled&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kc&quot;&gt;true&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
    &lt;/span&gt;&lt;span class=&quot;nl&quot;&gt;&quot;command&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
      &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;npx&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
      &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;-y&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
      &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;chrome-devtools-mcp@latest&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
      &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;--autoConnect&quot;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
    &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
  &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;      &lt;/div&gt;
    &lt;/blockquote&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&quot;其它&quot;&gt;其它&lt;/h2&gt;
&lt;p&gt;如果是windows系统，最好去安装powershell 7&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;https://learn.microsoft.com/en-us/powershell/scripting/install/install-powershell-on-windows?view=powershell-7.6&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;可以减少opencode / kilocode 的报错、显示混乱问题。&lt;/p&gt;

</description>
        <pubDate>Thu, 26 Mar 2026 11:35:02 +0000</pubDate>
        <link>https://blog.ahuan.tech/ai/2026/03/26/chrome-devtools-mcp.html</link>
        <guid isPermaLink="true">https://blog.ahuan.tech/ai/2026/03/26/chrome-devtools-mcp.html</guid>
        
        
        <category>ai</category>
        
      </item>
    
      <item>
        <title>国产大模型的应用与Agent平台汇总</title>
        <description>&lt;p&gt;20260513 更新&lt;/p&gt;

&lt;p&gt;zcode.z.ai  本地&lt;br /&gt;
aionui.com  本地&lt;br /&gt;
https://github.com/OpenCoworkAI/open-cowork  本地&lt;/p&gt;

&lt;p&gt;20260507更新&lt;/p&gt;

&lt;p&gt;WorkBuddy、Trae SOLO、豆包的超能模式、&lt;br /&gt;
&lt;del&gt;智谱清言AgentMore&lt;/del&gt;、智谱AutoGLM、&lt;br /&gt;
MiniMax、&lt;del&gt;Kimi&lt;/del&gt; 、 扣子coze.cn 的网页版，也就是云端Agent能力，&lt;br /&gt;
特别强。&lt;br /&gt;
(划线的，比较贵 或 需要会员)&lt;/p&gt;

&lt;hr /&gt;

&lt;p&gt;以下是 20260506 更新&lt;/p&gt;

&lt;p&gt;accio.com&lt;br /&gt;
wukong.dingtalk.com   钉钉悟空&lt;br /&gt;
solo.trae.cn  Trae SOLO&lt;br /&gt;
qclaw.qq.com&lt;br /&gt;
www.codebuddy.cn/work &lt;br /&gt;
jvsclaw.aliyun.com &lt;br /&gt;
yuanbao.tencent.com  腾讯元宝&lt;/p&gt;

&lt;hr /&gt;

&lt;p&gt;以下是20260228 updated&lt;/p&gt;

&lt;h2 id=&quot;云厂商--或-to-b&quot;&gt;云厂商  或 To B&lt;/h2&gt;
&lt;p&gt;阿里云 百炼 应用开发 应用广场&lt;br /&gt;
https://bailian.console.aliyun.com/cn-beijing/?tab=app#/app-market/suggest&lt;/p&gt;

&lt;p&gt;淘宝 万相营造&lt;br /&gt;
https://agi.taobao.com&lt;/p&gt;

&lt;p&gt;其它平台&lt;/p&gt;
&lt;blockquote&gt;
  &lt;p&gt;https://d.design/&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;火山方舟 应用实验室&lt;br /&gt;
https://console.volcengine.com/ark/region:ark+cn-beijing/application&lt;/p&gt;

&lt;p&gt;火山引擎 创作Agent&lt;br /&gt;
https://console.volcengine.com/kickart&lt;/p&gt;

&lt;p&gt;扣子&lt;br /&gt;
https://www.coze.cn/overview&lt;br /&gt;
https://www.coze.cn/loop&lt;br /&gt;
https://www.coze.cn/opensource&lt;/p&gt;

&lt;p&gt;文心智能体平台&lt;br /&gt;
https://agents.baidu.com/center&lt;/p&gt;

&lt;p&gt;百度云 千帆 Agent开发&lt;br /&gt;
https://console.bce.baidu.com/qianfan/studio/officialAppCenter&lt;/p&gt;

&lt;h2 id=&quot;大模型-小厂--或-to-c&quot;&gt;大模型 小厂  或 To C&lt;/h2&gt;

&lt;p&gt;minimaxi&lt;br /&gt;
https://agent.minimaxi.com/&lt;/p&gt;

&lt;p&gt;智谱 AI开放平台 应用空间&lt;br /&gt;
https://open.bigmodel.cn/marketplace/index/agent&lt;br /&gt;
智谱 AI开放平台 智能体广场  &lt;br /&gt;
https://bigmodel.cn/console/appcenter_v2/intelligent/center&lt;br /&gt;
智谱清言 智能体中心&lt;br /&gt;
https://chatglm.cn/main/toolsCenter?lang=zh&lt;br /&gt;
智谱&lt;br /&gt;
https://autoglm.zhipuai.cn/&lt;/p&gt;

&lt;p&gt;kimi agent&lt;br /&gt;
https://www.kimi.com/agent&lt;/p&gt;

&lt;p&gt;豆包 AI智能体&lt;br /&gt;
https://www.doubao.com/chat/bot/discover&lt;/p&gt;

&lt;p&gt;豆包 应用生成 创作广场&lt;br /&gt;
https://www.doubao.com/code/launch&lt;/p&gt;

&lt;h2 id=&quot;其他-文生图-文生视频&quot;&gt;其他 文生图 文生视频&lt;/h2&gt;
&lt;p&gt;即梦&lt;br /&gt;
小云雀&lt;br /&gt;
可灵&lt;br /&gt;
Vidu&lt;br /&gt;
智谱&lt;br /&gt;
minimax 海螺&lt;br /&gt;
通义万象&lt;br /&gt;
美图设计室&lt;br /&gt;
whee.com&lt;br /&gt;
像素蛋糕&lt;br /&gt;
吐司TusiArt TensorArt tusi.cn&lt;br /&gt;
liblibai liblib.art&lt;br /&gt;
海艺 www.haiyi.art&lt;/p&gt;
</description>
        <pubDate>Sat, 28 Feb 2026 07:35:02 +0000</pubDate>
        <link>https://blog.ahuan.tech/ai/2026/02/28/china-large-model-app-n-agent-platforms.html</link>
        <guid isPermaLink="true">https://blog.ahuan.tech/ai/2026/02/28/china-large-model-app-n-agent-platforms.html</guid>
        
        
        <category>ai</category>
        
      </item>
    
      <item>
        <title>大模型编程与cli</title>
        <description>&lt;h2 id=&quot;御三家&quot;&gt;御三家&lt;/h2&gt;
&lt;p&gt;😊claude code / 😊codex cli / gemini cli&lt;br /&gt;
以及VSCode插件&lt;br /&gt;
仅仅对自家模型配合较好，需要配合各种API大模型中转站使用&lt;/p&gt;

&lt;h2 id=&quot;qwen-code&quot;&gt;Qwen Code&lt;/h2&gt;
&lt;p&gt;开源，基于gemini cli&lt;br /&gt;
理论上可以配置各种模型的API接口和key。&lt;/p&gt;

&lt;h2 id=&quot;iflow-cli&quot;&gt;iflow cli&lt;/h2&gt;
&lt;p&gt;https://platform.iflow.cn/cli/quickstart&lt;br /&gt;
可以免费用国产模型，但并发为1，上下文也有缩水。&lt;/p&gt;

&lt;h2 id=&quot;opencodeai&quot;&gt;opencode.ai&lt;/h2&gt;
&lt;p&gt;主推cli。支持模型较多，但据说token消耗较快。&lt;/p&gt;

&lt;h2 id=&quot;factoryai-droid&quot;&gt;factory.ai droid&lt;/h2&gt;
&lt;p&gt;主推cli。可配置第三方模型。&lt;/p&gt;

&lt;h2 id=&quot;腾讯-codebuddy&quot;&gt;腾讯 CodeBuddy&lt;/h2&gt;
&lt;p&gt;国内版有IDE / 插件 / cli ， cli支持配置第三方API与key&lt;br /&gt;
目前在 cnb.cool 平台可免费使用。&lt;/p&gt;

&lt;hr color=&quot;#ddd&quot; /&gt;
&lt;p&gt;分割线 下方的cli能力很弱&lt;/p&gt;

&lt;h2 id=&quot;字节-trae&quot;&gt;字节 Trae&lt;/h2&gt;
&lt;p&gt;Trae首推IDE。&lt;br /&gt;
VSCode插件基本没人用。&lt;br /&gt;
CLI，仅国内企业版的最高端套餐可用。199元每月每人。&lt;br /&gt;
😊企业版最低49元包月，仅含豆包大模型，可自定义大模型和baseUrl&lt;br /&gt;
企业版99元，可用国内模型。&lt;br /&gt;
按量计费。&lt;/p&gt;

&lt;h2 id=&quot;阿里-通义灵码&quot;&gt;阿里 通义灵码&lt;/h2&gt;
&lt;p&gt;仅有IDE和插件，无cli产品。&lt;br /&gt;
企业版仅可设置阿里云或DeepSeek平台上的模型。&lt;br /&gt;
😊&lt;strong&gt;企业版最低79元包月，随便用阿里自家大模型。&lt;/strong&gt;&lt;/p&gt;

&lt;h2 id=&quot;cline--roo-code--kilo-code&quot;&gt;Cline / Roo Code / Kilo Code&lt;/h2&gt;
&lt;p&gt;VSCode插件。  可配置各种模型。&lt;/p&gt;

&lt;h2 id=&quot;modelscope&quot;&gt;ModelScope&lt;/h2&gt;
&lt;p&gt;可以免费用一定额度的国产模型API&lt;/p&gt;

&lt;hr color=&quot;red&quot; /&gt;
&lt;p&gt;分割线下方的产品不推荐&lt;/p&gt;

&lt;h2 id=&quot;阿里-qoder&quot;&gt;阿里 Qoder&lt;/h2&gt;
&lt;p&gt;有cli产品，需要登录账号使用，不支持配置第三方API与key&lt;/p&gt;

&lt;h2 id=&quot;百度-comate-文心快码&quot;&gt;百度 Comate 文心快码&lt;/h2&gt;
&lt;p&gt;有IDE和插件。无cli产品。&lt;/p&gt;

&lt;h1 id=&quot;其他工具&quot;&gt;其他工具&lt;/h1&gt;
&lt;p&gt;https://github.com/farion1231/cc-switch&lt;br /&gt;
https://github.com/router-for-me/CLIProxyAPI&lt;br /&gt;
https://relaypulse.top/&lt;br /&gt;
https://www.getcheapai.com/&lt;br /&gt;
https://aiping.cn/&lt;/p&gt;

</description>
        <pubDate>Wed, 25 Feb 2026 02:35:00 +0000</pubDate>
        <link>https://blog.ahuan.tech/tech/ai/2026/02/25/large-model-coding-and-cli.html</link>
        <guid isPermaLink="true">https://blog.ahuan.tech/tech/ai/2026/02/25/large-model-coding-and-cli.html</guid>
        
        
        <category>tech</category>
        
        <category>ai</category>
        
      </item>
    
      <item>
        <title>在claude-code和codex中增加完成提示</title>
        <description>&lt;h2 id=&quot;claude-code-macos&quot;&gt;claude-code macOS&lt;/h2&gt;
&lt;p&gt;~/.claude/settings.json&lt;br /&gt;
json文件中，增加 hooks 键：&lt;/p&gt;
&lt;div class=&quot;language-json highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nl&quot;&gt;&quot;hooks&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
    &lt;/span&gt;&lt;span class=&quot;nl&quot;&gt;&quot;Stop&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
      &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
        &lt;/span&gt;&lt;span class=&quot;nl&quot;&gt;&quot;hooks&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
          &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
            &lt;/span&gt;&lt;span class=&quot;nl&quot;&gt;&quot;command&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;/Applications/terminal-notifier.app/Contents/MacOS/terminal-notifier -title &lt;/span&gt;&lt;span class=&quot;se&quot;&gt;\&quot;&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;Claude Code&lt;/span&gt;&lt;span class=&quot;se&quot;&gt;\&quot;&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt; -message &lt;/span&gt;&lt;span class=&quot;se&quot;&gt;\&quot;&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;任务已完成✅&lt;/span&gt;&lt;span class=&quot;se&quot;&gt;\&quot;&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt; -sound default -group &lt;/span&gt;&lt;span class=&quot;se&quot;&gt;\&quot;&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;Claude Code&lt;/span&gt;&lt;span class=&quot;se&quot;&gt;\&quot;&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt; -activate &apos;com.microsoft.VSCode&apos;&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
            &lt;/span&gt;&lt;span class=&quot;nl&quot;&gt;&quot;type&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;command&quot;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
          &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
        &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;],&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
        &lt;/span&gt;&lt;span class=&quot;nl&quot;&gt;&quot;matcher&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;*&quot;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
      &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
    &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
  &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;terminal-notifier 来自于github 或homebrew&lt;/p&gt;

&lt;h2 id=&quot;codex-macos&quot;&gt;codex macOS&lt;/h2&gt;
&lt;p&gt;~/.codex/config.toml&lt;/p&gt;
&lt;div class=&quot;language-toml highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;py&quot;&gt;notify&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;[&lt;/span&gt;
    &lt;span class=&quot;s&quot;&gt;&quot;terminal-notifier&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;
    &lt;span class=&quot;s&quot;&gt;&quot;-title&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;Codex&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;
    &lt;span class=&quot;s&quot;&gt;&quot;-message&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;任务已完成✅&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;
    &lt;span class=&quot;s&quot;&gt;&quot;-sound&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;Ping&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;
    &lt;span class=&quot;s&quot;&gt;&quot;-group&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;Codex&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;
    &lt;span class=&quot;s&quot;&gt;&quot;-activate&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;com.microsoft.VSCode&quot;&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;]&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;h2 id=&quot;提示&quot;&gt;提示&lt;/h2&gt;
&lt;p&gt;不能开勿扰模式&lt;br /&gt;
系统设置 Notification 中，打开通知权限&lt;br /&gt;
隐私和安全中，允许安装和打开terminal-notifier&lt;br /&gt;
chmod a+x&lt;/p&gt;

&lt;p&gt;参数说明:&lt;/p&gt;

&lt;p&gt;title: 大标题
message: 提示信息
sound: 音频文件, 来源 /System/Library/Sounds, 只需要写文件名
group: 分组ID, 只会显示同一个group下的最后消息
activate: 点击通知后激活的app, 后面的是包名, 在xxx.app/content/plist中, CFBundleIdentifier字段对应的值, 我现在配置的是VS Code&lt;/p&gt;
</description>
        <pubDate>Sat, 10 Jan 2026 12:22:00 +0000</pubDate>
        <link>https://blog.ahuan.tech/tech/2026/01/10/alert-in-claude-code-and-codex.html</link>
        <guid isPermaLink="true">https://blog.ahuan.tech/tech/2026/01/10/alert-in-claude-code-and-codex.html</guid>
        
        
        <category>tech</category>
        
      </item>
    
      <item>
        <title>理论上合法的外网访问途径</title>
        <description>&lt;h2 id=&quot;sd-wan--专线-中国境内企业&quot;&gt;SD-WAN / 专线 （中国境内企业）&lt;/h2&gt;
&lt;p&gt;😀 https://zhijianchuhai.com/  (南凌科技)&lt;br /&gt;
https://www.seaarea.com/sdwan/sase/&lt;br /&gt;
🙂 https://www.vdnlink.cn/ 视界云&lt;/p&gt;

&lt;p&gt;https://www.wanflow.com/&lt;br /&gt;
https://qingkuajing.com/index.html  (Kaopu Yun)&lt;br /&gt;
🙂 https://www.osdwan.com/price  （共享IP共享带宽价格低 可以自助注册）（com/cn/net）&lt;br /&gt;
😀 ipdodo.com  （独享IP低带宽价格低）&lt;br /&gt;
约播云 （需要盒子）&lt;br /&gt;
ipipgo 可能没有跨境资质&lt;/p&gt;

&lt;h2 id=&quot;云电脑&quot;&gt;云电脑&lt;/h2&gt;
&lt;p&gt;https://www.suanlix.cn/&lt;/p&gt;

&lt;p&gt;或者，阿里云/腾讯云等知名云厂商的Windows Server服务器，&lt;br /&gt;
配合远程桌面，或者其它远程控制软件，&lt;br /&gt;
如 ToDesk / 向日葵 / RayLink / RustDesk 等。&lt;/p&gt;

&lt;h2 id=&quot;云手机&quot;&gt;云手机&lt;/h2&gt;
&lt;p&gt;https://www.vmoscloud.com/zh ( 国内官网 vmos.cn )&lt;/p&gt;

&lt;h2 id=&quot;跨境电商浏览器&quot;&gt;跨境电商浏览器&lt;/h2&gt;
&lt;p&gt;https://www.ziniao.com/  紫鸟浏览器&lt;/p&gt;

&lt;h2 id=&quot;中国电信澳门手机卡&quot;&gt;中国电信澳门手机卡&lt;/h2&gt;
&lt;p&gt;需要去澳门激活&lt;br /&gt;
https://www.1888.com.mo/&lt;/p&gt;

&lt;h2 id=&quot;中国电信香港-手机卡&quot;&gt;中国电信香港 手机卡&lt;/h2&gt;
&lt;p&gt;需要港澳通行证或者护照，实名登记&lt;br /&gt;
https://mobile.chinatelecom.com.hk/&lt;/p&gt;

&lt;h2 id=&quot;中国联通香港esim&quot;&gt;中国联通香港ESIM&lt;/h2&gt;
&lt;p&gt;https://www.cuniq.com/global/personal&lt;/p&gt;

&lt;h2 id=&quot;cmlink-esim&quot;&gt;CMLink ESIM&lt;/h2&gt;
&lt;p&gt;https://esim.cmlink.com/&lt;/p&gt;

&lt;h2 id=&quot;three-hk&quot;&gt;Three HK&lt;/h2&gt;
&lt;p&gt;https://www.three.com.hk/&lt;/p&gt;
</description>
        <pubDate>Wed, 26 Nov 2025 12:22:00 +0000</pubDate>
        <link>https://blog.ahuan.tech/tech/network/2025/11/26/legal-global-network-access.html</link>
        <guid isPermaLink="true">https://blog.ahuan.tech/tech/network/2025/11/26/legal-global-network-access.html</guid>
        
        
        <category>tech</category>
        
        <category>network</category>
        
      </item>
    
      <item>
        <title>Claude Code与Codex如何配置第三方中转站</title>
        <description>&lt;h2 id=&quot;claude-code&quot;&gt;claude-code&lt;/h2&gt;
&lt;p&gt;建议使用&lt;strong&gt;智谱&lt;/strong&gt;，国产，包年仅需240元，日常轻量使用够用。&lt;/p&gt;
&lt;h3 id=&quot;安装claude-code&quot;&gt;安装claude-code&lt;/h3&gt;
&lt;p&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;npm install -g @anthropic-ai/claude-code&lt;/code&gt;&lt;/p&gt;
&lt;h3 id=&quot;设置环境变量&quot;&gt;设置环境变量&lt;/h3&gt;
&lt;p&gt;我的电脑为macOS系统。仅供参考。&lt;br /&gt;
编辑 &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;~/.zshrc&lt;/code&gt;&lt;/p&gt;
&lt;div class=&quot;language-sh highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;export &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;ANTHROPIC_BASE_URL&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;https://open.bigmodel.cn/api/anthropic&quot;&lt;/span&gt;
&lt;span class=&quot;nb&quot;&gt;export &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;ANTHROPIC_AUTH_TOKEN&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;aaa.bbb&quot;&lt;/span&gt;

&lt;span class=&quot;nb&quot;&gt;export &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;ANTHROPIC_MODEL&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;glm-4.6&quot;&lt;/span&gt;
&lt;span class=&quot;nb&quot;&gt;export &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;ANTHROPIC_DEFAULT_OPUS_MODEL&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;glm-4.6&quot;&lt;/span&gt;
&lt;span class=&quot;nb&quot;&gt;export &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;ANTHROPIC_DEFAULT_SONNET_MODEL&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;glm-4.6&quot;&lt;/span&gt;
&lt;span class=&quot;nb&quot;&gt;export &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;ANTHROPIC_SMALL_FAST_MODEL&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;glm-4.5-air&quot;&lt;/span&gt;
&lt;span class=&quot;nb&quot;&gt;export &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;ANTHROPIC_DEFAULT_HAIKU_MODEL&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;glm-4.5-air&quot;&lt;/span&gt;

&lt;span class=&quot;nb&quot;&gt;export &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;1&quot;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;编辑 ~/.claude/config.json&lt;/p&gt;
&lt;div class=&quot;language-json highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
  &lt;/span&gt;&lt;span class=&quot;nl&quot;&gt;&quot;primaryApiKey&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;default&quot;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;然后就可以在terminal或者powershell/cmd内执行&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;claude&lt;/code&gt;了。&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;&lt;a href=&quot;https://docs.claude.com/en/docs/claude-code/overview&quot;&gt;docs&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;https://www.npmjs.com/package/@anthropic-ai/claude-code&quot;&gt;npm&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;https://docs.bigmodel.cn/cn/coding-plan/tool/claude&quot;&gt;智谱&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2 id=&quot;codex&quot;&gt;codex&lt;/h2&gt;
&lt;p&gt;建议使用 具有缓存功能的模型或中转站。&lt;/p&gt;
&lt;h3 id=&quot;安装codex&quot;&gt;安装codex&lt;/h3&gt;
&lt;p&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;npm install -g @openai/codex&lt;/code&gt;&lt;/p&gt;
&lt;h3 id=&quot;创建配置文件-与-设置环境变量&quot;&gt;创建配置文件 与 设置环境变量&lt;/h3&gt;
&lt;p&gt;我的电脑为macOS系统。仅供参考。&lt;br /&gt;
&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;vi ~/.codex/config.toml&lt;/code&gt;&lt;/p&gt;
&lt;div class=&quot;language-ini highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;py&quot;&gt;model_provider&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;s&quot;&gt;&quot;deepseek&quot;&lt;/span&gt;
&lt;span class=&quot;py&quot;&gt;model&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;s&quot;&gt;&quot;deepseek-chat&quot;&lt;/span&gt;
&lt;span class=&quot;c&quot;&gt;# model_provider = &quot;shareyourcc&quot;
# model = &quot;gpt-5&quot; 
# model_reasoning_effort = &quot;high&quot;
&lt;/span&gt;
&lt;span class=&quot;c&quot;&gt;# network_access = &quot;enabled&quot;
&lt;/span&gt;&lt;span class=&quot;py&quot;&gt;disable_response_storage&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;s&quot;&gt;true&lt;/span&gt;

&lt;span class=&quot;py&quot;&gt;notify&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;s&quot;&gt;[&lt;/span&gt;
    &lt;span class=&quot;err&quot;&gt;&quot;terminal-notifier&quot;,&lt;/span&gt;
    &lt;span class=&quot;err&quot;&gt;&quot;-title&quot;,&quot;Codex&quot;,&lt;/span&gt;
    &lt;span class=&quot;err&quot;&gt;&quot;-message&quot;,&quot;任务已完成✅&quot;,&lt;/span&gt;
    &lt;span class=&quot;err&quot;&gt;&quot;-sound&quot;,&quot;Glass&quot;,&lt;/span&gt;
    &lt;span class=&quot;err&quot;&gt;&quot;-group&quot;,&quot;Codex&quot;&lt;/span&gt;
&lt;span class=&quot;err&quot;&gt;]&lt;/span&gt;

&lt;span class=&quot;nn&quot;&gt;[features]&lt;/span&gt;
&lt;span class=&quot;py&quot;&gt;web_search_request&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;s&quot;&gt;true&lt;/span&gt;


&lt;span class=&quot;nn&quot;&gt;[model_providers.shareyourcc]&lt;/span&gt;
&lt;span class=&quot;py&quot;&gt;name&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;s&quot;&gt;&quot;shareyourcc&quot;&lt;/span&gt;
&lt;span class=&quot;py&quot;&gt;base_url&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;s&quot;&gt;&quot;https://api-us.shareyour.cc/v1&quot;&lt;/span&gt;
&lt;span class=&quot;py&quot;&gt;env_key&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;s&quot;&gt;&quot;CODEX_API_KEY_SHAREYOURCC&quot;&lt;/span&gt;    
&lt;span class=&quot;s&quot;&gt;wire_api = &quot;responses&quot;&lt;/span&gt;
&lt;span class=&quot;c&quot;&gt;# requires_openai_auth = true
&lt;/span&gt;
&lt;span class=&quot;nn&quot;&gt;[model_providers.duck]&lt;/span&gt;
&lt;span class=&quot;py&quot;&gt;name&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;s&quot;&gt;&quot;duck&quot;&lt;/span&gt;
&lt;span class=&quot;py&quot;&gt;base_url&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;s&quot;&gt;&quot;https://jp.duckcoding.com/v1&quot;&lt;/span&gt;
&lt;span class=&quot;py&quot;&gt;env_key&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;s&quot;&gt;&quot;CODEX_API_KEY_DUCKCODING&quot;&lt;/span&gt;    
&lt;span class=&quot;s&quot;&gt;wire_api = &quot;responses&quot;&lt;/span&gt;

&lt;span class=&quot;nn&quot;&gt;[model_providers.deepseek]&lt;/span&gt;
&lt;span class=&quot;py&quot;&gt;name&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;s&quot;&gt;&quot;deepseek&quot;&lt;/span&gt;
&lt;span class=&quot;py&quot;&gt;base_url&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;s&quot;&gt;&quot;https://api.deepseek.com&quot;&lt;/span&gt;
&lt;span class=&quot;py&quot;&gt;env_key&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;s&quot;&gt;&quot;CODEX_API_KEY_DEEPSEEK&quot;&lt;/span&gt;    
&lt;span class=&quot;s&quot;&gt;wire_api = &quot;chat&quot;&lt;/span&gt;

&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;编辑 &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;~/.zshrc&lt;/code&gt;:&lt;/p&gt;
&lt;div class=&quot;language-sh highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;export &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;CODEX_API_KEY_SHAREYOURCC&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;sk-user-bbb&quot;&lt;/span&gt;
&lt;span class=&quot;nb&quot;&gt;export &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;CODEX_API_KEY_DUCKCODING&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;sk-ccc&quot;&lt;/span&gt;
&lt;span class=&quot;nb&quot;&gt;export &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;CODEX_API_KEY_DEEPSEEK&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;sk-ddd&quot;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;编辑 ~/.codex/auth.json&lt;/p&gt;
&lt;div class=&quot;language-json highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
  &lt;/span&gt;&lt;span class=&quot;nl&quot;&gt;&quot;OPENAI_API_KEY&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kc&quot;&gt;null&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;然后就可以在terminal或者powershell/cmd内执行&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;codex&lt;/code&gt;了。&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;&lt;a href=&quot;https://www.npmjs.com/package/@openai/codex&quot;&gt;npm&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;https://github.com/openai/codex/blob/HEAD/codex-cli/docs/config.md&quot;&gt;config&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
</description>
        <pubDate>Wed, 01 Oct 2025 11:52:00 +0000</pubDate>
        <link>https://blog.ahuan.tech/tech/ai/claude/codex/2025/10/01/claude-code-codex-how-to-configure.html</link>
        <guid isPermaLink="true">https://blog.ahuan.tech/tech/ai/claude/codex/2025/10/01/claude-code-codex-how-to-configure.html</guid>
        
        
        <category>tech</category>
        
        <category>ai</category>
        
        <category>claude</category>
        
        <category>codex</category>
        
      </item>
    
      <item>
        <title>ssh-keygen与ssh-copy-id的用法</title>
        <description>&lt;h2 id=&quot;简介&quot;&gt;简介&lt;/h2&gt;

&lt;p&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;ssh-keygen&lt;/code&gt; 和 &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;ssh-copy-id&lt;/code&gt; 是 OpenSSH 工具集中非常实用的两个命令，它们配合使用可以方便地实现基于密钥的 SSH 无密码认证，从而提高服务器访问的安全性与便捷性。&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;ssh-keygen&lt;/code&gt;&lt;/strong&gt;: 用于生成、管理和转换认证密钥。&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;ssh-copy-id&lt;/code&gt;&lt;/strong&gt;: 用于将本地的公钥（&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;id_rsa.pub&lt;/code&gt;）复制到远程主机的 &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;~/.ssh/authorized_keys&lt;/code&gt; 文件中。&lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&quot;ssh-keygen-的用法&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;ssh-keygen&lt;/code&gt; 的用法&lt;/h2&gt;

&lt;p&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;ssh-keygen&lt;/code&gt; 命令用于创建一个新的 SSH 密钥对（一个私钥和一个公钥）。&lt;/p&gt;

&lt;h3 id=&quot;1-生成默认密钥对&quot;&gt;1. 生成默认密钥对&lt;/h3&gt;

&lt;p&gt;直接运行以下命令即可生成一个默认的 RSA 密钥对：&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;ssh-keygen
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;执行过程中，系统会提示您：&lt;/p&gt;
&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;选择密钥文件的保存位置&lt;/strong&gt;：可以直接按回车键接受默认路径（通常是 &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;~/.ssh/id_rsa&lt;/code&gt;）。&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;设置私钥的密码（passphrase）&lt;/strong&gt;：这是一个可选的安全增强措施。如果设置了密码，每次使用私钥时都需要输入该密码。如果不需要，可以直接按回车键跳过。&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 id=&quot;2-生成指定类型的密钥对&quot;&gt;2. 生成指定类型的密钥对&lt;/h3&gt;

&lt;p&gt;您也可以使用 &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;-t&lt;/code&gt; 参数指定密钥的类型，例如生成一个更安全的 &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;ed25519&lt;/code&gt; 类型的密钥：&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;ssh-keygen &lt;span class=&quot;nt&quot;&gt;-t&lt;/span&gt; ed25519 &lt;span class=&quot;nt&quot;&gt;-C&lt;/span&gt; &lt;span class=&quot;s2&quot;&gt;&quot;your_email@example.com&quot;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
&lt;ul&gt;
  &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;-t ed25519&lt;/code&gt;: 指定密钥类型为 ed25519。&lt;/li&gt;
  &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;-C &quot;your_email@example.com&quot;&lt;/code&gt;: 为密钥添加一个注释，通常是您的邮箱地址，方便识别。&lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&quot;ssh-copy-id-的用法&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;ssh-copy-id&lt;/code&gt; 的用法&lt;/h2&gt;

&lt;p&gt;当您生成了密钥对之后，需要将公钥（默认为 &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;~/.ssh/id_rsa.pub&lt;/code&gt;）的内容添加到您希望无密码登录的远程服务器上。&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;ssh-copy-id&lt;/code&gt; 命令可以自动完成这个过程。&lt;/p&gt;

&lt;h3 id=&quot;1-复制公钥到远程服务器&quot;&gt;1. 复制公钥到远程服务器&lt;/h3&gt;

&lt;p&gt;假设远程服务器的用户名是 &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;user&lt;/code&gt;，IP地址是 &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;remote_host&lt;/code&gt;，执行以下命令：&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;ssh-copy-id user@remote_host
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;系统会提示您输入 &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;user&lt;/code&gt; 在 &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;remote_host&lt;/code&gt; 上的登录密码。输入正确密码后，&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;ssh-copy-id&lt;/code&gt; 会自动将您的公钥追加到远程服务器的 &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;~/.ssh/authorized_keys&lt;/code&gt; 文件中。&lt;/p&gt;

&lt;h3 id=&quot;2-指定要复制的公钥文件&quot;&gt;2. 指定要复制的公钥文件&lt;/h3&gt;

&lt;p&gt;如果您的公钥文件不是默认的 &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;id_rsa.pub&lt;/code&gt;，可以使用 &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;-i&lt;/code&gt; 参数指定其路径：&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;ssh-copy-id &lt;span class=&quot;nt&quot;&gt;-i&lt;/span&gt; ~/.ssh/my_other_key.pub user@remote_host
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;h2 id=&quot;验证无密码登录&quot;&gt;验证无密码登录&lt;/h2&gt;

&lt;p&gt;完成上述步骤后，尝试再次通过 SSH 连接到远程服务器：&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;ssh user@remote_host
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;如果一切顺利，您应该可以直接登录，无需再输入密码。&lt;/p&gt;
</description>
        <pubDate>Wed, 03 Sep 2025 04:22:00 +0000</pubDate>
        <link>https://blog.ahuan.tech/tech/tools/2025/09/03/ssh-keygen-and-ssh-copy-id-usage.html</link>
        <guid isPermaLink="true">https://blog.ahuan.tech/tech/tools/2025/09/03/ssh-keygen-and-ssh-copy-id-usage.html</guid>
        
        
        <category>tech</category>
        
        <category>tools</category>
        
      </item>
    
      <item>
        <title>screen命令的基本用法</title>
        <description>&lt;!-- 在这里开始您的文章内容 --&gt;

&lt;h2 id=&quot;什么是-screen&quot;&gt;什么是 screen&lt;/h2&gt;

&lt;p&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;screen&lt;/code&gt; 是一个在Linux和Unix系统中广泛使用的终端多路复用器（terminal multiplexer）。简单来说，它允许用户在一个物理终端窗口中创建和管理多个独立的虚拟终端会话。&lt;/p&gt;

&lt;h2 id=&quot;为什么使用-screen&quot;&gt;为什么使用 screen&lt;/h2&gt;

&lt;p&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;screen&lt;/code&gt; 最强大的功能在于，即使用户的SSH连接意外断开，或者用户主动分离（detach）会话，在&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;screen&lt;/code&gt;会话中运行的程序也会继续在后台执行。这对于需要长时间运行的任务（如软件编译、数据备份、运行机器人或服务器程序）来说至关重要。&lt;/p&gt;

&lt;p&gt;主要优点：&lt;/p&gt;
&lt;ol&gt;
  &lt;li&gt;&lt;strong&gt;防止任务中断&lt;/strong&gt;：网络断开或关闭终端时，远程服务器上运行的任务不会中断。&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;会话共享&lt;/strong&gt;：多个用户可以连接到同一个&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;screen&lt;/code&gt;会话，实时查看相同的终端内容，非常适合团队协作和远程教学。&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;多窗口管理&lt;/strong&gt;：在一个&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;screen&lt;/code&gt;会话中可以创建多个窗口，每个窗口就像一个独立的终端，可以轻松切换，便于同时处理多个任务。&lt;/li&gt;
&lt;/ol&gt;

&lt;h2 id=&quot;安装&quot;&gt;安装&lt;/h2&gt;

&lt;p&gt;在大多数Linux发行版中，&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;screen&lt;/code&gt; 通常已经预装了。如果你的系统没有安装，可以使用系统的包管理器来安装。&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Debian/Ubuntu 系统:&lt;/strong&gt;
    &lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;apt update
&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;apt &lt;span class=&quot;nb&quot;&gt;install &lt;/span&gt;screen
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;    &lt;/div&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;CentOS/RHEL 系统:&lt;/strong&gt;
    &lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nb&quot;&gt;sudo &lt;/span&gt;yum &lt;span class=&quot;nb&quot;&gt;install &lt;/span&gt;screen
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;    &lt;/div&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&quot;基本用法&quot;&gt;基本用法&lt;/h2&gt;

&lt;h3 id=&quot;1-创建新会话&quot;&gt;1. 创建新会话&lt;/h3&gt;

&lt;p&gt;直接输入 &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;screen&lt;/code&gt; 即可创建一个新的匿名会话。但更推荐使用 &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;-S&lt;/code&gt; 参数为会话命名，方便后续管理。&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;c&quot;&gt;# 创建一个名为 my_session 的会话&lt;/span&gt;
screen &lt;span class=&quot;nt&quot;&gt;-S&lt;/span&gt; my_session
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;h3 id=&quot;2-分离detach会话&quot;&gt;2. 分离（Detach）会话&lt;/h3&gt;

&lt;p&gt;当你想让会话在后台继续运行并返回到主终端时，可以按下快捷键 &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Ctrl+a&lt;/code&gt;，然后再按 &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;d&lt;/code&gt;。&lt;/p&gt;

&lt;h3 id=&quot;3-查看会话列表&quot;&gt;3. 查看会话列表&lt;/h3&gt;

&lt;p&gt;使用 &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;-ls&lt;/code&gt; 或 &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;--list&lt;/code&gt; 参数可以列出所有正在运行的 &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;screen&lt;/code&gt; 会话。&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;screen &lt;span class=&quot;nt&quot;&gt;-ls&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;输出示例：&lt;/p&gt;
&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;There is a screen on:
        12345.my_session      (Detached)
1 Socket in /run/screen/S-user.
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;h3 id=&quot;4-恢复resume会话&quot;&gt;4. 恢复（Resume）会话&lt;/h3&gt;

&lt;p&gt;使用 &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;-r&lt;/code&gt; 参数加上会话的ID或名称，可以重新连接到一个已分离的会话。&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;c&quot;&gt;# 通过名称恢复&lt;/span&gt;
screen &lt;span class=&quot;nt&quot;&gt;-r&lt;/span&gt; my_session

&lt;span class=&quot;c&quot;&gt;# 或者通过ID恢复&lt;/span&gt;
screen &lt;span class=&quot;nt&quot;&gt;-r&lt;/span&gt; 12345
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;如果会话因为网络问题等原因未能正常分离，你可能需要使用 &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;-d -r&lt;/code&gt; 参数来强制恢复：&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;screen &lt;span class=&quot;nt&quot;&gt;-d&lt;/span&gt; &lt;span class=&quot;nt&quot;&gt;-r&lt;/span&gt; my_session
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;h3 id=&quot;5-终止会话&quot;&gt;5. 终止会话&lt;/h3&gt;

&lt;p&gt;最简单的方式是在会话的终端中直接输入 &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;exit&lt;/code&gt; 命令。
也可以在会话外部使用以下命令来终止指定的会话：&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;screen &lt;span class=&quot;nt&quot;&gt;-X&lt;/span&gt; &lt;span class=&quot;nt&quot;&gt;-S&lt;/span&gt; my_session quit
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;h2 id=&quot;常用快捷键&quot;&gt;常用快捷键&lt;/h2&gt;

&lt;p&gt;在&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;screen&lt;/code&gt;会话中，所有快捷键都以 &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Ctrl+a&lt;/code&gt; 作为前缀。&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Ctrl+a&lt;/code&gt; &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;c&lt;/code&gt; : 创建一个新窗口 (create)&lt;/li&gt;
  &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Ctrl+a&lt;/code&gt; &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;n&lt;/code&gt; : 切换到下一个窗口 (next)&lt;/li&gt;
  &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Ctrl+a&lt;/code&gt; &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;p&lt;/code&gt; : 切换到上一个窗口 (previous)&lt;/li&gt;
  &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Ctrl+a&lt;/code&gt; &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;w&lt;/code&gt; : 显示所有窗口的列表 (windows)&lt;/li&gt;
  &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Ctrl+a&lt;/code&gt; &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;[0-9]&lt;/code&gt; : 切换到指定编号的窗口&lt;/li&gt;
  &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Ctrl+a&lt;/code&gt; &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;d&lt;/code&gt; : 分离当前会话 (detach)&lt;/li&gt;
  &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Ctrl+a&lt;/code&gt; &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;k&lt;/code&gt; : 关闭当前窗口 (kill)&lt;/li&gt;
&lt;/ul&gt;

</description>
        <pubDate>Wed, 03 Sep 2025 04:10:00 +0000</pubDate>
        <link>https://blog.ahuan.tech/tech/tools/2025/09/03/screen-command-basic-usage.html</link>
        <guid isPermaLink="true">https://blog.ahuan.tech/tech/tools/2025/09/03/screen-command-basic-usage.html</guid>
        
        
        <category>tech</category>
        
        <category>tools</category>
        
      </item>
    
      <item>
        <title>腾讯cnb.cool云开发云构建平台</title>
        <description>&lt;h2 id=&quot;什么是-cnbcool&quot;&gt;什么是 cnb.cool&lt;/h2&gt;

&lt;p&gt;类似  Github + Github Actions + Github Packages + Github Codespaces 的平台。&lt;br /&gt;
即 Git托管+云构建+包存储+云开发 一体化的平台。&lt;/p&gt;

&lt;p&gt;出品人 腾讯（云）。&lt;/p&gt;

&lt;h2 id=&quot;网址&quot;&gt;网址&lt;/h2&gt;
&lt;p&gt;国内版 https://cnb.cool/&lt;br /&gt;
国际版 https://cnb.build/&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;通过 https://edgeone.ai&lt;br /&gt;
与 https://console.tencentcloud.com/edgeone&lt;br /&gt;
可以仅用邮箱注册。 免绑定信用卡。&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2 id=&quot;优势与劣势&quot;&gt;优势与劣势&lt;/h2&gt;
&lt;p&gt;Github的公开仓库的Actions / Packages适合白嫖。&lt;br /&gt;
但是Git LFS 以及私有仓库的packages，不仅收存储费，还收流量费。&lt;/p&gt;

&lt;p&gt;cnb.cool提供一定额度的免费核/时，和免费存储量。&lt;br /&gt;
目前不收流量费。&lt;br /&gt;
适合私有仓库使用。&lt;/p&gt;

</description>
        <pubDate>Tue, 26 Aug 2025 06:50:00 +0000</pubDate>
        <link>https://blog.ahuan.tech/tech/2025/08/26/tencent-cnb-cool-cloud-dev-platform.html</link>
        <guid isPermaLink="true">https://blog.ahuan.tech/tech/2025/08/26/tencent-cnb-cool-cloud-dev-platform.html</guid>
        
        
        <category>tech</category>
        
      </item>
    
  </channel>
</rss>
