<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>AI编程 Archives - 老路日常</title>
	<atom:link href="https://lusdaily.com/tag/ai%E7%BC%96%E7%A8%8B/feed/" rel="self" type="application/rss+xml" />
	<link>https://lusdaily.com/tag/ai编程/</link>
	<description>老路日常</description>
	<lastBuildDate>Thu, 06 Aug 2026 11:59:04 +0000</lastBuildDate>
	<language>zh-Hans</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0.4</generator>

<image>
	<url>https://lusdaily.com/wp-content/uploads/2026/06/cropped-333-e1782726521802-32x32.png</url>
	<title>AI编程 Archives - 老路日常</title>
	<link>https://lusdaily.com/tag/ai编程/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>十几个联盟后台看到头大？ WorkBuddy 帮我搭了个统一管理后台（实操总结）</title>
		<link>https://lusdaily.com/wordbuddy-affiliate-hub-project/</link>
		
		<dc:creator><![CDATA[老路日常]]></dc:creator>
		<pubDate>Thu, 06 Aug 2026 11:59:03 +0000</pubDate>
				<category><![CDATA[Vibe Coding]]></category>
		<category><![CDATA[实用教程]]></category>
		<category><![CDATA[AI编程]]></category>
		<category><![CDATA[wordbuddy]]></category>
		<category><![CDATA[联盟营销]]></category>
		<category><![CDATA[项目管理]]></category>
		<guid isPermaLink="false">https://lusdaily.com/?p=1059</guid>

					<description><![CDATA[<p>大家都知道，老路最近一直在做联盟营销，懂得朋友都懂——平台一多，后台就乱。Vultr 一个后台、Fiverr &#46;&#46;&#46;</p>
<p>The post <a href="https://lusdaily.com/wordbuddy-affiliate-hub-project/">十几个联盟后台看到头大？ WorkBuddy 帮我搭了个统一管理后台（实操总结）</a> appeared first on <a href="https://lusdaily.com">老路日常</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p class="wp-block-paragraph">大家都知道，老路最近一直在做联盟营销，懂得朋友都懂——平台一多，后台就乱。Vultr 一个后台、Fiverr 一个后台、eSIM 平台又一个……查个数据要登录五六个网站。这两天老路干了一件&#8221;程序员看了会笑&#8221;的事：<strong>趁着免费， 让WorkBuddy 帮老路从零搭了一个联盟营销统一管理台</strong>。今天这篇是完整的实操总结，包括踩过的坑。</p>
</blockquote>



<h2 class="wp-block-heading">一、痛点：联盟后台太多，管理要命</h2>



<p class="wp-block-paragraph">先说说为什么想搞这个。</p>



<p class="wp-block-paragraph">老路做联盟营销的平台越来越多：Vultr、Evoxt、Eskimo、Xesim、9esim、Fiverr……每个平台都有自己的后台，登录一次看一次数据。问题来了：</p>



<figure class="wp-block-table"><table class="has-fixed-layout"><thead><tr><th>痛点</th><th>具体感受</th></tr></thead><tbody><tr><td><strong>后台分散</strong></td><td>查点击量、查佣金，要挨个登录，一天时间全耗在登录上</td></tr><tr><td><strong>没有统一视图</strong></td><td>哪个平台值得重点推？全凭记忆，没有数据支撑</td></tr><tr><td><strong>推荐码散落</strong></td><td>有的平台是联盟链接，有的是推荐码，没个地方统一登记</td></tr><tr><td><strong>链接健康未知</strong></td><td>文章里放了一堆链接，哪些失效了、哪些被联盟商改了，完全不知道</td></tr></tbody></table></figure>



<p class="wp-block-paragraph">要解决这些，可以直接用现成的付费工具（Pretty Links、Affilimate 那类），也可以自己搭。老路选择了后者——<strong>不是因为抠，是因为老路想顺便试试&#8221;Vibe Coding到底能不能干成一件正经事&#8221;。</strong></p>



<p class="wp-block-paragraph">Pretty Links 免费版，如果只用它来做链接转换和点击跟踪，其实是足够的，老路也有教程，可以看这个：<strong><a href="https://lusdaily.com/pretty-links-wordpress-guide/" target="_blank" rel="noreferrer noopener">Pretty Links 插件教程</a></strong></p>


<div class="wp-block-image">
<figure class="aligncenter size-large is-resized"><img fetchpriority="high" decoding="async" width="1024" height="731" src="https://lusdaily.com/wp-content/uploads/2026/08/image-107-1024x731.png" alt="" class="wp-image-1060" style="aspect-ratio:1.4014233205599438;width:737px;height:auto" srcset="https://lusdaily.com/wp-content/uploads/2026/08/image-107-1024x731.png 1024w, https://lusdaily.com/wp-content/uploads/2026/08/image-107-300x214.png 300w, https://lusdaily.com/wp-content/uploads/2026/08/image-107-768x548.png 768w, https://lusdaily.com/wp-content/uploads/2026/08/image-107-520x371.png 520w, https://lusdaily.com/wp-content/uploads/2026/08/image-107-940x671.png 940w, https://lusdaily.com/wp-content/uploads/2026/08/image-107.png 1386w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>
</div>


<h2 class="wp-block-heading">二、WorkBuddy 是什么</h2>


<div class="wp-block-image">
<figure class="aligncenter size-large is-resized"><a href="https://lusdaily.com/workbuddy" target="_blank" rel=" noreferrer noopener"><img decoding="async" width="1024" height="731" src="https://lusdaily.com/wp-content/uploads/2026/08/image-108-1024x731.png" alt="" class="wp-image-1061" style="aspect-ratio:1.4014233205599438;width:752px;height:auto" srcset="https://lusdaily.com/wp-content/uploads/2026/08/image-108-1024x731.png 1024w, https://lusdaily.com/wp-content/uploads/2026/08/image-108-300x214.png 300w, https://lusdaily.com/wp-content/uploads/2026/08/image-108-768x548.png 768w, https://lusdaily.com/wp-content/uploads/2026/08/image-108-520x371.png 520w, https://lusdaily.com/wp-content/uploads/2026/08/image-108-940x671.png 940w, https://lusdaily.com/wp-content/uploads/2026/08/image-108.png 1386w" sizes="(max-width: 1024px) 100vw, 1024px" /></a></figure>
</div>


<p class="wp-block-paragraph">Workbuddy 是一个 agent工具（跟 Claude Code、Codex 一类的对话式agent），鹅厂出品，你像聊天一样跟它说需求，它直接写代码、建项目、跑起来给你看。</p>



<p class="wp-block-paragraph">老路之前体验的 <strong><a href="https://lusdaily.com/vibe-coding-ai-api-monitor/">Vibe Coding手搓AI大模型余额插件</a></strong>，算是个小打小闹——一个简单的窗体，样式也没要求。这次是第一次让它<strong>独立完成一个完整的项目</strong>：从零搭建、数据库设计、页面开发、部署文档，全流程。</p>



<p class="wp-block-paragraph">结果出乎意料：<strong>真的能行。</strong></p>



<p class="wp-block-paragraph">更厉害的是，8月31号之前，WorkBuddy是<strong>完全免费</strong>的（混元3模型），也算是个大福利了，没体验过的点这里直接<strong><a href="https://lusdaily.com/workbuddy" target="_blank" rel="nofollow noindex sponsored noreferrer noopener" class="pretty-link pretty-link pretty-link-block-editor">下载WorkBuddy</a></strong></p>



<h2 class="wp-block-heading">三、实操过程：我是怎么&#8221;指挥&#8221;它的</h2>



<h3 class="wp-block-heading">只用了一句话！一个半小时！</h3>


<div class="wp-block-image">
<figure class="aligncenter size-large is-resized"><img decoding="async" width="1024" height="915" src="https://lusdaily.com/wp-content/uploads/2026/08/image-110-1024x915.png" alt="" class="wp-image-1063" style="aspect-ratio:1.119137331640194;width:756px;height:auto" srcset="https://lusdaily.com/wp-content/uploads/2026/08/image-110-1024x915.png 1024w, https://lusdaily.com/wp-content/uploads/2026/08/image-110-300x268.png 300w, https://lusdaily.com/wp-content/uploads/2026/08/image-110-768x686.png 768w, https://lusdaily.com/wp-content/uploads/2026/08/image-110-520x465.png 520w, https://lusdaily.com/wp-content/uploads/2026/08/image-110-940x840.png 940w, https://lusdaily.com/wp-content/uploads/2026/08/image-110.png 1467w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>
</div>


<p class="wp-block-paragraph">是的，你没看错，老路只和它说了一句话，WorkBuddy用了1个半小时，包括整体规划、确定技术栈、建数据库、设计页面，再加上写代码，老路什么也没管，它自己就把第一期的全部功能都搞定了。</p>


<div class="wp-block-image">
<figure class="aligncenter size-large is-resized"><img loading="lazy" decoding="async" width="1024" height="907" src="https://lusdaily.com/wp-content/uploads/2026/08/image-122-1024x907.png" alt="" class="wp-image-1075" style="aspect-ratio:1.1290085473675369;width:722px;height:auto" srcset="https://lusdaily.com/wp-content/uploads/2026/08/image-122-1024x907.png 1024w, https://lusdaily.com/wp-content/uploads/2026/08/image-122-300x266.png 300w, https://lusdaily.com/wp-content/uploads/2026/08/image-122-768x680.png 768w, https://lusdaily.com/wp-content/uploads/2026/08/image-122-520x461.png 520w, https://lusdaily.com/wp-content/uploads/2026/08/image-122-940x833.png 940w, https://lusdaily.com/wp-content/uploads/2026/08/image-122.png 1334w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>
</div>

<div class="wp-block-image">
<figure class="aligncenter size-large is-resized"><img loading="lazy" decoding="async" width="697" height="1024" src="https://lusdaily.com/wp-content/uploads/2026/08/image-119-697x1024.png" alt="" class="wp-image-1072" style="aspect-ratio:0.6806671618610305;width:596px;height:auto" srcset="https://lusdaily.com/wp-content/uploads/2026/08/image-119-697x1024.png 697w, https://lusdaily.com/wp-content/uploads/2026/08/image-119-204x300.png 204w, https://lusdaily.com/wp-content/uploads/2026/08/image-119-768x1128.png 768w, https://lusdaily.com/wp-content/uploads/2026/08/image-119-520x764.png 520w, https://lusdaily.com/wp-content/uploads/2026/08/image-119.png 807w" sizes="auto, (max-width: 697px) 100vw, 697px" /></figure>
</div>

<div class="wp-block-image">
<figure class="aligncenter size-large is-resized"><img loading="lazy" decoding="async" width="1024" height="731" src="https://lusdaily.com/wp-content/uploads/2026/08/image-111-1024x731.png" alt="" class="wp-image-1064" style="aspect-ratio:1.4014233205599438;width:759px;height:auto" srcset="https://lusdaily.com/wp-content/uploads/2026/08/image-111-1024x731.png 1024w, https://lusdaily.com/wp-content/uploads/2026/08/image-111-300x214.png 300w, https://lusdaily.com/wp-content/uploads/2026/08/image-111-768x548.png 768w, https://lusdaily.com/wp-content/uploads/2026/08/image-111-520x371.png 520w, https://lusdaily.com/wp-content/uploads/2026/08/image-111-940x671.png 940w, https://lusdaily.com/wp-content/uploads/2026/08/image-111.png 1386w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>
</div>

<div class="wp-block-image">
<figure class="aligncenter size-large is-resized"><img loading="lazy" decoding="async" width="1024" height="731" src="https://lusdaily.com/wp-content/uploads/2026/08/image-112-1024x731.png" alt="" class="wp-image-1065" style="aspect-ratio:1.4014233205599438;width:762px;height:auto" srcset="https://lusdaily.com/wp-content/uploads/2026/08/image-112-1024x731.png 1024w, https://lusdaily.com/wp-content/uploads/2026/08/image-112-300x214.png 300w, https://lusdaily.com/wp-content/uploads/2026/08/image-112-768x548.png 768w, https://lusdaily.com/wp-content/uploads/2026/08/image-112-520x371.png 520w, https://lusdaily.com/wp-content/uploads/2026/08/image-112-940x671.png 940w, https://lusdaily.com/wp-content/uploads/2026/08/image-112.png 1386w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>
</div>

<div class="wp-block-image">
<figure class="aligncenter size-large is-resized"><img loading="lazy" decoding="async" width="1024" height="731" src="https://lusdaily.com/wp-content/uploads/2026/08/image-114-1024x731.png" alt="" class="wp-image-1067" style="aspect-ratio:1.4008390442191938;width:764px;height:auto" srcset="https://lusdaily.com/wp-content/uploads/2026/08/image-114-1024x731.png 1024w, https://lusdaily.com/wp-content/uploads/2026/08/image-114-300x214.png 300w, https://lusdaily.com/wp-content/uploads/2026/08/image-114-768x548.png 768w, https://lusdaily.com/wp-content/uploads/2026/08/image-114-520x371.png 520w, https://lusdaily.com/wp-content/uploads/2026/08/image-114-940x671.png 940w, https://lusdaily.com/wp-content/uploads/2026/08/image-114.png 1386w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>
</div>


<p class="wp-block-paragraph">这可不是demo，而是一个具备前端页面和数据库增删改查交互的真实可用的管理系统</p>


<div class="wp-block-image">
<figure class="aligncenter size-large is-resized"><img loading="lazy" decoding="async" width="1024" height="401" src="https://lusdaily.com/wp-content/uploads/2026/08/image-115-1024x401.png" alt="" class="wp-image-1068" style="aspect-ratio:2.553676610298309;width:766px;height:auto" srcset="https://lusdaily.com/wp-content/uploads/2026/08/image-115-1024x401.png 1024w, https://lusdaily.com/wp-content/uploads/2026/08/image-115-300x118.png 300w, https://lusdaily.com/wp-content/uploads/2026/08/image-115-768x301.png 768w, https://lusdaily.com/wp-content/uploads/2026/08/image-115-520x204.png 520w, https://lusdaily.com/wp-content/uploads/2026/08/image-115-940x368.png 940w, https://lusdaily.com/wp-content/uploads/2026/08/image-115.png 1386w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>
</div>

<div class="wp-block-image">
<figure class="aligncenter size-large is-resized"><img loading="lazy" decoding="async" width="1024" height="397" src="https://lusdaily.com/wp-content/uploads/2026/08/image-116-1024x397.png" alt="" class="wp-image-1069" style="aspect-ratio:2.579406966701852;width:770px;height:auto" srcset="https://lusdaily.com/wp-content/uploads/2026/08/image-116-1024x397.png 1024w, https://lusdaily.com/wp-content/uploads/2026/08/image-116-300x116.png 300w, https://lusdaily.com/wp-content/uploads/2026/08/image-116-768x298.png 768w, https://lusdaily.com/wp-content/uploads/2026/08/image-116-520x201.png 520w, https://lusdaily.com/wp-content/uploads/2026/08/image-116-940x364.png 940w, https://lusdaily.com/wp-content/uploads/2026/08/image-116.png 1386w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>
</div>


<p class="wp-block-paragraph"><strong>让老路最惊喜的部分</strong>——它设计的数据库结构直接覆盖了未来三期需求：</p>


<div class="wp-block-image">
<figure class="aligncenter size-large is-resized"><img loading="lazy" decoding="async" width="511" height="1024" src="https://lusdaily.com/wp-content/uploads/2026/08/image-117-511x1024.png" alt="" class="wp-image-1070" style="width:473px;height:auto" srcset="https://lusdaily.com/wp-content/uploads/2026/08/image-117-511x1024.png 511w, https://lusdaily.com/wp-content/uploads/2026/08/image-117-150x300.png 150w, https://lusdaily.com/wp-content/uploads/2026/08/image-117-520x1043.png 520w, https://lusdaily.com/wp-content/uploads/2026/08/image-117.png 588w" sizes="auto, (max-width: 511px) 100vw, 511px" /></figure>
</div>


<p class="wp-block-paragraph"><strong>关键设计</strong>：platforms 表有个 <code>referral_code</code> 字段，同时兼容&#8221;传统联盟链接&#8221;和&#8221;纯推荐码&#8221;两种模式——这个细节说明它真的理解了联盟营销的业务，不是瞎建表。</p>


<div class="wp-block-image">
<figure class="aligncenter size-large is-resized"><img loading="lazy" decoding="async" width="1024" height="411" src="https://lusdaily.com/wp-content/uploads/2026/08/image-118-1024x411.png" alt="" class="wp-image-1071" style="aspect-ratio:2.49154191963665;width:748px;height:auto" srcset="https://lusdaily.com/wp-content/uploads/2026/08/image-118-1024x411.png 1024w, https://lusdaily.com/wp-content/uploads/2026/08/image-118-300x120.png 300w, https://lusdaily.com/wp-content/uploads/2026/08/image-118-768x308.png 768w, https://lusdaily.com/wp-content/uploads/2026/08/image-118-520x209.png 520w, https://lusdaily.com/wp-content/uploads/2026/08/image-118-940x377.png 940w, https://lusdaily.com/wp-content/uploads/2026/08/image-118.png 1040w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>
</div>


<p class="wp-block-paragraph">它自动生成了 README.md（项目说明）和 ROADMAP.md（三期规划），连&#8221;运维踩坑记录&#8221;都写进去了——这点很贴心，以后换其他agent照着文档就能接着干活。</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="291" height="185" src="https://lusdaily.com/wp-content/uploads/2026/08/image-123.png" alt="" class="wp-image-1076"/></figure>
</div>


<h2 class="wp-block-heading">四、踩过的坑（WorkBuddy的思考过程真实记录）</h2>



<p class="wp-block-paragraph">实操不可能一帆风顺，这一个半小时WorkBuddy也遇到了不少小阻力，看看它的思考和工作过程，其实大多数是环境或者网络的问题，这些还是很耗时的。</p>


<div class="wp-block-image">
<figure class="aligncenter size-large is-resized"><img loading="lazy" decoding="async" width="1024" height="969" src="https://lusdaily.com/wp-content/uploads/2026/08/image-121-1024x969.png" alt="" class="wp-image-1074" style="aspect-ratio:1.0573103095622074;width:644px;height:auto" srcset="https://lusdaily.com/wp-content/uploads/2026/08/image-121-1024x969.png 1024w, https://lusdaily.com/wp-content/uploads/2026/08/image-121-300x284.png 300w, https://lusdaily.com/wp-content/uploads/2026/08/image-121-768x726.png 768w, https://lusdaily.com/wp-content/uploads/2026/08/image-121-520x492.png 520w, https://lusdaily.com/wp-content/uploads/2026/08/image-121-940x889.png 940w, https://lusdaily.com/wp-content/uploads/2026/08/image-121.png 1218w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>
</div>


<p class="wp-block-paragraph">WorkBuddy很优秀：它自己会把踩坑经验写进项目记忆（<code>.workbuddy/memory</code>），下次遇到直接查，不用重新踩。</p>



<h2 class="wp-block-heading">五、我的真实感受</h2>



<ol class="wp-block-list">
<li><strong>对话即开发</strong>：不用自己写一行代码，全程&#8221;提需求 → 它写 → 我验收&#8221;</li>



<li><strong>业务理解在线</strong>：表结构、字段设计能看出它真懂了联盟营销，不是套模板</li>



<li><strong>会踩坑会记录</strong>：环境问题自己解决，还记进项目记忆，跨会话延续</li>



<li><strong>文档自动生成</strong>：README/ROADMAP/踩坑记录全都有，项目可交接</li>
</ol>



<h2 class="wp-block-heading">六、下一步计划</h2>



<ul class="wp-block-list">
<li><strong>Phase 2</strong>：收入汇总看板（手动录入各平台佣金 → 自动汇总趋势图）+ 链接健康扫描（拉取博客文章检测死链）</li>



<li><strong>Phase 3</strong>：WordPress 插件（站内 /go/xxx 短链 + 点击统计 + 自动嵌入），跟看板双向同步</li>
</ul>



<h2 class="wp-block-heading">七、给想试的人的建议</h2>



<ol class="wp-block-list">
<li><strong>别一上来就搞大项目</strong>：先用它改个小脚本、做个静态页，熟悉它的脾气</li>



<li><strong>需求写具体</strong>：把&#8221;我要什么&#8221;拆成&#8221;表/页面/字段&#8221;，它做得更准</li>



<li><strong>接受&#8221;能用优先&#8221;</strong>：AI 编程出的东西先跑通业务，再谈美化</li>



<li><strong>重要数据多备份</strong>：SQLite 单文件，复制一份就是备份，养成习惯</li>
</ol>



<h2 class="wp-block-heading">总结</h2>



<p class="wp-block-paragraph">这次用 WorkBuddy 搭联盟管理台的实操，最大的收获不是&#8221;省了外包钱&#8221;，而是验证了一件事：<strong>Vibe Coding完全可以能独立完成真实可用的业务系统了。</strong> 从数据库设计到页面开发到文档，全程对话式完成，中间遇到的坑它也自己解决并记录。</p>



<p class="wp-block-paragraph">对普通人和小团队来说，这意味着一件事：<strong>以前&#8221;不会编程所以做不了工具&#8221;的借口，已经不存在了。</strong></p>



<p class="wp-block-paragraph">趁着免费，赶紧来试试吧，<strong><a href="https://lusdaily.com/workbuddy" class="pretty-link pretty-link pretty-link-block-editor" rel="nofollow noindex sponsored noreferrer noopener" target="_blank">点这里下载注册WorkBuddy</a></strong></p>
<p>The post <a href="https://lusdaily.com/wordbuddy-affiliate-hub-project/">十几个联盟后台看到头大？ WorkBuddy 帮我搭了个统一管理后台（实操总结）</a> appeared first on <a href="https://lusdaily.com">老路日常</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Claude Code 有后门被封号？试试 OpenCode 平替，开源免费还能接白嫖最新模型</title>
		<link>https://lusdaily.com/opencode-claude-code-alternative/</link>
		
		<dc:creator><![CDATA[老路日常]]></dc:creator>
		<pubDate>Thu, 09 Jul 2026 07:56:07 +0000</pubDate>
				<category><![CDATA[Vibe Coding]]></category>
		<category><![CDATA[建站教程]]></category>
		<category><![CDATA[AI编程]]></category>
		<category><![CDATA[Claude Code]]></category>
		<category><![CDATA[OpenCode]]></category>
		<category><![CDATA[开源]]></category>
		<guid isPermaLink="false">https://lusdaily.com/?p=198</guid>

					<description><![CDATA[<p>最近 Claude Code 封号的话题在圈子里闹得挺凶，只要在国内用Claude Code原生模型，都会被封&#46;&#46;&#46;</p>
<p>The post <a href="https://lusdaily.com/opencode-claude-code-alternative/">Claude Code 有后门被封号？试试 OpenCode 平替，开源免费还能接白嫖最新模型</a> appeared first on <a href="https://lusdaily.com">老路日常</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p class="wp-block-paragraph">最近 Claude Code 封号的话题在圈子里闹得挺凶，只要在国内用Claude Code原生模型，都会被封号，尤其是还看到一个兄弟说，只要到了杭州必被封号。</p>



<p class="wp-block-paragraph">另外就是传的沸沸扬扬的后门封号理论，是指Claude Code会自动检测你的时区，语言等等来判断你是不是身在国内，有关部门也一再发了提醒，建议大家卸载。</p>



<p class="wp-block-paragraph">那么，还有和Claude Code交互和体验类似的Agent么？答案是 OpenCode ，全开源免费的编码辅助工具，更nb的是经常可以白嫖体验到最新的模型，当然，你想接入Deepseek api也是完全没有问题。 </p>
</blockquote>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="547" src="https://lusdaily.com/wp-content/uploads/2026/07/image-37-1024x547.png" alt="" class="wp-image-200" srcset="https://lusdaily.com/wp-content/uploads/2026/07/image-37-1024x547.png 1024w, https://lusdaily.com/wp-content/uploads/2026/07/image-37-300x160.png 300w, https://lusdaily.com/wp-content/uploads/2026/07/image-37-768x410.png 768w, https://lusdaily.com/wp-content/uploads/2026/07/image-37-1536x820.png 1536w, https://lusdaily.com/wp-content/uploads/2026/07/image-37-520x278.png 520w, https://lusdaily.com/wp-content/uploads/2026/07/image-37-940x502.png 940w, https://lusdaily.com/wp-content/uploads/2026/07/image-37.png 1730w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<h2 class="wp-block-heading">个人想说的：Claude Code 到底有没有问题？</h2>



<p class="wp-block-paragraph">Claude Code 本身是个很好用的工具，我做了几个项目感觉还都是不错，生态也完整，大家讨论的几个点无非是这些：</p>



<ol class="wp-block-list">
<li><strong>闭源</strong> — 你看不到它往服务器传了什么数据</li>



<li><strong>账号风险</strong> — API Key 或者 Claude 账号，国内使用麻烦不说，被封了你的钱和额度都打水漂</li>



<li><strong>不用原生降智</strong> — 这个我觉得还OK，接入Deepseek v4 pro，处理一般的项目都没啥问题</li>
</ol>



<p class="wp-block-paragraph">至于是不是、有没有「后门」我不下定论，但<strong>如果一个工具让你心里不踏实，那就换一个让自己踏实的。</strong></p>



<h2 class="wp-block-heading">OpenCode 是什么？</h2>



<p class="wp-block-paragraph">OpenCode（anomalyco/opencode）是一个<strong>开源</strong>的 AI 编程助手，直接在终端里用（现在也有桌面端了），功能跟 Claude Code 非常像：</p>



<ul class="wp-block-list">
<li>支持 Claude、GPT、DeepSeek 等十几家模型 ，更有经常更新的免费模型额度给你白嫖</li>



<li>可以直接读写文件、执行命令</li>



<li>有代码补全、搜索、重构功能</li>



<li><strong>开源</strong> — 代码全公开，不会偷偷传数据</li>



<li><strong>184k Star</strong> — 社区活跃，一直在更新</li>
</ul>



<h2 class="wp-block-heading">安装</h2>



<p class="wp-block-paragraph">OpenCode 在国内安装很方便</p>



<p class="wp-block-paragraph"><strong>一行命令：</strong></p>



<pre class="EnlighterJSRAW" data-enlighter-language="bash" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">npm i -g opencode-ai@latest</pre>



<p class="wp-block-paragraph">装完之后在终端输入 <code>opencode</code> 就能启动了。可以输入/model来切换模型</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="547" src="https://lusdaily.com/wp-content/uploads/2026/07/image-38-1024x547.png" alt="" class="wp-image-201" srcset="https://lusdaily.com/wp-content/uploads/2026/07/image-38-1024x547.png 1024w, https://lusdaily.com/wp-content/uploads/2026/07/image-38-300x160.png 300w, https://lusdaily.com/wp-content/uploads/2026/07/image-38-768x410.png 768w, https://lusdaily.com/wp-content/uploads/2026/07/image-38-1536x820.png 1536w, https://lusdaily.com/wp-content/uploads/2026/07/image-38-520x278.png 520w, https://lusdaily.com/wp-content/uploads/2026/07/image-38-940x502.png 940w, https://lusdaily.com/wp-content/uploads/2026/07/image-38.png 1730w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">默认就有很多免费模型给你白嫖体验，标记free的都是给你玩的。</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="547" src="https://lusdaily.com/wp-content/uploads/2026/07/image-39-1024x547.png" alt="" class="wp-image-202" srcset="https://lusdaily.com/wp-content/uploads/2026/07/image-39-1024x547.png 1024w, https://lusdaily.com/wp-content/uploads/2026/07/image-39-300x160.png 300w, https://lusdaily.com/wp-content/uploads/2026/07/image-39-768x410.png 768w, https://lusdaily.com/wp-content/uploads/2026/07/image-39-1536x820.png 1536w, https://lusdaily.com/wp-content/uploads/2026/07/image-39-520x278.png 520w, https://lusdaily.com/wp-content/uploads/2026/07/image-39-940x502.png 940w, https://lusdaily.com/wp-content/uploads/2026/07/image-39.png 1730w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">当然也支持api接入，输入/connect进行配置</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="547" src="https://lusdaily.com/wp-content/uploads/2026/07/image-40-1024x547.png" alt="" class="wp-image-203" srcset="https://lusdaily.com/wp-content/uploads/2026/07/image-40-1024x547.png 1024w, https://lusdaily.com/wp-content/uploads/2026/07/image-40-300x160.png 300w, https://lusdaily.com/wp-content/uploads/2026/07/image-40-768x410.png 768w, https://lusdaily.com/wp-content/uploads/2026/07/image-40-1536x820.png 1536w, https://lusdaily.com/wp-content/uploads/2026/07/image-40-520x278.png 520w, https://lusdaily.com/wp-content/uploads/2026/07/image-40-940x502.png 940w, https://lusdaily.com/wp-content/uploads/2026/07/image-40.png 1730w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">支持超多厂商：OpenAI、Anthropic、Google Gemini、DeepSeek…</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="547" src="https://lusdaily.com/wp-content/uploads/2026/07/image-41-1024x547.png" alt="" class="wp-image-204" srcset="https://lusdaily.com/wp-content/uploads/2026/07/image-41-1024x547.png 1024w, https://lusdaily.com/wp-content/uploads/2026/07/image-41-300x160.png 300w, https://lusdaily.com/wp-content/uploads/2026/07/image-41-768x410.png 768w, https://lusdaily.com/wp-content/uploads/2026/07/image-41-1536x820.png 1536w, https://lusdaily.com/wp-content/uploads/2026/07/image-41-520x278.png 520w, https://lusdaily.com/wp-content/uploads/2026/07/image-41-940x502.png 940w, https://lusdaily.com/wp-content/uploads/2026/07/image-41.png 1730w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<h2 class="wp-block-heading">使用体验</h2>



<p class="wp-block-paragraph">和Claude一样，你可以在VS Code里安装插件来集成，在VS Code的扩展里直接搜索opencode就好了，第一个就是</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="717" src="https://lusdaily.com/wp-content/uploads/2026/07/image-42-1024x717.png" alt="" class="wp-image-205" srcset="https://lusdaily.com/wp-content/uploads/2026/07/image-42-1024x717.png 1024w, https://lusdaily.com/wp-content/uploads/2026/07/image-42-300x210.png 300w, https://lusdaily.com/wp-content/uploads/2026/07/image-42-768x538.png 768w, https://lusdaily.com/wp-content/uploads/2026/07/image-42-520x364.png 520w, https://lusdaily.com/wp-content/uploads/2026/07/image-42-940x658.png 940w, https://lusdaily.com/wp-content/uploads/2026/07/image-42.png 1451w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">安装好之后，右上角就有opencode的扩展插件打开快捷方式了，点开就能打开</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="717" src="https://lusdaily.com/wp-content/uploads/2026/07/image-43-1024x717.png" alt="" class="wp-image-206" srcset="https://lusdaily.com/wp-content/uploads/2026/07/image-43-1024x717.png 1024w, https://lusdaily.com/wp-content/uploads/2026/07/image-43-300x210.png 300w, https://lusdaily.com/wp-content/uploads/2026/07/image-43-768x538.png 768w, https://lusdaily.com/wp-content/uploads/2026/07/image-43-520x364.png 520w, https://lusdaily.com/wp-content/uploads/2026/07/image-43-940x658.png 940w, https://lusdaily.com/wp-content/uploads/2026/07/image-43.png 1451w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">按tab键可以切换build和plan模式，用过Claude Code应给对这个不陌生，很近似的效果。</p>



<h3 class="wp-block-heading">跟 Claude Code 比怎么样？</h3>



<figure class="wp-block-table"><table class="has-fixed-layout"><thead><tr><th>对比项</th><th>Claude Code</th><th>OpenCode</th></tr></thead><tbody><tr><td>开源</td><td>❌ 闭源</td><td>✅ <strong>MIT 协议</strong></td></tr><tr><td>模型选择</td><td>仅 Anthropic（可以用cc-switch接入其他API）</td><td>✅ <strong>十几家随意换</strong></td></tr><tr><td>费用</td><td>订阅</td><td>✅ <strong>免费模型体验 + 自己 API Key</strong></td></tr><tr><td>安装</td><td>npm</td><td><strong>npm（现在也有桌面端了，我更习惯CLI）</strong></td></tr><tr><td>代码质量</td><td>⭐⭐⭐⭐⭐</td><td>⭐⭐⭐⭐（略差但够用，超大项目上下文处理还是稍弱）</td></tr><tr><td>中文理解</td><td>⭐⭐⭐⭐⭐</td><td>⭐⭐⭐⭐⭐（用国内模型完全没问题）</td></tr><tr><td>活跃度</td><td>闭源，不可见</td><td>✅ <strong>最新的发布版是2天前</strong></td></tr><tr><td>社区</td><td>无</td><td>184k Star，14k+ commits</td></tr></tbody></table></figure>



<p class="wp-block-paragraph"><strong>结论：</strong> Claude Code 在代码生成质量上仍然强一些，但 OpenCode 已经足够日常使用了。考虑到它开源、免费、模型自由切换，作为一个平替完全合格。</p>



<h2 class="wp-block-heading">最后的建议</h2>



<p class="wp-block-paragraph">如果你在用 Claude Code 而且没遇到问题，<strong>可以继续用</strong>（我就在继续用，可以参考老路的这篇 <strong><a href="https://lusdaily.com/vibe-coding-ai-api-monitor/" target="_blank" rel="noreferrer noopener">Vibe Coding</a></strong> 的内容）。工具就是工具，用着顺手最重要。</p>



<p class="wp-block-paragraph">但如果你有以下情况，建议试试 OpenCode：</p>



<ul class="wp-block-list">
<li>❗ 担心闭源工具的安全问题</li>



<li>❗ Claude 账号被封了</li>



<li>❗ 没啥复杂项目，只想白嫖模型做体验</li>



<li>❗ 就想用开源的东西</li>
</ul>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<p class="wp-block-paragraph"><em>OpenCode GitHub 地址：<a href="https://github.com/anomalyco/opencode" target="_blank" rel="noreferrer noopener">https://github.com/anomalyco/opencode</a> </em></p>



<p class="wp-block-paragraph"><em>之前那篇<strong> <a href="https://lusdaily.com/vibe-coding-ai-api-monitor/" target="_blank" rel="noreferrer noopener">Vibe Coding  桌面插件</a></strong>工具已开源：<a href="https://github.com/ulysis6/ai-api-balance-monitor" target="_blank" rel="noreferrer noopener">https://github.com/ulysis6/ai-api-balance-monitor</a></em></p>



<figure class="wp-block-embed aligncenter is-type-wp-embed"><div class="wp-block-embed__wrapper">
<div class="video-container"><blockquote class="wp-embedded-content" data-secret="CToqiFlnqk"><a href="https://lusdaily.com/vibe-coding-ai-api-monitor/">Vibe Coding 初体验：4小时，我用 VS Code + Claude Code + DeepSeek 搓了一个桌面小插件</a></blockquote><iframe loading="lazy" class="wp-embedded-content" sandbox="allow-scripts" security="restricted"  title="《 Vibe Coding 初体验：4小时，我用 VS Code + Claude Code + DeepSeek 搓了一个桌面小插件 》—老路日常" src="https://lusdaily.com/vibe-coding-ai-api-monitor/embed/#?secret=7XqW6lvcyL#?secret=CToqiFlnqk" data-secret="CToqiFlnqk" width="600" height="338" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe></div>
</div></figure>
<p>The post <a href="https://lusdaily.com/opencode-claude-code-alternative/">Claude Code 有后门被封号？试试 OpenCode 平替，开源免费还能接白嫖最新模型</a> appeared first on <a href="https://lusdaily.com">老路日常</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Vibe Coding 初体验：4小时，我用 VS Code + Claude Code + DeepSeek 搓了一个桌面小插件</title>
		<link>https://lusdaily.com/vibe-coding-ai-api-monitor/</link>
		
		<dc:creator><![CDATA[老路日常]]></dc:creator>
		<pubDate>Wed, 08 Jul 2026 06:04:19 +0000</pubDate>
				<category><![CDATA[Vibe Coding]]></category>
		<category><![CDATA[建站教程]]></category>
		<category><![CDATA[AI编程]]></category>
		<category><![CDATA[开源]]></category>
		<category><![CDATA[桌面插件]]></category>
		<guid isPermaLink="false">https://lusdaily.com/?p=184</guid>

					<description><![CDATA[<p>最近「Vibe Coding」这个词在圈子里挺火的，说白了就是让 AI 帮你写大部分代码，你负责告诉它要什么、&#46;&#46;&#46;</p>
<p>The post <a href="https://lusdaily.com/vibe-coding-ai-api-monitor/">Vibe Coding 初体验：4小时，我用 VS Code + Claude Code + DeepSeek 搓了一个桌面小插件</a> appeared first on <a href="https://lusdaily.com">老路日常</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p class="wp-block-paragraph">最近「Vibe Coding」这个词在圈子里挺火的，说白了就是让 AI 帮你写大部分代码，你负责告诉它要什么、改什么。以前我觉得这东西就是玩具，直到我真的用这个方式做了一个能用的桌面工具出来。这篇文章记录一下我的真实体验。</p>
</blockquote>



<h2 class="wp-block-heading">先说一下做的是什么</h2>



<p class="wp-block-paragraph">我做了一个叫 <strong>AI 模型 API 余额监控</strong> 的 桌面悬浮插件小工具（支持Windows和Mac哦），界面就是这样，能看到你买的各种大模型的余额。</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="354" height="378" src="https://lusdaily.com/wp-content/uploads/2026/07/image-28.png" alt="" class="wp-image-185" srcset="https://lusdaily.com/wp-content/uploads/2026/07/image-28.png 354w, https://lusdaily.com/wp-content/uploads/2026/07/image-28-281x300.png 281w" sizes="auto, (max-width: 354px) 100vw, 354px" /></figure>
</div>


<h2 class="wp-block-heading">再说一下为什么要做这个玩意？</h2>



<p class="wp-block-paragraph">主要还是现在国内的大模型太卷了，价格超级便宜，虽然没法和国外最新的模型直接掰手腕，但是价格便宜量又足，那还纠结什么呢，普通人的首选！但是当你买的厂家多了，都想玩玩的时候，就会发现看余额是个麻烦事，得一家家的都得打开控制台页面，所以这个桌面小工具的想法就来了。</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="963" src="https://lusdaily.com/wp-content/uploads/2026/07/image-30-1024x963.png" alt="" class="wp-image-187" srcset="https://lusdaily.com/wp-content/uploads/2026/07/image-30-1024x963.png 1024w, https://lusdaily.com/wp-content/uploads/2026/07/image-30-300x282.png 300w, https://lusdaily.com/wp-content/uploads/2026/07/image-30-768x723.png 768w, https://lusdaily.com/wp-content/uploads/2026/07/image-30-520x489.png 520w, https://lusdaily.com/wp-content/uploads/2026/07/image-30-940x884.png 940w, https://lusdaily.com/wp-content/uploads/2026/07/image-30.png 1049w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="491" src="https://lusdaily.com/wp-content/uploads/2026/07/image-31-1024x491.png" alt="" class="wp-image-188" srcset="https://lusdaily.com/wp-content/uploads/2026/07/image-31-1024x491.png 1024w, https://lusdaily.com/wp-content/uploads/2026/07/image-31-300x144.png 300w, https://lusdaily.com/wp-content/uploads/2026/07/image-31-768x368.png 768w, https://lusdaily.com/wp-content/uploads/2026/07/image-31-1536x736.png 1536w, https://lusdaily.com/wp-content/uploads/2026/07/image-31-520x249.png 520w, https://lusdaily.com/wp-content/uploads/2026/07/image-31-940x451.png 940w, https://lusdaily.com/wp-content/uploads/2026/07/image-31.png 1721w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">所以，这个小工具干的事很简单：如果你在用 DeepSeek、Xiaomi、Kimi、智谱这些 AI 厂商的 API，每个厂商的余额充值页面都不一样，你得挨个登录去看还剩多少钱。这个工具装到电脑上之后，所有厂商的余额在一个窗口里全显示出来，还支持余额不足时弹窗提醒。</p>



<p class="wp-block-paragraph">目前支持的厂商：</p>



<pre class="EnlighterJSRAW" data-enlighter-language="generic" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">DeepSeek、小米 MiMo、Kimi、字节豆包、智谱 GLM、
百度千帆、阿里百炼、腾讯混元、讯飞星火、MiniMax、
硅基流动、百川智能、零一万物、京东云</pre>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="501" height="582" src="https://lusdaily.com/wp-content/uploads/2026/07/image-29.png" alt="" class="wp-image-186" srcset="https://lusdaily.com/wp-content/uploads/2026/07/image-29.png 501w, https://lusdaily.com/wp-content/uploads/2026/07/image-29-258x300.png 258w" sizes="auto, (max-width: 501px) 100vw, 501px" /></figure>
</div>


<p class="wp-block-paragraph">一共 14 家。代码已经开源在 GitHub 上：<br>👉 <a href="https://github.com/ulysis6/ai-api-balance-monitor" target="_blank" rel="noreferrer noopener">https://github.com/ulysis6/ai-api-balance-monitor</a></p>



<p class="wp-block-paragraph">如果不会搞github的朋友，也可以 <strong><a href="https://m.tb.cn/h.RyqiJaj?tk=SDYRgnDDjB8" target="_blank" rel="noreferrer noopener">点这里</a></strong> 去我的闲鱼看看，直接网盘发给你，只要1块（为了不被下架）</p>



<h2 class="wp-block-heading">什么是 Vibe Coding？</h2>



<p class="wp-block-paragraph">套用网上的官方解释：这个词最早是 Andrej Karpathy（前 Tesla AI 负责人）提的，意思就是：<strong>你不用懂每一行代码在干什么，你只需要描述你想要什么，AI 帮你写出来。</strong></p>



<p class="wp-block-paragraph">套用在我这个项目上就是：</p>



<pre class="EnlighterJSRAW" data-enlighter-language="generic" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">我想要一个悬浮在桌面的小窗口
↓
显示 DeepSeek、Kimi、豆包这些厂商的 API 余额
↓
每隔一段时间自动刷新
↓
余额低于 XX 元的时候弹窗提醒我
↓
支持开机自启
↓
打包成一个 exe 或者 dmg 发给别人也能用</pre>



<p class="wp-block-paragraph">每一个需求，我告诉 Claude Code，它就把代码写出来了。我负责：跑一下看对不对、报错了把错误贴回去、改 Prompt 继续。</p>



<h2 class="wp-block-heading">我是怎么搞的</h2>



<h3 class="wp-block-heading">技术栈（也是ai选的）</h3>



<pre class="EnlighterJSRAW" data-enlighter-language="generic" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">Python 3.11 + PyQt5 + requests + PyInstaller
VS Code + Claude Code（接的 DeepSeek）</pre>



<p class="wp-block-paragraph">Claude Code 是 Anthropic 出的一个终端编程工具，装在 VS Code 的终端里，你在里面跟它对话，它能直接读写文件、运行命令、装依赖。我把后端模型换成了 DeepSeek，一是便宜（最重要），二是中文理解能力不输 Claude。</p>



<p class="wp-block-paragraph">当然，如果你就想浅尝即止，试试VS Code + Claude Code，也可以把模型设置为本地的，可以参考老路这个教程：部署<strong><a href="https://lusdaily.com/minicpm5-1b-ollama-hermes-deploy/" target="_blank" rel="noreferrer noopener">MiniCPM5-1B 本地模型</a></strong>，对电脑要求完全不高，很友好。</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="717" src="https://lusdaily.com/wp-content/uploads/2026/07/image-32-1024x717.png" alt="" class="wp-image-189" srcset="https://lusdaily.com/wp-content/uploads/2026/07/image-32-1024x717.png 1024w, https://lusdaily.com/wp-content/uploads/2026/07/image-32-300x210.png 300w, https://lusdaily.com/wp-content/uploads/2026/07/image-32-768x537.png 768w, https://lusdaily.com/wp-content/uploads/2026/07/image-32-520x364.png 520w, https://lusdaily.com/wp-content/uploads/2026/07/image-32-940x658.png 940w, https://lusdaily.com/wp-content/uploads/2026/07/image-32.png 1452w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<h3 class="wp-block-heading">过程大致是这样</h3>



<p class="wp-block-paragraph">有了最开始的想法后，我打开一个文本编辑器，写下了准备和 Claude Code 说的话：「帮我写一个桌面悬浮窗小工具，用来显示大模型API 厂商的余额，第一版只需要支持deepseek」。5分钟后第一个版本跑起来了，只支持 DeepSeek 一家，但是效果完全是我想要的。</p>



<p class="wp-block-paragraph">由于我还买了Xiaomi mimo的模型，所以只是Deepseek还不够，需要把小米加进去，加一个也是加，反正是ai给写代码，就一次性把更多厂商都加进去。我和Claude Code说：</p>



<pre class="EnlighterJSRAW" data-enlighter-language="raw" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">我需要把国内主流的大模型API厂商都加入到系统里，并且都可以配置。</pre>



<p class="wp-block-paragraph">Claude Code还是很智能的，由于每个厂商的 API 文档不一样，有的要 API Key，有的要 Cookie，他会自动的调研厂商的余额查询方式，自动解析接口、写出适配器代码，大概10来分钟，这样一次性就把厂商写好了。会有一些小bug，包括界面上的，配置的问题、显示的问题等等，你看到哪些觉得不爽的，就和Claude Code说就行。</p>



<p class="wp-block-paragraph">然后，我继续让Claude Code加 License 系统。我想做成免费版和专业版两个版本，免费版能用 3 个厂商，专业版 ¥29.9 解锁全部功能。这个逻辑完全让 Claude Code 写的，包括创建激活码的逻辑都是它自动写的，这个过程大概用了1个多小时，主要消耗在了收款逻辑方案的探讨和激活码验证后的界面显示调试上。</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="504" height="597" src="https://lusdaily.com/wp-content/uploads/2026/07/image-33.png" alt="" class="wp-image-190" srcset="https://lusdaily.com/wp-content/uploads/2026/07/image-33.png 504w, https://lusdaily.com/wp-content/uploads/2026/07/image-33-253x300.png 253w" sizes="auto, (max-width: 504px) 100vw, 504px" /></figure>
</div>


<p class="wp-block-paragraph">最后，我想让Windows和Mac系统都能用上（我有Windows和Mac的电脑），所以需要打包成 exe和dmg，然后还有细节的功能，比如：加系统托盘，加开机自启这些。看起来简单，但是是耗时最久的一个环节，Claude Code在打包的环节上研究了很久，包括使用Github的工具打包，本地打包等等，由于我的Mac系统比较老，版本只有12.0，在兼容性的调整上也搞了半天（当然我只是负责和它说话），整个过程大概得有2个小时。</p>


<div class="wp-block-image">
<figure class="aligncenter size-large"><img loading="lazy" decoding="async" width="576" height="1024" src="https://lusdaily.com/wp-content/uploads/2026/07/9b66aa1c00280d1b823d390a0f9acb7e-576x1024.jpg" alt="" class="wp-image-191" srcset="https://lusdaily.com/wp-content/uploads/2026/07/9b66aa1c00280d1b823d390a0f9acb7e-576x1024.jpg 576w, https://lusdaily.com/wp-content/uploads/2026/07/9b66aa1c00280d1b823d390a0f9acb7e-169x300.jpg 169w, https://lusdaily.com/wp-content/uploads/2026/07/9b66aa1c00280d1b823d390a0f9acb7e-768x1365.jpg 768w, https://lusdaily.com/wp-content/uploads/2026/07/9b66aa1c00280d1b823d390a0f9acb7e-864x1536.jpg 864w, https://lusdaily.com/wp-content/uploads/2026/07/9b66aa1c00280d1b823d390a0f9acb7e-520x924.jpg 520w, https://lusdaily.com/wp-content/uploads/2026/07/9b66aa1c00280d1b823d390a0f9acb7e-940x1671.jpg 940w, https://lusdaily.com/wp-content/uploads/2026/07/9b66aa1c00280d1b823d390a0f9acb7e.jpg 1080w" sizes="auto, (max-width: 576px) 100vw, 576px" /></figure>
</div>


<p class="wp-block-paragraph">从有想法到小工具的落地使用，大概一共用了<strong>4个小时</strong>，大部分时间是在等 AI 写代码和调试，我主要负责把需求描述清楚。</p>



<h3 class="wp-block-heading">最让我惊讶的一件事</h3>



<p class="wp-block-paragraph">我一开始以为 AI 写的代码跑不通很正常，准备自己修。但实际情况是：<strong>Claude Code 生成的代码第一次就能跑的概率超过 70%。</strong> 报错的话直接把错误信息贴回去，它基本能自己修好。</p>



<h2 class="wp-block-heading">Vibe Coding 的几个心得</h2>



<h3 class="wp-block-heading">1. 需求描述要清晰，让ai先做出规划</h3>



<p class="wp-block-paragraph">不要跟 AI 说「帮我写个余额监控工具」，太大了，它生成的代码结构肯定不是你想要的。</p>



<p class="wp-block-paragraph">正确做法：</p>



<pre class="EnlighterJSRAW" data-enlighter-language="generic" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">我想做个桌面悬浮的小工具，希望实现国内各家大模型厂商充值后的余额实时显示，你先帮我做个仔细调研，然后形成一个方案，保存到本地。</pre>



<p class="wp-block-paragraph">Claude Code会自动进行系统的调研，例如国内有哪些常用的ai大模型厂商，余额的获取方式，以及代码的总体架构和实现方案，并且会保存成一个markdown格式的文件，你要仔细看看文件的内容是不是和你的预期一致，不一致的地方继续和ai说，直到和你的想法一致。</p>



<p class="wp-block-paragraph">方案ok之后，你要和Claude Code继续说：</p>



<pre class="EnlighterJSRAW" data-enlighter-language="generic" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">基于你的调研结果和方案xxx文件，你帮我做出一个详尽的需求规格说明书。</pre>



<p class="wp-block-paragraph">这个步骤我觉得很重要，毕竟就算用了再多的skill和插件，大模型还是会有失忆的情况，这个需求规格说明书就是用来让代码不跑偏的重要环节。这个经验有机会我会单独开一篇文章来和大家聊聊，很有意思。</p>



<h3 class="wp-block-heading">2. 错误信息是最强的 Prompt</h3>



<p class="wp-block-paragraph">这个是我用得最爽的一点。代码跑出错了，<strong>直接把错误文字全选复制</strong>，贴给 Claude Code。它自己看错误、自己修。</p>



<pre class="EnlighterJSRAW" data-enlighter-language="generic" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">你：运行报错了，贴错误信息
AI：找到问题了，xxx 文件第 xx 行少了个参数，已修复
你：再跑一下</pre>



<p class="wp-block-paragraph">这个循环走几次，代码就稳定了。</p>



<h2 class="wp-block-heading">这玩意儿真能赚钱吗？</h2>



<p class="wp-block-paragraph">目前挂了免费版和专业版（¥29.9）。专业版解锁全部 14 家厂商 + 余额提醒 + 开机自启。</p>



<p class="wp-block-paragraph">卖了几个我不说，毕竟刚发布。但至少证明了一件事：<strong>不会写代码的人也能用 AI 做出一个完整的桌面应用，别人真的在用。</strong></p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="523" src="https://lusdaily.com/wp-content/uploads/2026/07/image-34-1024x523.png" alt="" class="wp-image-192" srcset="https://lusdaily.com/wp-content/uploads/2026/07/image-34-1024x523.png 1024w, https://lusdaily.com/wp-content/uploads/2026/07/image-34-300x153.png 300w, https://lusdaily.com/wp-content/uploads/2026/07/image-34-768x392.png 768w, https://lusdaily.com/wp-content/uploads/2026/07/image-34-1536x785.png 1536w, https://lusdaily.com/wp-content/uploads/2026/07/image-34-520x266.png 520w, https://lusdaily.com/wp-content/uploads/2026/07/image-34-940x480.png 940w, https://lusdaily.com/wp-content/uploads/2026/07/image-34.png 1562w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<h2 class="wp-block-heading">你要不要试试？</h2>



<p class="wp-block-paragraph">如果你也有个想法一直没动手，因为「不会写代码」，现在真的没有借口了。</p>



<p class="wp-block-paragraph">装好 VS Code，装好 Claude Code（或者 OpenCode，有免费模型可以尝鲜，对OpenCode感兴趣的朋友，可以看老路另一篇文章，<a href="https://lusdaily.com/opencode-claude-code-alternative/" target="_blank" rel="noreferrer noopener"><strong>OpenCode平替Claude Code</strong></a>，老路在文章最后也做了链接，直接点击即可），接个便宜的模型，从最简单的开始：</p>



<ul class="wp-block-list">
<li>「帮我写一个显示当前时间的桌面悬浮插件」</li>



<li>「帮我写一个可以粘贴文本、自动保存的便签工具」</li>



<li>「帮我写一个监控文件夹变化的通知工具」</li>
</ul>



<p class="wp-block-paragraph">先从能跑起来开始，然后再一步步加功能。Vibe Coding 的核心就四个字：<strong>先干再说</strong>。</p>



<p class="wp-block-paragraph">最后再夸一下Deepseek，真的是便宜量又足，我充了200块，用到现在还没用完，除了Vibe Coding，我的hermes，Codex，包括做了个ai写小说的工具，都是用的它，超级耐用~</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="969" height="288" src="https://lusdaily.com/wp-content/uploads/2026/07/image-35.png" alt="" class="wp-image-193" srcset="https://lusdaily.com/wp-content/uploads/2026/07/image-35.png 969w, https://lusdaily.com/wp-content/uploads/2026/07/image-35-300x89.png 300w, https://lusdaily.com/wp-content/uploads/2026/07/image-35-768x228.png 768w, https://lusdaily.com/wp-content/uploads/2026/07/image-35-520x155.png 520w, https://lusdaily.com/wp-content/uploads/2026/07/image-35-940x279.png 940w" sizes="auto, (max-width: 969px) 100vw, 969px" /></figure>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<p class="wp-block-paragraph"><em>代码已开源在 GitHub：<a href="https://github.com/ulysis6/ai-api-balance-monitor" target="_blank" rel="noreferrer noopener">github.com/ulysis6/ai-api-balance-monitor</a> 如果你也在玩 Vibe Coding，或者有其他关于AI agent想讨论的，欢迎加我的 Telegram 聊聊：@ulysis6</em></p>



<figure class="wp-block-embed is-type-wp-embed"><div class="wp-block-embed__wrapper">
<div class="video-container"><blockquote class="wp-embedded-content" data-secret="9jVkHdXfzM"><a href="https://lusdaily.com/opencode-claude-code-alternative/">Claude Code 有后门被封号？试试 OpenCode 平替，开源免费还能接白嫖最新模型</a></blockquote><iframe loading="lazy" class="wp-embedded-content" sandbox="allow-scripts" security="restricted"  title="《 Claude Code 有后门被封号？试试 OpenCode 平替，开源免费还能接白嫖最新模型 》—老路日常" src="https://lusdaily.com/opencode-claude-code-alternative/embed/#?secret=84GPdWTCXl#?secret=9jVkHdXfzM" data-secret="9jVkHdXfzM" width="600" height="338" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe></div>
</div></figure>
<p>The post <a href="https://lusdaily.com/vibe-coding-ai-api-monitor/">Vibe Coding 初体验：4小时，我用 VS Code + Claude Code + DeepSeek 搓了一个桌面小插件</a> appeared first on <a href="https://lusdaily.com">老路日常</a>.</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
