<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
    <channel>
        <title>程序员凌览</title>
        <link>https://blog.code24.top/</link>
        <description>程序员凌览的博客</description>
        <lastBuildDate>Tue, 25 Aug 2026 01:25:28 GMT</lastBuildDate>
        <docs>https://validator.w3.org/feed/docs/rss2.html</docs>
        <generator>https://github.com/jpmonette/feed</generator>
        <language>en-US</language>
        <copyright>All rights reserved 2026, NotionNext</copyright>
        <item>
            <title><![CDATA[一人公司别再上 Jenkins，真不值]]></title>
            <link>https://blog.code24.top/article/387442b6-82e2-8018-ac6c-de870e4e5235</link>
            <guid>https://blog.code24.top/article/387442b6-82e2-8018-ac6c-de870e4e5235</guid>
            <pubDate>Mon, 22 Jun 2026 00:00:00 GMT</pubDate>
            <content:encoded><![CDATA[<div id="notion-article" class="mx-auto overflow-hidden "><main class="notion light-mode notion-page notion-block-387442b682e28018ac6cde870e4e5235"><div class="notion-viewport"></div><div class="notion-collection-page-properties"></div><div class="notion-text notion-block-387442b682e280b29c41dd8ce34d48de">大家好，我是凌览。</div><ul class="notion-list notion-list-disc notion-block-387442b682e280b4acc5ea6eda63aecb"><li>个人网站：<a class="notion-link" href="https://blog.code24.top/" target="_blank" rel="noopener noreferrer">blog.code24.top</a></li></ul><ul class="notion-list notion-list-disc notion-block-387442b682e280d0bd89fbd43e42189a"><li>去水印下载鸭：<a class="notion-link" href="http://nologo.code24.top/" target="_blank" rel="noopener noreferrer">nologo.code24.top</a> 想存个视频、图片却要被水印糊脸？试试这个，登录都不用</li></ul><div class="notion-text notion-block-387442b682e2806e925cd808e8101713">如果本文能给你提供启发或帮助，欢迎动动小手指，一键三连（<code class="notion-inline-code">点赞</code>、<code class="notion-inline-code">评论</code>、<code class="notion-inline-code">转发</code>），给我一些支持和鼓励谢谢。</div><hr class="notion-hr notion-block-387442b682e2808dbbe1d7ae3fe4e5c6"/><div class="notion-text notion-block-387442b682e2802cb4acfd72ce2b4fb2">Jenkins 是个开源的持续集成工具，界面好用，操作也简单，项目开发里用得特别多。能自动化搞构建、测试、部署，确实挺牛逼的。</div><div class="notion-text notion-block-387442b682e28037bb4af86f2f3e14c5">但你要是一人公司，不建议用，原因有二：</div><ul class="notion-list notion-list-disc notion-block-387442b682e280458936cfa3474b5094"><li><b>运维太费劲</b>：你一个人身兼产品、开发、运营、推广……什么活都得干。Jenkins 不是装完就完事的——插件冲突、磁盘爆满、升个级流水线直接崩。一个人搞这些，时间全耗进去了。</li></ul><ul class="notion-list notion-list-disc notion-block-387442b682e280b7ae23caa3cc9c8780"><li><b>太重了</b>：至少 4G 内存、几十 G 硬盘才能跑顺。每个月花几十块服务器钱，就为了跑个自动部署，不值当。</li></ul><div class="notion-text notion-block-387442b682e280f8b126f9e7386e9692">所以我的建议很简单：<b>除非你团队多人、流水线复杂到非 Jenkins 不可，否则别碰它。一人公司的核心是活下去、跑得快，不是伺候工具。</b></div><div class="notion-text notion-block-387442b682e2801f8cd9d3882f84fe49">那如何部署呢，我是这样做的——用本地自动化脚本替代Jenkins</div><h3 class="notion-h notion-h2 notion-h-indent-0 notion-block-387442b682e28082b66ccaa43044e5e6" data-id="387442b682e28082b66ccaa43044e5e6"><span><div id="387442b682e28082b66ccaa43044e5e6" class="notion-header-anchor"></div><a class="notion-hash-link" href="#387442b682e28082b66ccaa43044e5e6" title="第一步：本地打包推送远程"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">第一步：本地打包推送远程</span></span></h3><div class="notion-text notion-block-387442b682e280a38d45df38521d45a5">首先装个 Docker，把项目 Docker 化。</div><div class="notion-text notion-block-387442b682e280c9b59fd25ebf25bf75">比如<a class="notion-link" href="http://nologo.code24.top" target="_blank" rel="noopener noreferrer">去水印下载鸭</a>，就是用 Docker 部署的。前、后端全部打包进入一个镜像。</div><div class="notion-text notion-block-387442b682e2804b8130f5edbf103f41"><code class="notion-inline-code">Dockerfile</code>文件：</div><div class="notion-text notion-block-387442b682e28081b6bec94b7c16c7c5">然后执行打包命令：</div><div class="notion-text notion-block-387442b682e280ada3c5d29392eff62e">为什么要指定 <code class="notion-inline-code">--platform linux/amd64</code>？因为本地电脑一般是 Windows 或 macOS，线上服务器跑的是 Linux。不指定的话，Docker 按本机架构打包，传到服务器上就起不来了。</div><div class="notion-text notion-block-387442b682e280dca4c9d15849cf762f"><code class="notion-inline-code">--push .</code> 就是把镜像推到远程仓库。远程仓库我用的是阿某云的容器镜像服务，个人版免费</div><figure class="notion-asset-wrapper notion-asset-wrapper-image notion-block-387442b682e2800d99d4ec26a1550af6"><div style="position:relative;display:flex;justify-content:center;align-self:center;width:100%;max-width:100%;flex-direction:column;height:100%"><img style="object-fit:cover" src="https://file.notion.com/f/f/b9908909-80bf-4056-8c4a-83efb78ee1b3/c9371486-2915-4e5d-934e-8820049bc479/image.png?table=block&amp;id=387442b6-82e2-800d-99d4-ec26a1550af6&amp;spaceId=b9908909-80bf-4056-8c4a-83efb78ee1b3&amp;expirationTimestamp=1787644800000&amp;signature=INDmiGJHhlNiWYY7YSzeblmsPA-FZNyeCFStAV0_fY4&amp;t=387442b6-82e2-800d-99d4-ec26a1550af6" alt="notion image" loading="lazy" decoding="async"/></div></figure><div class="notion-text notion-block-387442b682e280a6856be705a74ba3e9">至于怎么配置推送到阿里云的容器镜像服务，官方文档写得很清楚，跟着走一遍就行。</div><div class="notion-text notion-block-387442b682e280599528cb914bc2635a">推送成功后，你在任何一台机器上都能 <code class="notion-inline-code">docker pull xxx</code> 把镜像拉下来跑。</div><h3 class="notion-h notion-h2 notion-h-indent-0 notion-block-387442b682e280d0b3dbc611a0fefa7b" data-id="387442b682e280d0b3dbc611a0fefa7b"><span><div id="387442b682e280d0b3dbc611a0fefa7b" class="notion-header-anchor"></div><a class="notion-hash-link" href="#387442b682e280d0b3dbc611a0fefa7b" title="第二步：本地连接服务器"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">第二步：本地连接服务器</span></span></h3><div class="notion-text notion-block-387442b682e280de9ef3f2601ecc5228"><code class="notion-inline-code"><b>ssh2</b></code> 是一个 Node.js 工具包，专门用来连远程服务器。</div><div class="notion-text notion-block-387442b682e280179ffde349500d438c">连上之后，把 <code class="notion-inline-code">docker run</code> 命令丢给它，它就能帮你在服务器上跑起来。</div><div class="notion-text notion-block-387442b682e28022878be8c3fa650e73">上面这段是伪代码，直接让 AI 帮你写就行，放这里只是演示一下思路。</div><div class="notion-text notion-block-387442b682e2805a8426fc1fbeef4630">一个简简单单的自动化部署就成了，对一人公司来说完全够用。</div><h3 class="notion-h notion-h2 notion-h-indent-0 notion-block-387442b682e2801ea042f82c6453af7e" data-id="387442b682e2801ea042f82c6453af7e"><span><div id="387442b682e2801ea042f82c6453af7e" class="notion-header-anchor"></div><a class="notion-hash-link" href="#387442b682e2801ea042f82c6453af7e" title="总结"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">总结</span></span></h3><div class="notion-text notion-block-387442b682e28029a6caf8359bacfb5f">回过头来看，这套方案其实就干了两件事：</div><ol start="1" class="notion-list notion-list-numbered notion-block-387442b682e28097832fcad91052ea13" style="list-style-type:decimal"><li><b>本地打包镜像</b>，推到阿某云镜像仓库</li></ol><ol start="2" class="notion-list notion-list-numbered notion-block-387442b682e280829db0c2e2470468a3" style="list-style-type:decimal"><li><b>写个脚本连服务器</b>，把镜像拉下来跑起来</li></ol><div class="notion-text notion-block-387442b682e280309598fc1edcfebf1e">没有 Jenkins，不用搞什么插件、权限、流水线配置。一个 <code class="notion-inline-code">Dockerfile</code> 加一个部署脚本，就把 CI/CD 的核心流程跑通了。</div><div class="notion-text notion-block-387442b682e2805abcb5e4a481a3cc2e">这就是一人公司的优势——<b>不需要一个庞大的系统来解决一个小问题。</b></div><div class="notion-text notion-block-387442b682e28047b12ee34daccc10af">Jenkins 很好，但不是每个项目都需要它。如果你的团队只有你一个人，项目也没复杂到需要几十个构建节点，那完全没必要给自己加负担。工具是拿来用的，不是拿来伺候的。</div><div class="notion-text notion-block-387442b682e280a9ad79dd49642f16fa">够用就好。</div></main></div>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[为什么我不推荐一人公司用PostgreSQL]]></title>
            <link>https://blog.code24.top/article/372442b6-82e2-80f2-b101-da633b4b5fcd</link>
            <guid>https://blog.code24.top/article/372442b6-82e2-80f2-b101-da633b4b5fcd</guid>
            <pubDate>Mon, 01 Jun 2026 00:00:00 GMT</pubDate>
            <content:encoded><![CDATA[<div id="notion-article" class="mx-auto overflow-hidden "><main class="notion light-mode notion-page notion-block-372442b682e280f2b101da633b4b5fcd"><div class="notion-viewport"></div><div class="notion-collection-page-properties"></div><div class="notion-text notion-block-372442b682e2802cb0dce6d2a0030897">大家好，我是凌览。</div><ul class="notion-list notion-list-disc notion-block-372442b682e280388c23de79730841a3"><li>个人网站：<a class="notion-link" href="https://blog.code24.top/" target="_blank" rel="noopener noreferrer">blog.code24.top</a></li></ul><ul class="notion-list notion-list-disc notion-block-372442b682e280b9a3bdcc963e54d00c"><li>去水印下载鸭：<a class="notion-link" href="http://nologo.code24.top/" target="_blank" rel="noopener noreferrer">nologo.code24.top</a> 想存个视频、图片却要被水印糊脸？试试这个，登录都不用</li></ul><div class="notion-text notion-block-372442b682e2802a8987d108041178fc">如果本文能给你提供启发或帮助，欢迎动动小手指，一键三连（<code class="notion-inline-code">点赞</code>、<code class="notion-inline-code">评论</code>、<code class="notion-inline-code">转发</code>），给我一些支持和鼓励谢谢。</div><hr class="notion-hr notion-block-372442b682e280bab2a4c5954a64be5f"/><div class="notion-text notion-block-372442b682e2808ab0c1ec9dd138f6ec">你有没有见过这种一人公司？产品还没上线，先搭了一套 PostgreSQL 主从架构，配了个 Redis 缓存，后来又上了个消息队列。问他为什么，他说&quot;万一以后用户多了呢？&quot;</div><div class="notion-text notion-block-372442b682e2806c9165fa232cc0bd5c">结果呢？六个月过去了，日活用户还没超过 50。</div><div class="notion-text notion-block-372442b682e28096aa12fc82eb7ab1a5">说白了，大多数开发者就是自我感动——技术选得越复杂，越觉得自己牛。但用户只看结果啊。</div><div class="notion-text notion-block-372442b682e280a4b959d367542815dd">一人公司嘛，用户还没到那个量级之前，数据库我推荐使用 SQLite 就完事了。</div><div class="notion-text notion-block-372442b682e28065a099f6a1571129eb">不用装服务、不用配置、不用维护，一个文件搞定全部数据存储。根本不用提前上 PostgreSQL。</div><h3 class="notion-h notion-h2 notion-h-indent-0 notion-block-372442b682e280028501f0571ee97e67" data-id="372442b682e280028501f0571ee97e67"><span><div id="372442b682e280028501f0571ee97e67" class="notion-header-anchor"></div><a class="notion-hash-link" href="#372442b682e280028501f0571ee97e67" title="SQLite是什么"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">SQLite是什么</span></span></h3><div class="notion-text notion-block-372442b682e2808b8dd6d51980818474">SQLite 是一个<b>嵌入式关系型数据库</b>。</div><div class="notion-text notion-block-372442b682e280edb4cffdd03a1cd3d9">和 MySQL、PostgreSQL 最大的区别是：它<b>不需要装服务、不需要配置、不需要运维</b>——就是一个文件。</div><table class="notion-simple-table notion-block-372442b682e280748638ddae1520b7ac"><tbody><tr class="notion-simple-table-row notion-simple-table-header-row notion-block-372442b682e280c2b923d294572e9a4a"><td class="" style="width:235.66666666666666px"><div class="notion-simple-table-cell">ㅤ</div></td><td class="" style="width:235.66666666666666px"><div class="notion-simple-table-cell">SQLite</div></td><td class="" style="width:235.66666666666666px"><div class="notion-simple-table-cell">MySQL / PostgreSQL</div></td></tr><tr class="notion-simple-table-row notion-block-372442b682e280efbabde95128ebb9bd"><td class="" style="width:235.66666666666666px"><div class="notion-simple-table-cell">启动方式</div></td><td class="" style="width:235.66666666666666px"><div class="notion-simple-table-cell">直接读写文件</div></td><td class="" style="width:235.66666666666666px"><div class="notion-simple-table-cell">启动服务进程</div></td></tr><tr class="notion-simple-table-row notion-block-372442b682e280e580d2d03071deb9dc"><td class="" style="width:235.66666666666666px"><div class="notion-simple-table-cell">配置成本</div></td><td class="" style="width:235.66666666666666px"><div class="notion-simple-table-cell">零</div></td><td class="" style="width:235.66666666666666px"><div class="notion-simple-table-cell">需要安装、配置、调优</div></td></tr><tr class="notion-simple-table-row notion-block-372442b682e28079b34df52a73deda94"><td class="" style="width:235.66666666666666px"><div class="notion-simple-table-cell">运维负担</div></td><td class="" style="width:235.66666666666666px"><div class="notion-simple-table-cell">几乎为零</div></td><td class="" style="width:235.66666666666666px"><div class="notion-simple-table-cell">备份、监控、迁移</div></td></tr><tr class="notion-simple-table-row notion-block-372442b682e280fc8618d7b3e132b9ff"><td class="" style="width:235.66666666666666px"><div class="notion-simple-table-cell">适用场景</div></td><td class="" style="width:235.66666666666666px"><div class="notion-simple-table-cell">单机、小规模</div></td><td class="" style="width:235.66666666666666px"><div class="notion-simple-table-cell">高并发、大规模</div></td></tr></tbody></table><div class="notion-text notion-block-372442b682e280afb85ed6b2b1628b02">你写代码时直接 <code class="notion-inline-code">import { DatabaseSync } from &#x27;node:sqlite&#x27;</code> 就能用，数据库就是一个 <code class="notion-inline-code">.db</code> 文件，拷走就能迁移。</div><div class="notion-text notion-block-372442b682e280c09052c2a5d5f2f66d">一人公司之所以适合用它，是因为大部分产品在早期根本不需要一个跑在服务器上的大型数据库——一个文件搞定的东西，何必上 PG。等用户量真的大了，再迁也不迟。</div><h3 class="notion-h notion-h2 notion-h-indent-0 notion-block-372442b682e28096b420dd9024243109" data-id="372442b682e28096b420dd9024243109"><span><div id="372442b682e28096b420dd9024243109" class="notion-header-anchor"></div><a class="notion-hash-link" href="#372442b682e28096b420dd9024243109" title="如何使用 SQLite"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">如何使用 SQLite</span></span></h3><figure class="notion-asset-wrapper notion-asset-wrapper-image notion-block-373442b682e2808bbe9ecbf4462bf09d"><div style="position:relative;display:flex;justify-content:center;align-self:center;width:100%;max-width:100%;flex-direction:column;height:141px"><img style="object-fit:cover" src="https://file.notion.com/f/f/b9908909-80bf-4056-8c4a-83efb78ee1b3/382f34e8-570c-437f-bbf2-6cdd1de0f7ea/node-sqlite-timeline.svg?table=block&amp;id=373442b6-82e2-808b-be9e-cbf4462bf09d&amp;spaceId=b9908909-80bf-4056-8c4a-83efb78ee1b3&amp;expirationTimestamp=1787644800000&amp;signature=5Ts5QWTpJ_NFucqryL562s2UjLUctzNQKoeFyZr1Azc&amp;t=373442b6-82e2-808b-be9e-cbf4462bf09d" alt="notion image" loading="lazy" decoding="async"/></div></figure><div class="notion-text notion-block-372442b682e280edb4b9d225ac10dcbe">Node.js 从 v22.5.0 开始内置了 <code class="notion-inline-code">node:sqlite</code> 模块，不需要 <code class="notion-inline-code">npm install</code> 任何包就能直接操作 SQLite 数据库。</div><div class="notion-text notion-block-372442b682e2804ca949e628f01bc16c">不过这里有个版本问题需要注意，我整理了一个时间线：</div><table class="notion-simple-table notion-block-372442b682e280bb921cdfaaf196d474"><tbody><tr class="notion-simple-table-row notion-simple-table-header-row notion-block-372442b682e280f59d75e273ed908646"><td class="" style="width:235.66666666666666px"><div class="notion-simple-table-cell">版本</div></td><td class="" style="width:235.66666666666666px"><div class="notion-simple-table-cell">变化</div></td><td class="" style="width:235.66666666666666px"><div class="notion-simple-table-cell">稳定性</div></td></tr><tr class="notion-simple-table-row notion-block-372442b682e280c19ca6cf0e485786d7"><td class="" style="width:235.66666666666666px"><div class="notion-simple-table-cell"><b>v22.5.0</b></div></td><td class="" style="width:235.66666666666666px"><div class="notion-simple-table-cell"><code class="notion-inline-code">node:sqlite</code> 首次引入</div></td><td class="" style="width:235.66666666666666px"><div class="notion-simple-table-cell">实验期，需要加 <code class="notion-inline-code">--experimental-sqlite</code> 标志</div></td></tr><tr class="notion-simple-table-row notion-block-372442b682e280ed8182c13505a2633f"><td class="" style="width:235.66666666666666px"><div class="notion-simple-table-cell"><b>v22.13.0</b></div></td><td class="" style="width:235.66666666666666px"><div class="notion-simple-table-cell">不再需要实验性标志</div></td><td class="" style="width:235.66666666666666px"><div class="notion-simple-table-cell">仍然是实验阶段（Stability 1.1）</div></td></tr><tr class="notion-simple-table-row notion-block-372442b682e28055bf44fb1c066c520e"><td class="" style="width:235.66666666666666px"><div class="notion-simple-table-cell"><b>v24.15.0</b></div></td><td class="" style="width:235.66666666666666px"><div class="notion-simple-table-cell">升级为 Release Candidate</div></td><td class="" style="width:235.66666666666666px"><div class="notion-simple-table-cell"><b>可以上生产了</b>（Stability 1.2）</div></td></tr></tbody></table><div class="notion-text notion-block-372442b682e280288ae7ee19a24225ce">所以结论很简单：</div><ul class="notion-list notion-list-disc notion-block-372442b682e280da89b9e69971a37c91"><li>Node 22.x：可以玩，开发和练手完全没问题</li></ul><ul class="notion-list notion-list-disc notion-block-372442b682e2802ab879eef94efcd9ce"><li>Node 24.15+：已经是 Release Candidate，可以放心用到正式环境了</li></ul><div class="notion-text notion-block-372442b682e2801b96cddcdda604bcea">具体到代码，就是一个 <code class="notion-inline-code">require</code> 的事：</div><div class="notion-text notion-block-372442b682e280bcb2b1e45f32916647">不需要 <code class="notion-inline-code">npm install sqlite3</code>，不需要 <code class="notion-inline-code">npm install better-sqlite3</code>，Node 自带。</div><blockquote class="notion-quote notion-block-372442b682e2806bbf87f159288ec9ca"><div>如果你还在用 Node 20.x，那就继续用 <code class="notion-inline-code">better-sqlite3</code> 或者 <code class="notion-inline-code">sqlite3</code>，这两个库也很成熟，等升级到 Node 24+ 再切过来就行。</div></blockquote><h3 class="notion-h notion-h2 notion-h-indent-0 notion-block-372442b682e280fdbe2fcb96e0725bc9" data-id="372442b682e280fdbe2fcb96e0725bc9"><span><div id="372442b682e280fdbe2fcb96e0725bc9" class="notion-header-anchor"></div><a class="notion-hash-link" href="#372442b682e280fdbe2fcb96e0725bc9" title="SQLite的优劣"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">SQLite的优劣</span></span></h3><div class="notion-text notion-block-372442b682e280ad84d0d40740ff1db9">优点：零配置，一个文件就是数据库，拷走即迁移。Node 自带零依赖，省一台服务器，本地读写比连 PG 快，25 年 ACID 事务稳如老狗。</div><div class="notion-text notion-block-372442b682e280e0806ee84903db99f0">缺点：并发写会阻塞，高并发扛不住。不支持网络直连，没权限管理，超几十 GB 后降性能，改表不灵活。</div><div class="notion-text notion-block-372442b682e280dd9f74f3e8d34c6a02">但对于一人公司来说，用户量没上来之前，<b>好处远大于坏处</b>。</div><h3 class="notion-h notion-h2 notion-h-indent-0 notion-block-372442b682e280f7beb3ea7a7dfa60c4" data-id="372442b682e280f7beb3ea7a7dfa60c4"><span><div id="372442b682e280f7beb3ea7a7dfa60c4" class="notion-header-anchor"></div><a class="notion-hash-link" href="#372442b682e280f7beb3ea7a7dfa60c4" title="我的线上真实使用"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">我的线上真实使用</span></span></h3><ul class="notion-list notion-list-disc notion-block-372442b682e280b6a336ea23f4cb448b"><li>熟人接单，一个个体户性质的小程序用于营业申报小程序加上一个后台</li></ul><figure class="notion-asset-wrapper notion-asset-wrapper-image notion-block-372442b682e280a59927c47c3b654a11"><div style="position:relative;display:flex;justify-content:center;align-self:center;width:100%;max-width:100%;flex-direction:column;height:100%"><img style="object-fit:cover" src="https://file.notion.com/f/f/b9908909-80bf-4056-8c4a-83efb78ee1b3/cb1742ff-c8e3-41f8-acc2-506b256735a1/image.png?table=block&amp;id=372442b6-82e2-80a5-9927-c47c3b654a11&amp;spaceId=b9908909-80bf-4056-8c4a-83efb78ee1b3&amp;expirationTimestamp=1787644800000&amp;signature=bxzImV3CmO6Cjnu8Cyz7DZgUpPbCj8fceWPRAQumvXo&amp;t=372442b6-82e2-80a5-9927-c47c3b654a11" alt="notion image" loading="lazy" decoding="async"/></div></figure><ul class="notion-list notion-list-disc notion-block-372442b682e280e39388fcdbce3f067c"><li>去水印下载鸭<a class="notion-link" href="http://nologo.code24.top/" target="_blank" rel="noopener noreferrer">nologo.code24.top</a>，运营大半年，日活用户也就 100+</li></ul><figure class="notion-asset-wrapper notion-asset-wrapper-image notion-block-372442b682e280eb8040ec03b5c9d040"><div style="position:relative;display:flex;justify-content:center;align-self:center;width:100%;max-width:100%;flex-direction:column;height:100%"><img style="object-fit:cover" src="https://file.notion.com/f/f/b9908909-80bf-4056-8c4a-83efb78ee1b3/9b6df4b0-13fb-450a-b766-b0a7d7cdf40e/image.png?table=block&amp;id=372442b6-82e2-80eb-8040-ec03b5c9d040&amp;spaceId=b9908909-80bf-4056-8c4a-83efb78ee1b3&amp;expirationTimestamp=1787644800000&amp;signature=y2TMIuQY03k5Ne0IjEWJkaap3ZJCs2Ne4I7ZkZndnwM&amp;t=372442b6-82e2-80eb-8040-ec03b5c9d040" alt="notion image" loading="lazy" decoding="async"/></div></figure><ul class="notion-list notion-list-disc notion-block-372442b682e280a3b505c852b1d4cc0f"><li>给女友开发的供应商管理系统 <a class="notion-link" href="https://yiwit.code24.top/" target="_blank" rel="noopener noreferrer">yiwit.code24.top</a>，女友=需求方，我=产品+前端+后端+测试+UI</li></ul><div class="notion-text notion-block-372442b682e280c29241c53af6e95993">我自己就这么干——所有项目 SQLite，用户不多，绰绰有余。稍微调一调，够玩很久。就那点并发量，服务器崩不崩得了都是个问题。</div><div class="notion-text notion-block-372442b682e280fcbef6f9b480efd667">要是直接上 PG，我那 2 核 3G 的服务器怕是还没开张就先撑不住了。</div><h3 class="notion-h notion-h2 notion-h-indent-0 notion-block-372442b682e280feae05fd8780fc6595" data-id="372442b682e280feae05fd8780fc6595"><span><div id="372442b682e280feae05fd8780fc6595" class="notion-header-anchor"></div><a class="notion-hash-link" href="#372442b682e280feae05fd8780fc6595" title="总结"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">总结</span></span></h3><div class="notion-text notion-block-372442b682e280fbac05eacb4ac5d272">一人公司不需要在数据库上过度设计。SQLite 零配置、Node 自带、一个文件搞定，足够撑到产品验证阶段。等用户真的涨上来了，再考虑迁到 PG 也不迟。</div><div class="notion-text notion-block-31eabe54d2564b5287ba295cd9a93c0f">别在技术自嗨上浪费你宝贵的开发时间——先把产品做出来再说。</div><div class="notion-blank notion-block-372442b682e2800a827ac35a00da1362"> </div></main></div>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Claude半个月崩7次！算力不够自己造，强制实名制封]]></title>
            <link>https://blog.code24.top/article/344442b6-82e2-805a-8fca-f980321b1985</link>
            <guid>https://blog.code24.top/article/344442b6-82e2-805a-8fca-f980321b1985</guid>
            <pubDate>Thu, 16 Apr 2026 00:00:00 GMT</pubDate>
            <content:encoded><![CDATA[<div id="notion-article" class="mx-auto overflow-hidden "><main class="notion light-mode notion-page notion-block-344442b682e2805a8fcaf980321b1985"><div class="notion-viewport"></div><div class="notion-collection-page-properties"></div><div class="notion-text notion-block-344442b682e2807d8d84f9c408b8c783">大家好，我是凌览。</div><ul class="notion-list notion-list-disc notion-block-344442b682e28077bfc6e33df2cec301"><li>个人网站：<a class="notion-link" href="https://blog.code24.top/" target="_blank" rel="noopener noreferrer">blog.code24.top</a></li></ul><ul class="notion-list notion-list-disc notion-block-344442b682e2801ab7ace03f2970ea19"><li>去水印下载鸭：<a class="notion-link" href="http://nologo.code24.top/" target="_blank" rel="noopener noreferrer">nologo.code24.top</a> 想存个视频、图片却要被水印糊脸？试试这个，登录都不用</li></ul><div class="notion-text notion-block-344442b682e280d3abc7c9e7de577a87">如果本文能给你提供启发或帮助，欢迎动动小手指，一键三连（<code class="notion-inline-code">点赞</code>、<code class="notion-inline-code">评论</code>、<code class="notion-inline-code">转发</code>），给我一些支持和鼓励谢谢。</div><hr class="notion-hr notion-block-344442b682e2808fa0a1cf805c725527"/><div class="notion-text notion-block-344442b682e280538162c8a5ba7b1359">Claude 最近真的不太稳。</div><div class="notion-text notion-block-344442b682e280efa771ffc9f10939aa">4月15号，Anthropic 状态页一片红，Claude、Claude Code、API 全线飘绿——哦不，全线报错。 堆了 6000 多条故障报告，三小时后恢复正常。</div><figure class="notion-asset-wrapper notion-asset-wrapper-embed"><div style="height:180px;position:relative"><iframe class="notion-asset-object-fit" src="https://embed.notion.co/api/iframe?url=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FRvq8Ow69CYXNZsAvQDbVCVcg9aTa86OyUDgUaibxsTBibMgBCHOWbhicnfice960YhXqtbuKjbnkZHtapfcleqHEK8PE3klCR83DtsWic0nAKtlg%2F640%3Fwx_fmt%3Dpng%26amp%3Bamp%3Bfrom%3Dappmsg&amp;key=656ac74fac4fff346b811dca7919d483" title="iframe embed" frameBorder="0" loading="lazy" scrolling="auto" allowfullscreen=""></iframe></div></figure><div class="notion-text notion-block-344442b682e280a194b0f2df12d3336f"><b>这已经是4月以来第7次了。</b></div><div class="notion-text notion-block-344442b682e28092b000e1ddcb136e11">翻一下记录：1号 Opus 4.6 超时、3号 Claude Code 挂了一小时、6号7号连崩、10号集体出错、13号又挂15分钟。半个月七次，谁顶得住。</div><h3 class="notion-h notion-h2 notion-h-indent-0 notion-block-344442b682e28035ab64d3f0d4d1383f" data-id="344442b682e28035ab64d3f0d4d1383f"><span><div id="344442b682e28035ab64d3f0d4d1383f" class="notion-header-anchor"></div><a class="notion-hash-link" href="#344442b682e28035ab64d3f0d4d1383f" title="服务器扛不住"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">服务器扛不住</span></span></h3><div class="notion-text notion-block-344442b682e28074aacac77bd9bbe999">Anthropic 每次都说是&quot;重磅发布后需求暴涨&quot;，说白了就是服务器不够用。</div><div class="notion-text notion-block-344442b682e280cea4acff7806d323db">Claude Code 和 Claude Cowork 这类产品，跑起来就是 GPU 黑洞——连续工作几小时不停，每次响应都在烧卡。需求涨太快，算力储备没跟上，怎么办？</div><div class="notion-text notion-block-344442b682e280f6bc99f411b07825ed">Anthropic 的答案：<b>自己造芯片。</b></div><figure class="notion-asset-wrapper notion-asset-wrapper-embed"><div style="height:625px;position:relative"><iframe class="notion-asset-object-fit" src="https://embed.notion.co/api/iframe?url=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_jpg%2FRvq8Ow69CYV0ib8glvRKgrszWwGX5Dibe9husAph5FYqPibPwDohvw0iadhnOASziaiasF9Wz7zE2ic5lSMj03jZEJ44FJ7t88Qr2ezftZTic6ZiaCWY%2F640%3Fwx_fmt%3Djpeg%26amp%3Bamp%3Bfrom%3Dappmsg&amp;key=656ac74fac4fff346b811dca7919d483" title="iframe embed" frameBorder="0" loading="lazy" scrolling="auto" allowfullscreen=""></iframe></div></figure><h3 class="notion-h notion-h2 notion-h-indent-0 notion-block-344442b682e280c498e8ee000fda6827" data-id="344442b682e280c498e8ee000fda6827"><span><div id="344442b682e280c498e8ee000fda6827" class="notion-header-anchor"></div><a class="notion-hash-link" href="#344442b682e280c498e8ee000fda6827" title="越赚钱，账越难算"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">越赚钱，账越难算</span></span></h3><div class="notion-text notion-block-344442b682e280fe93dbcc5abda3fe83">反直觉的是，Anthropic 其实赚得不少。年化营收突破 300 亿美元，比去年底翻了三倍多，企业市场 73% 选 Claude。</div><div class="notion-text notion-block-344442b682e280998f88f90951e3e5b3">但 Agent 产品太吃算力了。收入涨，成本也在飙。</div><div class="notion-text notion-block-344442b682e280bd85b4d4a4cbad472b">怎么算账？三招：</div><div class="notion-text notion-block-344442b682e28029b2dbf17d78a3d370"><b>第一招：改了企业版定价。</b> 以前纯订阅，现在 20 美元月费加按量计费。用的多的多付，本质是把重度用户单独拎出来收钱。</div><div class="notion-text notion-block-344442b682e2806da5f1d41fe1302dc0"><b>第二招：Claude Code 订阅加闸。</b> 用 OpenClaw 这类第三方 Agent，得额外交钱。&quot;算力要优先保障自家产品&quot;。</div><div class="notion-text notion-block-344442b682e2807599a4e33c752d0399"><b>第三招：强制实名验证。</b> 这刀对国内用户特别狠。KYC 需要政府证件加自拍，靠中转、套壳在用的账号，基本没通过空间。账号一封，记录全清。</div><figure class="notion-asset-wrapper notion-asset-wrapper-embed"><div style="height:540px;position:relative"><iframe class="notion-asset-object-fit" src="https://embed.notion.co/api/iframe?url=https%3A%2F%2Fmmbiz.qpic.cn%2Fmmbiz_png%2FRvq8Ow69CYWYRpBeGicqgXvaeQPY7EBClbzNnvAI59uOib7CKYicRZzOLCbUiajO9fkqoia6Bzibs5ELHNOVgp05czBIl7wzHwcqKst146zwoiaMbs%2F640%3Fwx_fmt%3Dpng%26amp%3Bamp%3Bfrom%3Dappmsg&amp;key=656ac74fac4fff346b811dca7919d483" title="iframe embed" frameBorder="0" loading="lazy" scrolling="auto" allowfullscreen=""></iframe></div></figure><h3 class="notion-h notion-h2 notion-h-indent-0 notion-block-344442b682e280e98133f83f3140b6ee" data-id="344442b682e280e98133f83f3140b6ee"><span><div id="344442b682e280e98133f83f3140b6ee" class="notion-header-anchor"></div><a class="notion-hash-link" href="#344442b682e280e98133f83f3140b6ee" title="巨头都在绕开英伟达"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">巨头都在绕开英伟达</span></span></h3><div class="notion-text notion-block-344442b682e28031bff6ebbea9fdc50d">自研芯片，Anthropic 不是第一个。Meta、OpenAI 都在和博合合作造芯。</div><div class="notion-text notion-block-344442b682e2803f9f8fdee0bfbbd47b">为什么找博通？定制 ASIC 的 TCO 比通用 GPU 低 30% 到 50%，每瓦性能高一个数量级。</div><div class="notion-text notion-block-344442b682e280fbb9a7f5735f196a05">但 ASIC 绑定特定架构，模型一变效率就下来。没有 CUDA 这种成熟生态，实验场景还是得靠英伟达。</div><figure class="notion-asset-wrapper notion-asset-wrapper-embed"><div style="height:459px;position:relative"><iframe class="notion-asset-object-fit" src="https://embed.notion.co/api/iframe?url=https%3A%2F%2Fmmbiz.qpic.cn%2Fsz_mmbiz_png%2FRvq8Ow69CYXteFwibd7Dl5pjKzFLz1t0IdeuwTia61uicXXrEGOt3HxbfHlZMavo5P8dLv8KtY5O4zvWX38hCA2H1xXVnqbkDicQTCQwJkDN79g%2F640%3Fwx_fmt%3Dpng%26amp%3Bamp%3Bfrom%3Dappmsg&amp;key=656ac74fac4fff346b811dca7919d483" title="iframe embed" frameBorder="0" loading="lazy" scrolling="auto" allowfullscreen=""></iframe></div></figure><div class="notion-text notion-block-344442b682e28092954ceec5c2e8fcd2">所以各家都是&quot;多云多芯&quot;——谁都不完全绑在某一家。</div><h3 class="notion-h notion-h2 notion-h-indent-0 notion-block-344442b682e280a2b4e3e5d3c81d43d0" data-id="344442b682e280a2b4e3e5d3c81d43d0"><span><div id="344442b682e280a2b4e3e5d3c81d43d0" class="notion-header-anchor"></div><a class="notion-hash-link" href="#344442b682e280a2b4e3e5d3c81d43d0" title="总结"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">总结</span></span></h3><div class="notion-text notion-block-344442b682e2803b89dcdd26adb876fc">Claude 频繁宕机，表面是服务器问题，背后是算力瓶颈。营收涨得再快，Agent 产品一跑起来就是在烧钱。</div><div class="notion-text notion-block-344442b682e280688691e6493b5651ca">Anthropic 想自研芯片，把命门攥回自己手里。但在芯片造出来之前，只能靠涨价、附加费、实名制强行算账。</div><div class="notion-text notion-block-344442b682e280819e27dc7ae6f2e87e">说白了，故事讲得再大，芯片还得看别人脸色。</div></main></div>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[别再手搓 Skill 了，用这个工具 5 分钟搞定]]></title>
            <link>https://blog.code24.top/article/343442b6-82e2-8006-846a-e54ebd330a58</link>
            <guid>https://blog.code24.top/article/343442b6-82e2-8006-846a-e54ebd330a58</guid>
            <pubDate>Wed, 15 Apr 2026 00:00:00 GMT</pubDate>
            <content:encoded><![CDATA[<div id="notion-article" class="mx-auto overflow-hidden "><main class="notion light-mode notion-page notion-block-343442b682e28006846ae54ebd330a58"><div class="notion-viewport"></div><div class="notion-collection-page-properties"></div><div class="notion-text notion-block-343442b682e280d7ab92c603972038a9">大家好，我是凌览。</div><ul class="notion-list notion-list-disc notion-block-343442b682e280798819d93adf40e07e"><li>个人网站：<a class="notion-link" href="https://blog.code24.top/" target="_blank" rel="noopener noreferrer">blog.code24.top</a></li></ul><ul class="notion-list notion-list-disc notion-block-343442b682e280afb6f3dd56e940d3a9"><li>去水印下载鸭：<a class="notion-link" href="http://nologo.code24.top/" target="_blank" rel="noopener noreferrer">nologo.code24.top</a> 想存个视频、图片却要被水印糊脸？试试这个，登录都不用</li></ul><div class="notion-text notion-block-343442b682e2809292e2f297fb6e7f40">如果本文能给你提供启发或帮助，欢迎动动小手指，一键三连（<code class="notion-inline-code">点赞</code>、<code class="notion-inline-code">评论</code>、<code class="notion-inline-code">转发</code>），给我一些支持和鼓励谢谢。</div><hr class="notion-hr notion-block-343442b682e28011b52fdb78e1e5212d"/><div class="notion-text notion-block-343442b682e280a1bf35dd4d328174c9">说实话，第一次看到 &quot;Skill&quot; 这个词，我也有点懵。是不是又要写很多代码？是不是只有程序员能玩？</div><div class="notion-text notion-block-343442b682e28090924cc0745e3e8435">后来自己上手做了几个才发现——完全不是那么回事。Skill 更像是：把一件你本来就会做的事，写成一套<b>能反复执行、不会乱跑的步骤</b>。</div><div class="notion-text notion-block-343442b682e28011a493c94d48b580d8">就说做饭吧。第一次做某道菜，你得一边看菜谱一边试探；做多了流程就固定了——先备料，再处理，最后出锅。这时候让别人帮你做，你大概会说&quot;就按这个步骤来，别自己发挥&quot;。Skill 干的就是这事，只是对象从「人」变成了「模型」——让大模型也照着这个步骤来，别自己发挥。</div><h3 class="notion-h notion-h2 notion-h-indent-0 notion-block-343442b682e280c8aeb2e397eb933493" data-id="343442b682e280c8aeb2e397eb933493"><span><div id="343442b682e280c8aeb2e397eb933493" class="notion-header-anchor"></div><a class="notion-hash-link" href="#343442b682e280c8aeb2e397eb933493" title="一个 Skill 到底长啥样？"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title"><b>一个 Skill 到底长啥样？</b></span></span></h3><div class="notion-text notion-block-343442b682e28031bceec09c098f2db8">先记住一句话：一个 Skill，本质上就是一个文件夹。</div><div class="notion-text notion-block-343442b682e2801f907afcbb833a0544">最简单的结构：</div><div class="notion-text notion-block-343442b682e280efa0a4c349be97818e"><b>SKILL.md</b> 是最核心的——告诉模型&quot;这件事干嘛用的、什么时候用、输出长啥样&quot;。</div><div class="notion-text notion-block-343442b682e28063a1c8d0eb1b6e790e">你可以把它当成一份「使用说明书 + 注意事项」。</div><h3 class="notion-h notion-h2 notion-h-indent-0 notion-block-343442b682e28061bc01effd4c74bd6d" data-id="343442b682e28061bc01effd4c74bd6d"><span><div id="343442b682e28061bc01effd4c74bd6d" class="notion-header-anchor"></div><a class="notion-hash-link" href="#343442b682e28061bc01effd4c74bd6d" title="Skill 能解决什么问题？"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title"><b>Skill 能解决什么问题？</b></span></span></h3><div class="notion-text notion-block-343442b682e28064aafcca3f25225eed">举个例子，之前我开放了一个<a class="notion-link" href="http://nologo.code24.top/" target="_blank" rel="noopener noreferrer">去水印下载鸭</a>工具，同时写了份<a class="notion-link" href="https://zwf4g5rfwiy.feishu.cn/wiki/IPkiw5F5oiMMKmk91rkce72xnig" target="_blank" rel="noopener noreferrer">接口文档</a>。但说实话，调用接口的步骤是固定的——传参数、发请求、解析返回。就这几步，每次都要重复。</div><div class="notion-text notion-block-343442b682e2803fb293f97f087df110">调用步骤：</div><ol start="1" class="notion-list notion-list-numbered notion-block-343442b682e2801d9560c471e8c8f3f3" style="list-style-type:decimal"><li>传参：token、url</li></ol><ol start="2" class="notion-list notion-list-numbered notion-block-343442b682e28022a59bffc8d3b9ea40" style="list-style-type:decimal"><li>发请求：</li></ol><ol start="3" class="notion-list notion-list-numbered notion-block-343442b682e2800fb87df36ca45304fc" style="list-style-type:decimal"><li>解析返回数据</li></ol><figure class="notion-asset-wrapper notion-asset-wrapper-image notion-block-343442b682e28010ac6bdc4d5c31bf88"><div style="position:relative;display:flex;justify-content:center;align-self:center;width:384px;max-width:100%;flex-direction:column"><img style="object-fit:cover" src="https://file.notion.com/f/f/b9908909-80bf-4056-8c4a-83efb78ee1b3/e7dd5eb2-cdd3-4c40-9838-2572aa13f535/%E5%9B%BE%E7%89%871.png?table=block&amp;id=343442b6-82e2-8010-ac6b-dc4d5c31bf88&amp;spaceId=b9908909-80bf-4056-8c4a-83efb78ee1b3&amp;expirationTimestamp=1787644800000&amp;signature=cOYyZdiPPkOTe34m6LOFbOcbPXUY2_RC21q8mY-v-MA&amp;t=343442b6-82e2-8010-ac6b-dc4d5c31bf88" alt="notion image" loading="lazy" decoding="async"/></div></figure><div class="notion-text notion-block-343442b682e280c7ae56d3822670839a">就这三步，每次都要重复一遍，挺烦的。</div><div class="notion-text notion-block-343442b682e2806089f0c8980ce23631">写成 Skill 之后，这些步骤直接固化下来，AI 碰到要调去水印接口的场景，自己就跑完了，不用你再手动复制粘贴。</div><div class="notion-text notion-block-343442b682e2801b9868cdfbcb738f90">其中 token、url 怎么获取，直接在 SKILL.md 里写清楚，或者丢个文档链接就行。</div><figure class="notion-asset-wrapper notion-asset-wrapper-image notion-block-343442b682e2808bb16cf595aea52199"><div style="position:relative;display:flex;justify-content:center;align-self:center;width:100%;max-width:100%;flex-direction:column;height:100%"><img style="object-fit:cover" src="https://file.notion.com/f/f/b9908909-80bf-4056-8c4a-83efb78ee1b3/380b87cb-d85a-4064-8154-2b11ed8a51a8/image.png?table=block&amp;id=343442b6-82e2-808b-b16c-f595aea52199&amp;spaceId=b9908909-80bf-4056-8c4a-83efb78ee1b3&amp;expirationTimestamp=1787644800000&amp;signature=NTGsROswScXzZ5L5i1utwoI1Xf0CyVHYi_TByz19mZc&amp;t=343442b6-82e2-808b-b16c-f595aea52199" alt="notion image" loading="lazy" decoding="async"/></div></figure><div class="notion-text notion-block-343442b682e2805d9ef2ddb42aa95a18">这个去水印解析的 Skill 已经开源了：<a class="notion-link" href="https://github.com/CatsAndMice/nologo-skill" target="_blank" rel="noopener noreferrer">https://github.com/CatsAndMice/nologo-skill</a>，名字叫 <code class="notion-inline-code">nologo-open-api</code>。</div><div class="notion-text notion-block-343442b682e2808c9603cdb4c6296980">效果测试成功：</div><figure class="notion-asset-wrapper notion-asset-wrapper-image notion-block-343442b682e280e0b432daa86279e3c0"><div style="position:relative;display:flex;justify-content:center;align-self:center;width:100%;max-width:100%;flex-direction:column;height:100%"><img style="object-fit:cover" src="https://file.notion.com/f/f/b9908909-80bf-4056-8c4a-83efb78ee1b3/53486f46-9c0b-416c-a83e-6672382bfe38/image.png?table=block&amp;id=343442b6-82e2-80e0-b432-daa86279e3c0&amp;spaceId=b9908909-80bf-4056-8c4a-83efb78ee1b3&amp;expirationTimestamp=1787644800000&amp;signature=zvQ4f3T2WYx3TDj08Kuzx-jyjpLc74kjkgfz85mNcfw&amp;t=343442b6-82e2-80e0-b432-daa86279e3c0" alt="notion image" loading="lazy" decoding="async"/></div></figure><h3 class="notion-h notion-h2 notion-h-indent-0 notion-block-343442b682e28028977fdb0bfeedaf2e" data-id="343442b682e28028977fdb0bfeedaf2e"><span><div id="343442b682e28028977fdb0bfeedaf2e" class="notion-header-anchor"></div><a class="notion-hash-link" href="#343442b682e28028977fdb0bfeedaf2e" title="但说实话，手搓还是有点麻烦"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title"><b>但说实话，手搓还是有点麻烦</b></span></span></h3><div class="notion-text notion-block-343442b682e2801f865dfe8ba4b479e9">概念不难理解，但真要自己从头写一个 Skill，还是得折腾——要想触发条件，要写 SKILL.md，要调试……</div><div class="notion-text notion-block-343442b682e28098810cfeddc63bddde">有没有更省事的方法？</div><div class="notion-text notion-block-343442b682e280e4b056c6321d8bf2af"><b>有。用 skill-creator。</b></div><h3 class="notion-h notion-h2 notion-h-indent-0 notion-block-343442b682e2805a95d2c8646e40314e" data-id="343442b682e2805a95d2c8646e40314e"><span><div id="343442b682e2805a95d2c8646e40314e" class="notion-header-anchor"></div><a class="notion-hash-link" href="#343442b682e2805a95d2c8646e40314e" title="skill-creator 是什么？"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title"><b>skill-creator 是什么？</b></span></span></h3><div class="notion-text notion-block-343442b682e2802f9086f424ec8791ac">Skill-Creator是一款专为开发者设计的Skill创建向导，旨在简化开发流程。其便捷性和实用性已得到广泛验证，在SkillHub上的下载量已突破7.5万。</div><div class="notion-text notion-block-343442b682e280e28b08faf5cc038121">地址：<a class="notion-link" href="https://www.skillhub.cn/skills/skill-creator" target="_blank" rel="noopener noreferrer">https://www.skillhub.cn/skills/skill-creator</a></div><figure class="notion-asset-wrapper notion-asset-wrapper-image notion-block-343442b682e2801aa357dc1b6c051903"><div style="position:relative;display:flex;justify-content:center;align-self:center;width:100%;max-width:100%;flex-direction:column;height:100%"><img style="object-fit:cover" src="https://file.notion.com/f/f/b9908909-80bf-4056-8c4a-83efb78ee1b3/88c241cb-5a96-449e-b714-406405004c20/image.png?table=block&amp;id=343442b6-82e2-801a-a357-dc1b6c051903&amp;spaceId=b9908909-80bf-4056-8c4a-83efb78ee1b3&amp;expirationTimestamp=1787644800000&amp;signature=4oHOveY60SFpjhSrsFyHK5dhX3s8CYhK7xXAJTz_cgw&amp;t=343442b6-82e2-801a-a357-dc1b6c051903" alt="notion image" loading="lazy" decoding="async"/></div></figure><div class="notion-text notion-block-343442b682e2807d9a23d1bab62543c1">说到 SkillHub，这事儿还有点意思：</div><ul class="notion-list notion-list-disc notion-block-343442b682e2808cb21bc2467b72cf01"><li>OpenClaw创始人炮轰腾讯&quot;只抄不养&quot;，腾讯喊冤（<a class="notion-link" href="https://juejin.cn/post/7616548643939991603" target="_blank" rel="noopener noreferrer">https://juejin.cn/post/7616548643939991603</a>）</li></ul><ul class="notion-list notion-list-disc notion-block-343442b682e2805499d8e83b0e502966"><li>充值成功，腾讯成为OpenClaw官方赞肋商（<a class="notion-link" href="https://juejin.cn/post/7617770069935570971" target="_blank" rel="noopener noreferrer">https://juejin.cn/post/7617770069935570971</a>）</li></ul><div class="notion-text notion-block-343442b682e28061b5b1e18c5776c8bb">安装 Skill-Creator 特别简单——直接跟它聊天就行，它会一步步指导 AI 帮你创建技能</div><div class="notion-text notion-block-343442b682e280b684d9e1766abca353">举个例子：</div><blockquote class="notion-quote notion-block-343442b682e280419205cfc781954218"><div>你：&quot;用 skill-creator 帮我创建一个提取小红书链接的 Skill&quot;</div><div class="notion-text notion-block-343442b682e28098a999fff2f3445800">它：&quot;好的，我来帮你创建。先告诉我：这个 Skill 要处理什么类型的链接？&quot;</div><div class="notion-text notion-block-343442b682e2806e821fc2e4802ae194">你：&quot;抖音、小红书都行，主要提取无水印的视频地址&quot;</div><div class="notion-text notion-block-343442b682e2802c99f2e883706a2675">它：&quot;明白了。输出格式要不要加上 metadata？我给你两个选项……&quot;</div></blockquote><div class="notion-text notion-block-343442b682e2807f9bd3e7400b72edcd">就这么一来一回，你描述需求，它帮你搞定剩下的——写 SKILL.md、搭目录结构、甚至调试代码。</div><div class="notion-text notion-block-343442b682e2804f94cbf953f963af9b">说白了就是：<b>你出想法，它帮你落地。</b></div><h3 class="notion-h notion-h2 notion-h-indent-0 notion-block-ca3dd02fc7be46f5998cb1250a726164" data-id="ca3dd02fc7be46f5998cb1250a726164"><span><div id="ca3dd02fc7be46f5998cb1250a726164" class="notion-header-anchor"></div><a class="notion-hash-link" href="#ca3dd02fc7be46f5998cb1250a726164" title="总结"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">总结</span></span></h3><div class="notion-text notion-block-9abc9ce728874a34b2d87f85751b065d">Skill 的核心是把一件事的“固定流程”写成可反复执行的步骤，让模型按规程稳定产出，避免每次都从零复制粘贴、手动操作。像调用去水印接口这类标准化流程，尤其适合沉淀成 Skill 直接复用；而如果你不想从触发条件、SKILL.md 到目录结构都自己手搓，skill-creator 这种对话式向导能把创建与落地成本降到最低。</div><div class="notion-blank notion-block-343442b682e2803b87f8e18f6cafb15e"> </div></main></div>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[充值成功，腾讯成为OpenClaw官方赞肋商]]></title>
            <link>https://blog.code24.top/article/326442b6-82e2-8095-a93e-c0e649a12803</link>
            <guid>https://blog.code24.top/article/326442b6-82e2-8095-a93e-c0e649a12803</guid>
            <pubDate>Tue, 17 Mar 2026 00:00:00 GMT</pubDate>
            <content:encoded><![CDATA[<div id="notion-article" class="mx-auto overflow-hidden "><main class="notion light-mode notion-page notion-block-326442b682e28095a93ec0e649a12803"><div class="notion-viewport"></div><div class="notion-collection-page-properties"></div><div class="notion-text notion-block-326442b682e2809c9b99c843938e2180">大家好，我是凌览。</div><ul class="notion-list notion-list-disc notion-block-326442b682e280849fedd48072814da8"><li>个人网站：<a class="notion-link" href="https://blog.code24.top/" target="_blank" rel="noopener noreferrer">blog.code24.top</a></li></ul><ul class="notion-list notion-list-disc notion-block-326442b682e280c9941de5c47af16332"><li>去水印下载鸭：<a class="notion-link" href="http://nologo.code24.top/" target="_blank" rel="noopener noreferrer">nologo.code24.top</a> 想存个视频、图片却要被水印糊脸？试试这个，登录都不用</li></ul><div class="notion-text notion-block-326442b682e280ec85f1f84643038268">如果本文能给你提供启发或帮助，欢迎动动小手指，一键三连（<code class="notion-inline-code">点赞</code>、<code class="notion-inline-code">评论</code>、<code class="notion-inline-code">转发</code>），给我一些支持和鼓励谢谢。</div><hr class="notion-hr notion-block-326442b682e280c6ab52fc85b3cc24cb"/><div class="notion-text notion-block-326442b682e280a19986e0d02aad8f78">腾讯和 OpenClaw（网友口中的&quot;龙虾&quot;）刚因数据问题针锋相对，转眼便握手言和——这场反转，全程只花了3天。</div><figure class="notion-asset-wrapper notion-asset-wrapper-image notion-block-326442b682e280fda5fdc65b7b49fd40"><div style="position:relative;display:flex;justify-content:center;align-self:center;width:100%;max-width:100%;flex-direction:column;height:100%"><img style="object-fit:cover" src="https://file.notion.com/f/f/b9908909-80bf-4056-8c4a-83efb78ee1b3/fbd01ea0-a0c6-44c2-b785-b782f21a0036/image.png?table=block&amp;id=326442b6-82e2-80fd-a5fd-c65b7b49fd40&amp;spaceId=b9908909-80bf-4056-8c4a-83efb78ee1b3&amp;expirationTimestamp=1787644800000&amp;signature=_oE6H8y7Bh7IjJLw3WvWhDK_0zsc-b3AR0ziDmgt1cs&amp;t=326442b6-82e2-80fd-a5fd-c65b7b49fd40" alt="notion image" loading="lazy" decoding="async"/></div></figure><div class="notion-text notion-block-326442b682e280819aaacaa4ff4e7cef">事情还得从3月12日说起。OpenClaw创始人Peter Steinberger（PSPDFKit创始人，现已加入OpenAI）当天突然在社交平台&quot;开火&quot;，称腾讯未经沟通便抓取了ClawHub技能库1.3万多个数据，直接让服务器成本从几百美元暴涨到五位数（万美元级别）。他原话是&quot;抄袭却不支持项目&quot;，还提到收到了腾讯关联方抱怨速率限制的邮件。</div><div class="notion-text notion-block-326442b682e2805290b0c14c26b56315">腾讯当日即回应：SkillHub是&quot;面向中国用户的本地镜像站&quot;，已标注数据来源；上线首周处理用户流量180GB（87万次下载），但从官方源仅拉取1GB数据，实际是为OpenClaw减负。腾讯还强调团队成员本就是OpenClaw代码贡献者，希望未来成为生态赞助商。</div><div class="notion-text notion-block-326442b682e280fd9904f03d2fb0cfe8">戏剧性转折出现在3月15日：Peter直接转发了腾讯成为OpenClaw社区赞助商的博文，配文&quot;喜欢一场精彩的救赎&quot;。至此，腾讯轻量云已正式入驻GitHub赞助名单，与OpenAI、百度同列。</div><figure class="notion-asset-wrapper notion-asset-wrapper-image notion-block-326442b682e28098a24bd511293c3bfc"><div style="position:relative;display:flex;justify-content:center;align-self:center;width:100%;max-width:100%;flex-direction:column;height:100%"><img style="object-fit:cover" src="https://file.notion.com/f/f/b9908909-80bf-4056-8c4a-83efb78ee1b3/cdad3c6e-87b6-4d04-b92e-6251c9c83f81/image.png?table=block&amp;id=326442b6-82e2-8098-a24b-d511293c3bfc&amp;spaceId=b9908909-80bf-4056-8c4a-83efb78ee1b3&amp;expirationTimestamp=1787644800000&amp;signature=0XDfYRO1QHsJNbbx7LTLpDhry4nNm87otAqzyN-6_yk&amp;t=326442b6-82e2-8098-a24b-d511293c3bfc" alt="notion image" loading="lazy" decoding="async"/></div></figure><div class="notion-text notion-block-326442b682e2809ca101f3a2f12a1371">最绝的是这反转速度——3天前还在撕，3天后腾讯就上榜了。Peter这句love a good redemption arc翻译过来就是：腾讯的钞能力，真香👏🏻👏🏻👏🏻
莫名联想到《西虹市首富》：&quot;你看人真准~&quot;哈哈哈</div><figure class="notion-asset-wrapper notion-asset-wrapper-image notion-block-326442b682e280799134ca82d182893a"><div style="position:relative;display:flex;justify-content:center;align-self:center;width:242.9921875px;max-width:100%;flex-direction:column"><img style="object-fit:cover" src="https://file.notion.com/f/f/b9908909-80bf-4056-8c4a-83efb78ee1b3/a4f89723-7aeb-466e-b43c-df06e2ecc4f3/643ea878ec654b16d26b79b54c886d13.gif?table=block&amp;id=326442b6-82e2-8079-9134-ca82d182893a&amp;spaceId=b9908909-80bf-4056-8c4a-83efb78ee1b3&amp;expirationTimestamp=1787644800000&amp;signature=pc94lLxbXeLU36brumotUWdiPfLycVgmK-YE2zqi1po&amp;t=326442b6-82e2-8079-9134-ca82d182893a" alt="notion image" loading="lazy" decoding="async"/></div></figure></main></div>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[尤雨溪新公司官宣！Vite+ 正式开源，前端圈要变天了？]]></title>
            <link>https://blog.code24.top/article/325442b6-82e2-8018-9b13-f2917a5624a2</link>
            <guid>https://blog.code24.top/article/325442b6-82e2-8018-9b13-f2917a5624a2</guid>
            <pubDate>Mon, 16 Mar 2026 00:00:00 GMT</pubDate>
            <content:encoded><![CDATA[<div id="notion-article" class="mx-auto overflow-hidden "><main class="notion light-mode notion-page notion-block-325442b682e280189b13f2917a5624a2"><div class="notion-viewport"></div><div class="notion-collection-page-properties"></div><div class="notion-text notion-block-325442b682e280d39b42ead85cb744e7">大家好，我是凌览。</div><ul class="notion-list notion-list-disc notion-block-325442b682e280409d71e48558adb439"><li>个人网站：<a class="notion-link" href="https://blog.code24.top/" target="_blank" rel="noopener noreferrer">blog.code24.top</a></li></ul><ul class="notion-list notion-list-disc notion-block-325442b682e280e6a21af90d7cc6f8c9"><li>去水印下载鸭：<a class="notion-link" href="http://nologo.code24.top/" target="_blank" rel="noopener noreferrer">nologo.code24.top</a> 想存个视频、图片却要被水印糊脸？试试这个，登录都不用</li></ul><div class="notion-text notion-block-325442b682e280e8ae46d715fdb90748">如果本文能给你提供启发或帮助，欢迎动动小手指，一键三连（<code class="notion-inline-code">点赞</code>、<code class="notion-inline-code">评论</code>、<code class="notion-inline-code">转发</code>），给我一些支持和鼓励谢谢。</div><hr class="notion-hr notion-block-325442b682e280918273f26fde99f29d"/><div class="notion-text notion-block-325442b682e280e39075ef7dcda4b536">3月13日深夜，尤雨溪在 X 上发了一条推文，宣布正式完成开源Vite+,并采用MIT许可证。</div><figure class="notion-asset-wrapper notion-asset-wrapper-image notion-block-325442b682e280879505c263555c8f06"><div style="position:relative;display:flex;justify-content:center;align-self:center;width:100%;max-width:100%;flex-direction:column;height:100%"><img style="object-fit:cover" src="https://file.notion.com/f/f/b9908909-80bf-4056-8c4a-83efb78ee1b3/9c353c00-1673-4e19-a641-dc881333585a/image.png?table=block&amp;id=325442b6-82e2-8087-9505-c263555c8f06&amp;spaceId=b9908909-80bf-4056-8c4a-83efb78ee1b3&amp;expirationTimestamp=1787644800000&amp;signature=nH-oIzM9Nm6Sc1tcXiYeQqO5IbC4lqVAndVWc7WC5qc&amp;t=325442b6-82e2-8087-9505-c263555c8f06" alt="notion image" loading="lazy" decoding="async"/></div></figure><h3 class="notion-h notion-h2 notion-h-indent-0 notion-block-325442b682e28013be2de1c240250b44" data-id="325442b682e28013be2de1c240250b44"><span><div id="325442b682e28013be2de1c240250b44" class="notion-header-anchor"></div><a class="notion-hash-link" href="#325442b682e28013be2de1c240250b44" title="Vite+是什么"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">Vite+是什么</span></span></h3><div class="notion-text notion-block-325442b682e280799475ffe1f0489365">说白了，Vite+ 就是把 Vite、Vitest、Oxlint、Oxfmt、Rolldown、tsdown 这些工具捆一块儿，整成一套顺手的工具。开发、测试、扫代码、格式化、打包上线——整套活全部交给 Vite+ 统一调度。写网页总得有个 Node.js 和包管理器吧？Vite+ 连这些烂摊子也一并收了，本地开发的整条流水线它全包。</div><div class="notion-text notion-block-325442b682e280b4a98cf74a90c3c432">用上 Vite+，写网页这事儿变得省事、轻快、不那么臃肿了：</div><table class="notion-simple-table notion-block-325442b682e28019ac56c5da9aa2a947"><tbody><tr class="notion-simple-table-row notion-simple-table-header-row notion-block-325442b682e280b8a628cfbe265d46fe"><td class="" style="width:355.5px"><div class="notion-simple-table-cell">命令</div></td><td class="" style="width:355.5px"><div class="notion-simple-table-cell">功能</div></td></tr><tr class="notion-simple-table-row notion-block-325442b682e2801ab410d4250c50d620"><td class="" style="width:355.5px"><div class="notion-simple-table-cell"><code class="notion-inline-code">vp env</code></div></td><td class="" style="width:355.5px"><div class="notion-simple-table-cell">Node.js 版本管理，全局或按项目隔离都行</div></td></tr><tr class="notion-simple-table-row notion-block-325442b682e280ef94c2dd5d014d969a"><td class="" style="width:355.5px"><div class="notion-simple-table-cell"><code class="notion-inline-code">vp install</code></div></td><td class="" style="width:355.5px"><div class="notion-simple-table-cell">装依赖，自动识别并调用合适的包管理器</div></td></tr><tr class="notion-simple-table-row notion-block-325442b682e2808eb8c4e5ee82d8892d"><td class="" style="width:355.5px"><div class="notion-simple-table-cell"><code class="notion-inline-code">vp dev</code></div></td><td class="" style="width:355.5px"><div class="notion-simple-table-cell">启动 Vite 开发服务器，原生 ES 模块 + 秒级热更新</div></td></tr><tr class="notion-simple-table-row notion-block-325442b682e2803fb72af3e5b0187471"><td class="" style="width:355.5px"><div class="notion-simple-table-cell"><code class="notion-inline-code">vp check</code></div></td><td class="" style="width:355.5px"><div class="notion-simple-table-cell">Oxlint 扫代码、Oxfmt 自动格式化、tsgo 类型检查，一趟水走完</div></td></tr><tr class="notion-simple-table-row notion-block-325442b682e280298c66cf0eb899a8dd"><td class="" style="width:355.5px"><div class="notion-simple-table-cell"><code class="notion-inline-code">vp test</code></div></td><td class="" style="width:355.5px"><div class="notion-simple-table-cell">集成 Vitest，跑测试反馈飞快</div></td></tr><tr class="notion-simple-table-row notion-block-325442b682e28044a378df8e382cdcb4"><td class="" style="width:355.5px"><div class="notion-simple-table-cell"><code class="notion-inline-code">vp build</code></div></td><td class="" style="width:355.5px"><div class="notion-simple-table-cell">Rolldown + Oxc 构建，产出优化后的生产包</div></td></tr><tr class="notion-simple-table-row notion-block-325442b682e280c8900ed6c6a62860f1"><td class="" style="width:355.5px"><div class="notion-simple-table-cell"><code class="notion-inline-code">vp run</code></div></td><td class="" style="width:355.5px"><div class="notion-simple-table-cell">Monorepo 任务调度，自动缓存、智能解析依赖顺序</div></td></tr><tr class="notion-simple-table-row notion-block-325442b682e2809f895eeb1cf3b27235"><td class="" style="width:355.5px"><div class="notion-simple-table-cell"><code class="notion-inline-code">vp pack</code></div></td><td class="" style="width:355.5px"><div class="notion-simple-table-cell">库发 npm 或应用打独立二进制包，二选一</div></td></tr><tr class="notion-simple-table-row notion-block-325442b682e280ada033fc0505608405"><td class="" style="width:355.5px"><div class="notion-simple-table-cell"><code class="notion-inline-code">vp create</code></div></td><td class="" style="width:355.5px"><div class="notion-simple-table-cell">脚手架搭新项目或 Monorepo，推荐配置开箱即用</div></td></tr></tbody></table><div class="notion-text notion-block-325442b682e280cbb080cd4e88ea962f">这些命令开箱就能配合着用，项目根目录丢一个配置文件就行。Vite 生态里的框架——React、Vue、Svelte，或者那些基于 Vite 的元框架——统统兼容。</div><h3 class="notion-h notion-h2 notion-h-indent-0 notion-block-325442b682e280d08058e08baf562204" data-id="325442b682e280d08058e08baf562204"><span><div id="325442b682e280d08058e08baf562204" class="notion-header-anchor"></div><a class="notion-hash-link" href="#325442b682e280d08058e08baf562204" title="Vite+想解决的核心问题"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">Vite+想解决的核心问题</span></span></h3><div class="notion-text notion-block-325442b682e280c9b7acdfc4ad33d345">前端圈工具碎片化。开发一个项目，Vite 管开发服务器，Webpack 或 Rollup 管生产打包，ESLint 扫代码毛病，Prettier 管格式化，Jest 或 Vitest 跑测试。每个工具都有自己的命令、自己的插件生态、自己的配置语法，工具间各干各的，互不搭理。需要在终端里切来切去，窗口越开越多，脑子里的上下文也跟着切来切去，累。</div><div class="notion-text notion-block-325442b682e280e19a5fd0b3e6ef90d6">配置烦琐。项目根目录堆满 <code class="notion-inline-code">.eslintrc</code>、<code class="notion-inline-code">.prettierrc</code>、<code class="notion-inline-code">webpack.config.js</code>、<code class="notion-inline-code">tsconfig.json</code>、<code class="notion-inline-code">jest.config.js</code>……改个代码风格规则，得翻五六处文件；升级个工具版本，要逐个检查兼容性，一不留神就连环炸。新人入职第一天，光读这些配置就能读懵，还没写业务代码先被环境劝退。</div><div class="notion-text notion-block-325442b682e28054bb8df0f2ae38bce7">性能是老毛病。ESLint、Prettier 这些基于 Node.js 的工具，项目文件一多，跑起来像老牛拉车。本地提交前格式化几十个文件，进度条看得人焦虑；CI 流水线里等 lint 结果，能泡完一杯咖啡。你说换个 Rust 写的工具吧，又得单独装、单独配，麻烦没减多少。</div><div class="notion-text notion-block-325442b682e28067906df40ba26e10a8">环境管理也乱。团队里有人用 nvm，有人用 fnm，有人干脆 brew 装 Node；包管理器更是 npm、yarn、pnpm 三足鼎立。</div><div class="notion-text notion-block-325442b682e2809ea0c7d2e7afbd16c5">不用 Vite+，这些麻烦就得自己硬扛。</div><div class="notion-text notion-block-325442b682e2804c9de2caf40f86b6b1">有了 Vite+ 就是一把梭，一个 <code class="notion-inline-code">vp</code> 命令，一份 <code class="notion-inline-code">vite.config.ts</code>。全程由 Vite+ 自动管环境、自动挑包管理器、自动算缓存。</div><div class="notion-text notion-block-325442b682e2800caffcdc9b36ff5491">把整条流水线串顺了，让人少折腾，把精力放回写代码本身。</div><h3 class="notion-h notion-h2 notion-h-indent-0 notion-block-325442b682e280a8a0bcc4a0f7a95b7b" data-id="325442b682e280a8a0bcc4a0f7a95b7b"><span><div id="325442b682e280a8a0bcc4a0f7a95b7b" class="notion-header-anchor"></div><a class="notion-hash-link" href="#325442b682e280a8a0bcc4a0f7a95b7b" title="现阶段的问题"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title"><b>现阶段的问题</b></span></span></h3><div class="notion-text notion-block-325442b682e280d7844cdb2d9cd4661c">Vite+ 听着很美，但坑也不少。</div><ul class="notion-list notion-list-disc notion-block-325442b682e280c8b328c331f7a96b2b"><li>Alpha 版本<b>。</b> v0.1.11，API 说变就变，生产环境别急着上。官方自己都说了，迁移完还得手动调，不是一键搞定。</li></ul><ul class="notion-list notion-list-disc notion-block-325442b682e2802bbfeaeb1d1040843b"><li>工具拧成一股绳，配置少了，但一出问题全链受影响。以前 ESLint 崩了不影响打包，以后可不好说。</li></ul><ul class="notion-list notion-list-disc notion-block-325442b682e28022a7ade3dd1e7d7f5c"><li>生态适配慢。理论上兼容 Vite 插件，实际跑起来边界情况一堆，社区插件跟进需要时间，现在冲进去容易当踩坑先锋。</li></ul><ul class="notion-list notion-list-disc notion-block-325442b682e28005b8f5c39365cf2d9c"><li> npm、pnpm、yarn 各有各的脾气，Vite+ 想自动接管，老旧仓库、私有 registry、复杂 workspace 能不能接住，还得观察。</li></ul><div class="notion-text notion-block-325442b682e280b9885dcc4e3df34e15">尝鲜可以，押注还早。</div><h3 class="notion-h notion-h2 notion-h-indent-0 notion-block-325442b682e2804bac43fb3025c73fcc" data-id="325442b682e2804bac43fb3025c73fcc"><span><div id="325442b682e2804bac43fb3025c73fcc" class="notion-header-anchor"></div><a class="notion-hash-link" href="#325442b682e2804bac43fb3025c73fcc" title="最后"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">最后</span></span></h3><div class="notion-text notion-block-325442b682e280cdb1bffc4b41e24184">Vite+ 是前端工具链的一次激进整合，Rust 重写提速，一个 <code class="notion-inline-code">vp</code> 命令管全套。</div><div class="notion-text notion-block-325442b682e2801689c8ee1a17ee224b">尤雨溪团队从 Vue 到 Vite 再到 Vite+，确实一直在革前端的命。现在还是 Alpha，饼画得香，坑也不少。搬好小板凳，先看它能不能活到正式版。</div><div class="notion-text notion-block-325442b682e280bc8b28f5a56fe09e94">Vite+官网：<a class="notion-link" href="https://viteplus.dev/guide/" target="_blank" rel="noopener noreferrer">https://viteplus.dev/guide/</a></div><div class="notion-blank notion-block-325442b682e2803cb764f8c9d440ea0b"> </div></main></div>]]></content:encoded>
        </item>
    </channel>
</rss>