<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Hexvork-Blog</title><description>分享技术与生活</description><link>https://www.hexvork.com/</link><item><title>CloudflarePages优选指南【20260125亲测有效】</title><link>https://www.hexvork.com/posts/8.html</link><guid isPermaLink="true">https://www.hexvork.com/posts/8.html</guid><description>分享Cloudflare国内提速野路子，先注册华为云账号并将Pages自定义域名添加至其DNS解析。分两方案：一是全网默认CNAME到Pages域名、中国大陆解析CNAME至优选域名；二是按电信/移动/联通分别添加优质A/AAAA记录，全网默认仍解析到Pages域名，最后将Cloudflare的NS地址替换为华为云的，且需注意该操作违反Cloudflare规定有风险。</description><pubDate>Sun, 25 Jan 2026 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;Cloudflare是知名的免费CDN服务商，节点遍布全球（环大陆区域），国际访问速度表现优异，不过国内使用体验却不尽如人意。虽说升级企业套餐能改善这一问题，但想必普通博主都不会选择。今天就给大家分享一个实用&lt;strong&gt;野路子&lt;/strong&gt;，教大家提升Cloudflare的国内访问速度。&lt;/p&gt;
&lt;p&gt;&amp;lt;div style=&quot;background-color: #fff9e8; border-left: 4px solid #ff0000; padding: 12px 16px; border-radius: 4px; display: flex; align-items: center; gap: 8px; margin: 16px 0;&quot;&amp;gt;
&amp;lt;div style=&quot;width: 20px; height: 20px; background-color: #ff0000; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 14px; flex-shrink: 0;&quot;&amp;gt;!&amp;lt;/div&amp;gt;
&amp;lt;span style=&quot;font-size: 14px; color: #595959; line-height: 20px; margin: 0; padding: 0; display: inline-block;&quot;&amp;gt;Cloudflare明令禁止用户在其平台进行任何形式的“优选”操作。若违反该规定，不仅可能面临法律诉讼，Cloudflare还将采取包括终止账户、向相关执法部门举报在内的一切必要措施。请自行权衡是否开展此类操作，本人对相关行为概不承担任何责任。&amp;lt;/span&amp;gt;
&amp;lt;/div&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;div style=&quot;background-color: #fff9e8; border-left: 4px solid #ffb800; padding: 12px 16px; border-radius: 4px; display: flex; align-items: center; gap: 8px; margin: 16px 0;&quot;&amp;gt;
&amp;lt;div style=&quot;width: 20px; height: 20px; background-color: #ffb800; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 14px; flex-shrink: 0;&quot;&amp;gt;!&amp;lt;/div&amp;gt;
&amp;lt;span style=&quot;font-size: 14px; color: #595959; line-height: 20px; margin: 0; padding: 0; display: inline-block;&quot;&amp;gt;首先，你得有个Pages项目并绑定自己的域名，且已经托管到Cloudflare上了，本文章&amp;lt;b&amp;gt;假设&amp;lt;/b&amp;gt;Cloudflare给你Pages项目分配的域名是&amp;lt;code style=&quot;background: #f0f0f0; padding: 2px 4px; border-radius: 2px; font-size: 13px;&quot;&amp;gt;w.pages.dev&amp;lt;/code&amp;gt;，你自己绑定的域名是&amp;lt;code style=&quot;background: #f0f0f0; padding: 2px 4px; border-radius: 2px; font-size: 13px;&quot;&amp;gt;cf.com&amp;lt;/code&amp;gt;，请自行替换成你自己实际的地址&amp;lt;/span&amp;gt;
&amp;lt;/div&amp;gt;&lt;/p&gt;
&lt;h4&gt;准备工作&lt;/h4&gt;
&lt;h5&gt;1.注册华为云国际账号&lt;/h5&gt;
&lt;p&gt;&amp;lt;a href=&quot;https://console-intl.huaweicloud.com/dns&quot;
style=&quot;text-decoration: none; display: block; max-width: 400px;&quot;&amp;gt;
&amp;lt;div style=&quot;display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 8px; background: #f5f5f5; cursor: pointer; transition: background 0.2s;&quot;&amp;gt;
&amp;lt;div style=&quot;width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; flex-shrink: 0;&quot;&amp;gt;
&amp;lt;img src=&quot;https://img.hexvork.com/0/link.svg&quot;&lt;br /&gt;
style=&quot;width: 100%; height: 100%; object-fit: contain; display: block;&quot;&amp;gt;
&amp;lt;/div&amp;gt;
&amp;lt;div style=&quot;flex: 1; min-width: 0;&quot;&amp;gt;
&amp;lt;div style=&quot;font-size: 15px; font-weight: 500; color: #1f2937; margin: 0;&quot;&amp;gt;华为云官网&amp;lt;/div&amp;gt;
&amp;lt;div style=&quot;font-size: 12px; color: #6b7280; margin: 2px 0 0 0;&quot;&amp;gt;Huawei&amp;lt;/div&amp;gt;
&amp;lt;/div&amp;gt;
&amp;lt;div style=&quot;width: 20px; height: 20px; color: #9ca3af; flex-shrink: 0;&quot;&amp;gt;→&amp;lt;/div&amp;gt;
&amp;lt;/div&amp;gt;
&amp;lt;/a&amp;gt;&lt;/p&gt;
&lt;p&gt;有条件的帆船注册国际账号，&lt;strong&gt;无需实名&lt;/strong&gt;，没条件的注册国内账号，老老实实实名&lt;/p&gt;
&lt;h5&gt;2.添加&lt;strong&gt;自定义域&lt;/strong&gt;至&lt;strong&gt;云解析服务 DNS&lt;/strong&gt;&lt;/h5&gt;
&lt;p&gt;点击前往&lt;a href=&quot;https://console-intl.huaweicloud.com/dns&quot;&gt;云解析服务 DNS&lt;/a&gt;，后点击&lt;code&gt;【公网域名】&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;点击右上角&lt;code&gt;【创建公网域名】&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;填入需要优选的 &lt;strong&gt;Pages 自定义域名&lt;/strong&gt;，也就是&lt;code&gt;cf.com&lt;/code&gt;，然后点击&lt;code&gt;【确定】&lt;/code&gt;&lt;/p&gt;
&lt;h4&gt;方案一：直接&lt;strong&gt;CNAME&lt;/strong&gt;已优选过的域名&lt;/h4&gt;
&lt;p&gt;在我的挑选下，只有一个CNAME域名符合我的要求：&lt;code&gt;cf.468123.xyz&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;cf.468123.xyz&lt;/code&gt;支持IPV4和IPV6，境内和境外速度都不错&lt;/p&gt;
&lt;p&gt;登录华为云，点击&lt;code&gt;cf.com&lt;/code&gt;的&lt;code&gt;【管理解析】&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;进入&lt;code&gt;【管理解析】&lt;/code&gt;后点击&lt;code&gt;【添加记录集】&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;新添加一个&lt;code&gt;【CNAME 记录】&lt;/code&gt;，线路类型为&lt;code&gt;【全网默认】&lt;/code&gt;，记录值为&lt;strong&gt;Pages 项目分配的域名&lt;/strong&gt;&lt;code&gt;w.pages.dev&lt;/code&gt;。&lt;/p&gt;
&lt;p&gt;再添加一个&lt;code&gt;【CNAME 记录】&lt;/code&gt;，线路类型为&lt;code&gt;【地域解析】&lt;/code&gt; &amp;gt; &lt;code&gt;【中国大陆】&lt;/code&gt;，记录值为&lt;strong&gt;优选域名&lt;/strong&gt;&lt;code&gt;cf.468123.xyz&lt;/code&gt;。&lt;/p&gt;
&lt;p&gt;最后在Cloudflare上添加下列华为云的NS地址&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;ns1.huaweicloud-dns.com.  
ns1.huaweicloud-dns.cn.  
ns1.huaweicloud-dns.net.  
ns1.huaweicloud-dns.org.
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;大功告成&lt;/p&gt;
&lt;h4&gt;方案二：自己一一添加Cloudflare质量好的IP&lt;/h4&gt;
&lt;p&gt;登录华为云，点击&lt;code&gt;【管理解析】&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;进入&lt;code&gt;【管理解析】&lt;/code&gt;后点击&lt;code&gt;【添加记录集】&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;新添加一个&lt;code&gt;【CNAME 记录】&lt;/code&gt;，线路类型为&lt;code&gt;【全网默认】&lt;/code&gt;，记录值为&lt;strong&gt;Pages 项目分配的域名&lt;/strong&gt;&lt;code&gt;w.pages.dev&lt;/code&gt;。&lt;/p&gt;
&lt;p&gt;再添加一个&lt;code&gt;【A 记录】&lt;/code&gt;，线路类型为&lt;code&gt;【运营商线路解析】&lt;/code&gt; &amp;gt; &lt;code&gt;【电信】&lt;/code&gt;，记录值请复制以下&lt;strong&gt;所有&lt;/strong&gt;IP&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;172.64.41.182
108.162.198.136
172.64.40.177
108.162.198.178
162.159.44.33
162.159.39.58
162.159.44.190
172.64.40.191
172.64.41.178
172.64.229.249
172.64.40.192
162.159.45.54
162.159.38.122
162.159.44.94
108.162.198.144
162.159.38.66
172.64.40.54
172.64.229.133
172.64.229.221
172.64.41.177
172.64.41.155
172.64.229.208
162.159.38.45
104.18.39.178
162.159.45.125
162.159.38.180
172.64.41.169
108.162.198.101
172.64.40.196
162.159.44.11
172.64.229.75
162.159.45.71
162.159.44.60
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;再添加一个&lt;code&gt;【A 记录】&lt;/code&gt;，线路类型为&lt;code&gt;【运营商线路解析】&lt;/code&gt; &amp;gt; &lt;code&gt;【移动】&lt;/code&gt;，记录值请复制以下&lt;strong&gt;所有&lt;/strong&gt;IP&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;104.19.43.4
104.19.60.41
104.19.54.7
104.19.37.29
172.64.147.55
104.19.48.43
104.19.35.36
104.19.49.27
104.19.59.28
104.18.38.216
104.19.52.9
104.19.46.12
104.19.54.14
104.19.34.26
104.19.45.43
104.19.52.46
104.19.61.16
104.19.53.35
104.19.34.7
104.19.50.4
104.19.37.8
104.19.35.23
104.19.46.13
104.19.60.2
104.19.57.37
104.19.42.19
104.19.35.45
104.19.46.4
104.19.61.25
104.19.45.22
104.19.37.22
104.19.57.17
104.18.40.34
104.19.57.50
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;再添加一个&lt;code&gt;【A 记录】&lt;/code&gt;，线路类型为&lt;code&gt;【运营商线路解析】&lt;/code&gt; &amp;gt; &lt;code&gt;【联通】&lt;/code&gt;，记录值请复制以下&lt;strong&gt;所有&lt;/strong&gt;IP&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;104.16.153.163
104.17.190.51
104.18.250.6
172.67.72.55
104.17.171.110
104.17.16.46
104.19.60.110
104.18.195.135
104.17.72.133
104.16.199.103
104.17.222.171
104.17.34.177
104.16.220.135
104.16.48.214
162.159.140.194
104.16.197.196
104.17.47.37
104.18.164.154
104.18.168.59
104.18.117.165
104.18.181.245
104.18.123.231
104.17.73.204
104.19.216.17
104.17.38.156
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;再添加一个&lt;code&gt;【AAAA 记录】&lt;/code&gt;，线路类型为&lt;code&gt;【运营商线路解析】&lt;/code&gt; &amp;gt; &lt;code&gt;【电信】&lt;/code&gt;，记录值请复制以下&lt;strong&gt;所有&lt;/strong&gt;IP&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;2606:4700:ff00::294d
2803:f800:50::6ca:2c0ee
2a06:98c1:50::ac40:20f2
2606:4700:52::6fda:3223
2803:f800:50::6ca:2c0ef
2606:4700:440d::4763:1ed6
2606:4700:50::adf5:3af2
2a06:98c1:50::ac40:20f1
2803:f800:50::6ca:2c095
2606:4700:56::66d8:6718
2606:4700:440e::476b:550
2606:4700:4700::43e7:7825
2803:f800:50::6ca:2c0f2
2803:f800:50::6ca:2c093
2a06:98c1:50::ac40:20eb
2606:4700:440a::1cb6:6b92
2606:4700:4405::7180:63d4
2a06:98c1:50::ac40:2095
2a06:98c1:50::ac40:20ef
2606:4700:ff00::1d3c
2606:4700:ff00::a3f1
2606:4700:50::adf5:3a95
2606:4700:ff00::f0a2
2803:f800:50::6ca:2c0eb
2606:4700:50::adf5:3af1
2a06:98c1:50::ac40:2093
2606:4700:4700::5540:c18
2606:4700:50::adf5:3a93
2606:4700:ff00::5e4b
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;再添加一个&lt;code&gt;【AAAA 记录】&lt;/code&gt;，线路类型为&lt;code&gt;【运营商线路解析】&lt;/code&gt; &amp;gt; &lt;code&gt;【移动】&lt;/code&gt;，记录值请复制以下&lt;strong&gt;所有&lt;/strong&gt;IP&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;2606:4700:83b0::a989:1c8f
2606:4700:5a::781b:9982
2606:4700:440d::3165:2694
2606:4700:83b9::9a7c:fe60
2606:4700:440d::5c47:8edc
2606:4700:5a::1702:6a46
2606:4700:83b5::4ed7:866a
2606:4700:83b1::b71f:219f
2606:4700:5a::f7f3:506d
2606:4700:5a::7320:fa86
2606:4700:52::27a1:1237
2606:4700:440f::b4eb:6595
2606:4700:300a::6505:7ee9
2606:4700:5a::d1ea:baed
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;再添加一个&lt;code&gt;【AAAA 记录】&lt;/code&gt;，线路类型为&lt;code&gt;【运营商线路解析】&lt;/code&gt; &amp;gt; &lt;code&gt;【联通】&lt;/code&gt;，记录值请复制以下&lt;strong&gt;所有&lt;/strong&gt;IP&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;2606:4700:5a::1702:6a46
2606:4700:5a::781b:9982
2606:4700:440f::da92:7100
2606:4700:310c::2f41:2cc6
2606:4700:83b5::4ed7:866a
2606:4700:83b0::a989:1c8f
2606:4700:440a::683d:281d
2606:4700:52::27a1:1237
2606:4700:440d::5c47:8edc
2606:4700:5a::face:bf67
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;最后在Cloudflare上添加下列华为云的NS地址&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;ns1.huaweicloud-dns.com.  
ns1.huaweicloud-dns.cn.  
ns1.huaweicloud-dns.net.  
ns1.huaweicloud-dns.org.
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;大功告成，希望对你有帮助&lt;/p&gt;
&lt;p&gt;SOS,找IP眼睛都要花了&lt;/p&gt;
</content:encoded></item><item><title>彻底告别会员续费：MusicFree使用指南</title><link>https://www.hexvork.com/posts/7.html</link><guid isPermaLink="true">https://www.hexvork.com/posts/7.html</guid><description>音乐发烧友必备MusicFree！开源免费、音源丰富，多端版本适配不同设备，添加订阅源即可拓展音源，还支持歌单导入和坚果云云同步，自定义性拉满。</description><pubDate>Sun, 21 Dec 2025 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;以前为了听全喜欢的歌，我得在 QQ 音乐和网易云之间反复横跳，每年会员费没少交，体验还割裂。后来我索性删了那些臃肿的官方 App，换成了 &lt;strong&gt;MusicFree&lt;/strong&gt;。这是一款插件化、开源且完全免费的播放器，只要配置好插件，全网音效基本都能一网打尽。&lt;/p&gt;
&lt;h2&gt;一、软件下载与架构选择&lt;/h2&gt;
&lt;p&gt;下载前得先看清自己设备的“底子”，选错了版本可能会出现闪退或者卡顿。&lt;/p&gt;
&lt;h3&gt;1.移动端（安卓）&lt;/h3&gt;
&lt;p&gt;你可以直接去 Github 的 &lt;a href=&quot;https://github.com/maotoumao/MusicFree/releases&quot;&gt;Releases 页面&lt;/a&gt; 下载。&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;app-arm64-v8a-release.apk&lt;/strong&gt;： 2016 年以后的主流手机闭眼选这个，性能最强。&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;app-armeabi-v7a-release.apk&lt;/strong&gt;： 给家里的老旧安卓备用机续命用。&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;app-universal-release.apk&lt;/strong&gt;： 实在搞不清楚架构就选这个，体积大点但胜在什么手机都能装。&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;2.桌面端（Win/Mac/Linux）&lt;/h3&gt;
&lt;p&gt;桌面端同样在 Github 的 &lt;a href=&quot;https://github.com/maotoumao/MusicFreeDesktop/releases&quot;&gt;MusicFreeDesktop&lt;/a&gt; 获取。&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Windows 用户&lt;/strong&gt;： 建议下 &lt;strong&gt;portable（便携版）&lt;/strong&gt;，解压就能用，不占系统盘。如果是 Win7 或 Win8 的老古董系统，记得选带 &lt;strong&gt;legacy&lt;/strong&gt; 字样的安装包。&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Mac 用户&lt;/strong&gt;： M 系列芯片选 &lt;strong&gt;arm64&lt;/strong&gt;，Intel 芯片选 &lt;strong&gt;x64&lt;/strong&gt;。&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;二、核心灵魂：配置音源插件&lt;/h2&gt;
&lt;p&gt;刚装好的 MusicFree 只是个空壳。点击侧边栏的 &lt;strong&gt;插件管理&lt;/strong&gt;，你会发现这里才是“通往新世界”的入口。&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;操作步骤&lt;/strong&gt;：&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;点击 &lt;strong&gt;订阅设置&lt;/strong&gt; -&amp;gt; &lt;strong&gt;添加&lt;/strong&gt;。&lt;/li&gt;
&lt;li&gt;链接一栏直接贴入这个聚合接口：&lt;code&gt;https://musicfreepluginshub.2020818.xyz/plugins.json&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;点击 &lt;strong&gt;保存并更新&lt;/strong&gt;。&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;你会发现搜索列表里一下子多了十几个平台。如果这个链接失效了，还可以试试 &lt;strong&gt;长青聚合音源&lt;/strong&gt;（&lt;code&gt;https://13413.kstore.space/musicfree.json&lt;/code&gt;）或者 &lt;strong&gt;Gitee 官方插件库&lt;/strong&gt;。&lt;/p&gt;
&lt;h2&gt;三、进阶玩法：歌单迁移与云同步&lt;/h2&gt;
&lt;h3&gt;1.歌单导入&lt;/h3&gt;
&lt;p&gt;不用担心以前收藏的歌白费。直接去网易云或 QQ 音乐分享你的歌单链接，然后在 MusicFree 对应的插件里粘贴导入，几秒钟就能把几百首歌同步过来。&lt;/p&gt;
&lt;h3&gt;2.坚果云多端同步&lt;/h3&gt;
&lt;p&gt;这是我最喜欢的功能。利用 WebDAV，你可以让手机和电脑共享同一套歌单和配置。&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;去 &lt;strong&gt;坚果云官网&lt;/strong&gt; 注册，在 &lt;strong&gt;第三方应用管理&lt;/strong&gt; 里创建一个 &lt;strong&gt;应用密码&lt;/strong&gt;。&lt;/li&gt;
&lt;li&gt;回到 MusicFree 的 &lt;strong&gt;设置&lt;/strong&gt; -&amp;gt; &lt;strong&gt;备份与恢复&lt;/strong&gt;。&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;URL&lt;/strong&gt; 填 &lt;code&gt;https://dav.jianguoyun.com/dav/&lt;/code&gt;，账号是你的手机号/邮箱，密码填刚才生成的那个。&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;四、碎碎念（私藏避坑经验）&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;音效调教&lt;/strong&gt;： 软件自带了音频偏移修复和采样率设置，如果是连蓝牙耳机听，记得在设置里微调一下延迟。&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;封面加载&lt;/strong&gt;： 有时候插件源多了，封面出不来，可以在设置里开启 &lt;strong&gt;代理加载封面&lt;/strong&gt;。&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;不要乱更新&lt;/strong&gt;： 如果目前的插件用得很稳，没必要天天点更新，有时候新版本反而会导致某些小众音源失效。&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;这款工具最大的魅力就在于它不属于任何一家大厂，没有广告，没有满屏的直播间，只有音乐本身。折腾一次，清爽一年。&lt;/p&gt;
</content:encoded></item><item><title>CloudflarePages+Telegraph构建免费图床</title><link>https://www.hexvork.com/posts/6.html</link><guid isPermaLink="true">https://www.hexvork.com/posts/6.html</guid><description>本文详解Cloudflare Pages+Telegraph构建图床步骤：Fork仓库、Cloudflare部署、KV/D1数据库配置、Telegraph绑定，附注意事项，实现稳定免费自主可控图床。</description><pubDate>Sun, 07 Dec 2025 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;你是否想要一个&lt;strong&gt;稳定、免费、自主可控&lt;/strong&gt;的图床？你可能在想，哪有这么好的事，但现在可以通过CloudflarePages+Telegraph构建这个理想的图床&lt;/p&gt;
&lt;p&gt;&amp;lt;h2 style=&quot;color: #fff; margin: 0;&quot;&amp;gt;一、fork仓库&amp;lt;/h1&amp;gt;&lt;/p&gt;
&lt;p&gt;打开官方仓库，点击star&amp;amp;fock&lt;/p&gt;
&lt;p&gt;&amp;lt;a href=&quot;https://github.com/MarSeventh/CloudFlare-ImgBed&quot;
style=&quot;text-decoration: none; display: block; max-width: 400px;&quot;&amp;gt;
&amp;lt;div style=&quot;display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 8px; background: #f5f5f5; cursor: pointer; transition: background 0.2s;&quot;&amp;gt;
&amp;lt;div style=&quot;width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; flex-shrink: 0;&quot;&amp;gt;
&amp;lt;img src=&quot;https://img.hexvork.com/0/github.avif&quot;&lt;br /&gt;
style=&quot;width: 100%; height: 100%; object-fit: contain; display: block;&quot;&amp;gt;
&amp;lt;/div&amp;gt;
&amp;lt;div style=&quot;flex: 1; min-width: 0;&quot;&amp;gt;
&amp;lt;div style=&quot;font-size: 15px; font-weight: 500; color: #1f2937; margin: 0;&quot;&amp;gt;CloudFlare-ImgBed Github仓库&amp;lt;/div&amp;gt;
&amp;lt;div style=&quot;font-size: 12px; color: #6b7280; margin: 2px 0 0 0;&quot;&amp;gt;MarSeventh@CloudFlare-ImgBed&amp;lt;/div&amp;gt;
&amp;lt;/div&amp;gt;
&amp;lt;div style=&quot;width: 20px; height: 20px; color: #9ca3af; flex-shrink: 0;&quot;&amp;gt;→&amp;lt;/div&amp;gt;
&amp;lt;/div&amp;gt;
&amp;lt;/a&amp;gt;&lt;/p&gt;
&lt;p&gt;为避免有小废物不会操作，这里附上图&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://img.hexvork.com/6/6-1.avif&quot; alt=&quot;fock仓库&quot; /&gt;&lt;/p&gt;
&lt;h2&gt;二、通过Cloudflare部署图床&lt;/h2&gt;
&lt;p&gt;1.注册账号&lt;/p&gt;
&lt;p&gt;2.展开左侧侧边栏的&lt;code&gt;计算和AI&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;3.点击&lt;code&gt;Workers 和 Pages&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;4.点击右上角的&lt;code&gt;构建应用程序&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;5.在最下方 Looking to deploy Pages? 点击&lt;code&gt;Get started&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;6.在 &quot;导入现有 Git 存储库&quot; 处点击 &lt;code&gt;开始使用&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;7.绑定你的Github&lt;/p&gt;
&lt;p&gt;8.⚠配置项目设置&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;配置项&lt;/th&gt;
&lt;th&gt;值&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;项目名称&lt;/td&gt;
&lt;td&gt;&lt;code&gt;cloudflare-imgbed&lt;/code&gt;（或自定义）&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;生产分支&lt;/td&gt;
&lt;td&gt;&lt;code&gt;main&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;构建命令&lt;/td&gt;
&lt;td&gt;&lt;code&gt;npm install&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;构建输出目录&lt;/td&gt;
&lt;td&gt;&lt;code&gt;/&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;9.点击 &quot;保存并部署&quot;&lt;/p&gt;
&lt;p&gt;10.绑定自己的域名&lt;/p&gt;
&lt;h2&gt;三、配置数据库&lt;/h2&gt;
&lt;p&gt;可选数据库为 &lt;code&gt;KV&lt;/code&gt; 数据库和 &lt;code&gt;D1&lt;/code&gt; 数据库&lt;/p&gt;
&lt;h3&gt;1. KV 数据库配置&lt;/h3&gt;
&lt;h4&gt;创建 KV 命名空间&lt;/h4&gt;
&lt;p&gt;1.在 Cloudflare Dashboard 中选择 &quot;存储和数据库&quot;
2.点击 &quot;Workers KV&quot;
3.点击 &quot;创建实例&quot;
4.输入命名空间名称：&lt;code&gt;img_url&lt;/code&gt;（建议使用此名称）
5.点击 &quot;创建&quot;&lt;/p&gt;
&lt;h4&gt;绑定 KV 到项目&lt;/h4&gt;
&lt;p&gt;1.返回您的 Pages 项目
2.选择 &quot;设置&quot; → &quot;绑定&quot;
3.点击 &quot;添加&quot; → &quot;KV 命名空间&quot;
4.填写绑定信息：
- &lt;strong&gt;变量名称&lt;/strong&gt;：&lt;code&gt;img_url&lt;/code&gt;（必须是这个名称）
- &lt;strong&gt;KV 命名空间&lt;/strong&gt;：选择刚创建的命名空间
5.点击 &quot;保存&quot;&lt;/p&gt;
&lt;p&gt;&amp;lt;div style=&quot;background-color: #fff9e8; border-left: 4px solid #ffb800; padding: 12px 16px; border-radius: 4px; display: flex; align-items: center; gap: 8px; margin: 16px 0;&quot;&amp;gt;
&amp;lt;div style=&quot;width: 20px; height: 20px; background-color: #ffb800; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 14px; flex-shrink: 0;&quot;&amp;gt;!&amp;lt;/div&amp;gt;
&amp;lt;span style=&quot;font-size: 14px; color: #595959; line-height: 20px; margin: 0; padding: 0; display: inline-block;&quot;&amp;gt;绑定 KV 时，变量名称必须为 &amp;lt;code style=&quot;background: #f0f0f0; padding: 2px 4px; border-radius: 2px; font-size: 13px;&quot;&amp;gt;img_url&amp;lt;/code&amp;gt;&amp;lt;/span&amp;gt;
&amp;lt;/div&amp;gt;&lt;/p&gt;
&lt;h3&gt;D1 数据库配置&lt;/h3&gt;
&lt;h4&gt;创建 D1 数据库&lt;/h4&gt;
&lt;p&gt;1.在 Cloudflare Dashboard 中选择 &quot;存储和数据库&quot;
2.点击 &quot;D1 SQL 数据库&quot;
3.点击 &quot;创建数据库&quot;
4.输入数据库名称：&lt;code&gt;img_d1&lt;/code&gt;（建议使用此名称）
5.点击 &quot;创建&quot;&lt;/p&gt;
&lt;h4&gt;初始化 D1 数据库&lt;/h4&gt;
&lt;p&gt;1.创建完成后，点击进入数据库详情页
2.选择 &quot;控制台&quot; 选项卡
3.在 SQL 输入框中逐段粘贴并执行初始化语句&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;-- CloudFlare ImgBed D1 Database Initialization Script
-- 这个脚本用于初始化D1数据库

-- 删除已存在的表（如果需要重新初始化）
-- 注意：在生产环境中使用时请谨慎
-- DROP TABLE IF EXISTS files;
-- DROP TABLE IF EXISTS settings;
-- DROP TABLE IF EXISTS index_operations;
-- DROP TABLE IF EXISTS index_metadata;
-- DROP TABLE IF EXISTS other_data;

-- 执行主要的数据库架构创建
-- 这里会包含 schema.sql 的内容

-- 1. 文件表 - 存储文件元数据
CREATE TABLE IF NOT EXISTS files (
    id TEXT PRIMARY KEY,
    value TEXT,
    metadata TEXT NOT NULL,
    file_name TEXT,
    file_type TEXT,
    file_size TEXT,
    upload_ip TEXT,
    upload_address TEXT,
    list_type TEXT,
    timestamp INTEGER,
    label TEXT,
    directory TEXT,
    channel TEXT,
    channel_name TEXT,
    tg_file_id TEXT,
    tg_chat_id TEXT,
    tg_bot_token TEXT,
    is_chunked BOOLEAN DEFAULT FALSE,
    tags TEXT, 
    created_at DATETIME DEFAULT CURRENT_TIMESTAMP,
    updated_at DATETIME DEFAULT CURRENT_TIMESTAMP
);

-- 2. 系统配置表
CREATE TABLE IF NOT EXISTS settings (
    key TEXT PRIMARY KEY,
    value TEXT NOT NULL,
    category TEXT,
    description TEXT,
    created_at DATETIME DEFAULT CURRENT_TIMESTAMP,
    updated_at DATETIME DEFAULT CURRENT_TIMESTAMP
);

-- 3. 索引操作表
CREATE TABLE IF NOT EXISTS index_operations (
    id TEXT PRIMARY KEY,
    type TEXT NOT NULL,
    timestamp INTEGER NOT NULL,
    data TEXT NOT NULL,
    processed BOOLEAN DEFAULT FALSE,
    created_at DATETIME DEFAULT CURRENT_TIMESTAMP
);

-- 4. 索引元数据表
CREATE TABLE IF NOT EXISTS index_metadata (
    key TEXT PRIMARY KEY,
    last_updated INTEGER,
    total_count INTEGER DEFAULT 0,
    last_operation_id TEXT,
    chunk_count INTEGER DEFAULT 0,
    chunk_size INTEGER DEFAULT 0,
    created_at DATETIME DEFAULT CURRENT_TIMESTAMP,
    updated_at DATETIME DEFAULT CURRENT_TIMESTAMP
);

-- 5. 其他数据表
CREATE TABLE IF NOT EXISTS other_data (
    key TEXT PRIMARY KEY,
    value TEXT NOT NULL,
    type TEXT,
    description TEXT,
    created_at DATETIME DEFAULT CURRENT_TIMESTAMP,
    updated_at DATETIME DEFAULT CURRENT_TIMESTAMP
);

-- 创建索引
CREATE INDEX IF NOT EXISTS idx_files_timestamp ON files(timestamp DESC);
CREATE INDEX IF NOT EXISTS idx_files_directory ON files(directory);
CREATE INDEX IF NOT EXISTS idx_files_channel ON files(channel);
CREATE INDEX IF NOT EXISTS idx_files_file_type ON files(file_type);
CREATE INDEX IF NOT EXISTS idx_files_upload_ip ON files(upload_ip);
CREATE INDEX IF NOT EXISTS idx_files_created_at ON files(created_at DESC);
CREATE INDEX IF NOT EXISTS idx_files_tags ON files(tags);

CREATE INDEX IF NOT EXISTS idx_settings_category ON settings(category);

CREATE INDEX IF NOT EXISTS idx_index_operations_timestamp ON index_operations(timestamp);
CREATE INDEX IF NOT EXISTS idx_index_operations_processed ON index_operations(processed);
CREATE INDEX IF NOT EXISTS idx_index_operations_type ON index_operations(type);

CREATE INDEX IF NOT EXISTS idx_other_data_type ON other_data(type);

-- 创建触发器
CREATE TRIGGER IF NOT EXISTS update_files_updated_at 
    AFTER UPDATE ON files
    BEGIN
        UPDATE files SET updated_at = CURRENT_TIMESTAMP WHERE id = NEW.id;
    END;

CREATE TRIGGER IF NOT EXISTS update_settings_updated_at 
    AFTER UPDATE ON settings
    BEGIN
        UPDATE settings SET updated_at = CURRENT_TIMESTAMP WHERE key = NEW.key;
    END;

CREATE TRIGGER IF NOT EXISTS update_index_metadata_updated_at 
    AFTER UPDATE ON index_metadata
    BEGIN
        UPDATE index_metadata SET updated_at = CURRENT_TIMESTAMP WHERE key = NEW.key;
    END;

CREATE TRIGGER IF NOT EXISTS update_other_data_updated_at 
    AFTER UPDATE ON other_data
    BEGIN
        UPDATE other_data SET updated_at = CURRENT_TIMESTAMP WHERE key = NEW.key;
    END;

-- 插入初始的索引元数据
INSERT OR REPLACE INTO index_metadata (key, last_updated, total_count, last_operation_id)
VALUES (&apos;main_index&apos;, 0, 0, NULL);

-- 初始化完成
&lt;/code&gt;&lt;/pre&gt;
&lt;h4&gt;绑定 D1 到项目&lt;/h4&gt;
&lt;p&gt;1.返回Pages项目
2.选择 &quot;设置&quot; → &quot;绑定&quot;
3.点击 &quot;添加&quot; → &quot;D1 数据库&quot;
4.填写绑定信息：
- &lt;strong&gt;变量名称&lt;/strong&gt;：&lt;code&gt;img_d1&lt;/code&gt;（必须是这个名称）
- &lt;strong&gt;D1 数据库&lt;/strong&gt;：选择刚创建的数据库
5.点击 &quot;保存&quot;&lt;/p&gt;
&lt;p&gt;&amp;lt;div style=&quot;background-color: #fff9e8; border-left: 4px solid #ffb800; padding: 12px 16px; border-radius: 4px; display: flex; align-items: center; gap: 8px; margin: 16px 0;&quot;&amp;gt;
&amp;lt;div style=&quot;width: 20px; height: 20px; background-color: #ffb800; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 14px; flex-shrink: 0;&quot;&amp;gt;!&amp;lt;/div&amp;gt;
&amp;lt;span style=&quot;font-size: 14px; color: #595959; line-height: 20px; margin: 0; padding: 0; display: inline-block;&quot;&amp;gt;绑定 D1 时，变量名称必须为 &amp;lt;code style=&quot;background: #f0f0f0; padding: 2px 4px; border-radius: 2px; font-size: 13px;&quot;&amp;gt;img_d1&amp;lt;/code&amp;gt;&amp;lt;/span&amp;gt;
&amp;lt;/div&amp;gt;&lt;/p&gt;
&lt;p&gt;重新部署项目&lt;/p&gt;
&lt;h2&gt;四、配置Telegraph&lt;/h2&gt;
&lt;h3&gt;1.获取 &lt;code&gt;TG_BOT_TOKEN&lt;/code&gt;&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;在 Telegram 中搜索 &lt;a href=&quot;https://t.me/BotFather&quot;&gt;@BotFather&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;发送 &lt;code&gt;/newbot&lt;/code&gt; 命令&lt;/li&gt;
&lt;li&gt;按提示输入 Bot 名称和用户名&lt;/li&gt;
&lt;li&gt;获得 Bot Token&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;2.获取&lt;code&gt;TG_CHAT_ID&lt;/code&gt;&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;创建一个新的 Telegram 频道&lt;/li&gt;
&lt;li&gt;将创建的 Bot 添加为频道管理员&lt;/li&gt;
&lt;li&gt;给予 Bot 消息管理的权限&lt;/li&gt;
&lt;li&gt;在频道中发送一条消息&lt;/li&gt;
&lt;li&gt;向 &lt;a href=&quot;https://t.me/VersaToolsBot&quot;&gt;@VersaToolsBot&lt;/a&gt; 转发这条消息&lt;/li&gt;
&lt;li&gt;获得&lt;code&gt;TG_CHAT_ID&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&amp;lt;div style=&quot;background-color: #fff9e8; border-left: 4px solid #ffb800; padding: 12px 16px; border-radius: 4px; display: flex; align-items: flex-start; gap: 8px; margin: 16px 0;&quot;&amp;gt;
&amp;lt;div style=&quot;width: 20px; height: 20px; background-color: #ffb800; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 14px; flex-shrink: 0; margin-top: 2px;&quot;&amp;gt;!&amp;lt;/div&amp;gt;
&amp;lt;div style=&quot;font-size: 14px; color: #595959; line-height: 24px; margin: 0; padding: 0;&quot;&amp;gt;
1.频道 ID 前面有 &amp;lt;code style=&quot;background: #f0f0f0; padding: 2px 4px; border-radius: 2px; font-size: 13px;&quot;&amp;gt;-&amp;lt;/code&amp;gt; 号时需要保留&amp;lt;br&amp;gt;
2.Bot 必须具有频道管理员权限
&amp;lt;/div&amp;gt;
&amp;lt;/div&amp;gt;&lt;/p&gt;
&lt;h2&gt;五、Telegraph绑定进Pages&lt;/h2&gt;
&lt;p&gt;1.访问https://你的域名/dashboard&lt;/p&gt;
&lt;p&gt;2.点击&lt;code&gt;系统设置&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;3.点击&lt;code&gt;上传设置&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;4.填入配置&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://img.hexvork.com/6/6-2.avif&quot; alt=&quot;填配置&quot; /&gt;&lt;/p&gt;
&lt;h2&gt;结语&lt;/h2&gt;
&lt;p&gt;CloudFlare-ImgBed项目为我们提供了一个理想的图床，它还有许多强大的功能，例如上传图片加密码、管理员用户名密码、图片审核，请各位自行探索&lt;/p&gt;
&lt;h3&gt;参考&lt;/h3&gt;
&lt;p&gt;&amp;lt;a href=&quot;https://github.com/MarSeventh/CloudFlare-ImgBed&quot;
style=&quot;text-decoration: none; display: block; max-width: 400px;&quot;&amp;gt;
&amp;lt;div style=&quot;display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 8px; background: #f5f5f5; cursor: pointer; transition: background 0.2s;&quot;&amp;gt;
&amp;lt;div style=&quot;width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; flex-shrink: 0;&quot;&amp;gt;
&amp;lt;img src=&quot;https://img.hexvork.com/0/github.avif&quot;&lt;br /&gt;
style=&quot;width: 100%; height: 100%; object-fit: contain; display: block;&quot;&amp;gt;
&amp;lt;/div&amp;gt;
&amp;lt;div style=&quot;flex: 1; min-width: 0;&quot;&amp;gt;
&amp;lt;div style=&quot;font-size: 15px; font-weight: 500; color: #1f2937; margin: 0;&quot;&amp;gt;CloudFlare-ImgBed Github仓库&amp;lt;/div&amp;gt;
&amp;lt;div style=&quot;font-size: 12px; color: #6b7280; margin: 2px 0 0 0;&quot;&amp;gt;MarSeventh@CloudFlare-ImgBed&amp;lt;/div&amp;gt;
&amp;lt;/div&amp;gt;
&amp;lt;div style=&quot;width: 20px; height: 20px; color: #9ca3af; flex-shrink: 0;&quot;&amp;gt;→&amp;lt;/div&amp;gt;
&amp;lt;/div&amp;gt;
&amp;lt;/a&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;a href=&quot;https://cfbed.sanyue.de/&quot;
style=&quot;text-decoration: none; display: block; max-width: 400px;&quot;&amp;gt;
&amp;lt;div style=&quot;display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 8px; background: #f5f5f5; cursor: pointer; transition: background 0.2s;&quot;&amp;gt;
&amp;lt;div style=&quot;width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; flex-shrink: 0;&quot;&amp;gt;
&amp;lt;img src=&quot;https://img.hexvork.com/0/link.svg&quot;&lt;br /&gt;
style=&quot;width: 100%; height: 100%; object-fit: contain; display: block;&quot;&amp;gt;
&amp;lt;/div&amp;gt;
&amp;lt;div style=&quot;flex: 1; min-width: 0;&quot;&amp;gt;
&amp;lt;div style=&quot;font-size: 15px; font-weight: 500; color: #1f2937; margin: 0;&quot;&amp;gt;CloudFlare-ImgBed 官方文档&amp;lt;/div&amp;gt;
&amp;lt;div style=&quot;font-size: 12px; color: #6b7280; margin: 2px 0 0 0;&quot;&amp;gt;安心存取，轻松分享&amp;lt;/div&amp;gt;
&amp;lt;/div&amp;gt;
&amp;lt;div style=&quot;width: 20px; height: 20px; color: #9ca3af; flex-shrink: 0;&quot;&amp;gt;→&amp;lt;/div&amp;gt;
&amp;lt;/div&amp;gt;
&amp;lt;/a&amp;gt;&lt;/p&gt;
</content:encoded></item><item><title>国内环境下的 CDN 加速源选购与替换全指南</title><link>https://www.hexvork.com/posts/5.html</link><guid isPermaLink="true">https://www.hexvork.com/posts/5.html</guid><description>本文分享jsdelivr官方（含Gcore、Cloudflare等）及第三方（如JSDMirror）加速源的速度、可用性与链接，附CDNjs非官方源，助力高效选择适配加速源。</description><pubDate>Sat, 06 Dec 2025 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;在搭建 Hexo 博客时，由于网络环境的特殊性， jsdelivr 官方节点的国内访问速度往往波动较大。通过配置高效的第三方镜像源，可以显著提升网站静态资源的加载速度，优化首屏开启体验。&lt;/p&gt;
&lt;h2&gt;一、 Jsdelivr 加速源深度测评&lt;/h2&gt;
&lt;p&gt;目前市面上主流的加速节点在速度与可用性上表现各异，建议根据实测效果选择最适合你的方案。&lt;/p&gt;
&lt;h3&gt;1.官方节点对比&lt;/h3&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;节点名称&lt;/th&gt;
&lt;th&gt;推荐指数&lt;/th&gt;
&lt;th&gt;国内速度&lt;/th&gt;
&lt;th&gt;可用性&lt;/th&gt;
&lt;th&gt;官方链接&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Cloudflare 节点&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;⭐⭐⭐&lt;/td&gt;
&lt;td&gt;快&lt;/td&gt;
&lt;td&gt;高&lt;/td&gt;
&lt;td&gt;&lt;a href=&quot;https://testingcf.jsdelivr.com/&quot;&gt;点击进入&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Fastly 节点&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;⭐⭐&lt;/td&gt;
&lt;td&gt;较快&lt;/td&gt;
&lt;td&gt;较高&lt;/td&gt;
&lt;td&gt;&lt;a href=&quot;https://fastly.jsdelivr.net/&quot;&gt;点击进入&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Gcore 节点&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;⭐&lt;/td&gt;
&lt;td&gt;慢&lt;/td&gt;
&lt;td&gt;高&lt;/td&gt;
&lt;td&gt;&lt;a href=&quot;https://gcore.jsdelivr.net/&quot;&gt;点击进入&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Quantil 节点&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;⭐⭐&lt;/td&gt;
&lt;td&gt;慢&lt;/td&gt;
&lt;td&gt;较高&lt;/td&gt;
&lt;td&gt;&lt;a href=&quot;https://quantil.jsdelivr.net/&quot;&gt;点击进入&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h3&gt;2.第三方镜像源（推荐）&lt;/h3&gt;
&lt;p&gt;对于追求极致加载速度的国内玩家，第三方镜像源通常是更优选。&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;镜像名称&lt;/th&gt;
&lt;th&gt;推荐指数&lt;/th&gt;
&lt;th&gt;国内速度&lt;/th&gt;
&lt;th&gt;可用性&lt;/th&gt;
&lt;th&gt;加速链接&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;JSDMirror&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;⭐⭐⭐⭐⭐&lt;/td&gt;
&lt;td&gt;快&lt;/td&gt;
&lt;td&gt;高&lt;/td&gt;
&lt;td&gt;&lt;a href=&quot;https://cdn.jsdmirror.com/&quot;&gt;https://cdn.jsdmirror.com/&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Topthink (未知)&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;⭐⭐⭐⭐&lt;/td&gt;
&lt;td&gt;快&lt;/td&gt;
&lt;td&gt;高&lt;/td&gt;
&lt;td&gt;&lt;a href=&quot;https://jsdelivr.topthink.com/&quot;&gt;https://jsdelivr.topthink.com/&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;括彩云&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;⭐⭐⭐⭐&lt;/td&gt;
&lt;td&gt;快&lt;/td&gt;
&lt;td&gt;高&lt;/td&gt;
&lt;td&gt;&lt;a href=&quot;https://cdn.iocdn.cc/&quot;&gt;https://cdn.iocdn.cc/&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h2&gt;二、 CDNjs 资源的国内平替&lt;/h2&gt;
&lt;p&gt;如果你需要加速 CDNjs 托管的库， &lt;strong&gt;ZSTATIC&lt;/strong&gt; 是目前公认的优质非官方加速源。&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;推荐指数&lt;/strong&gt;： ⭐⭐⭐⭐⭐&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;加速地址&lt;/strong&gt;： &lt;a href=&quot;https://s4.zstatic.net/&quot;&gt;https://s4.zstatic.net/&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;核心优势&lt;/strong&gt;： 国内边缘节点覆盖广，响应延迟极低。&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;三、核心实操：如何高效替换 CDN&lt;/h2&gt;
&lt;h3&gt;方法 A：单个资源手动替换&lt;/h3&gt;
&lt;p&gt;这种方法适合微调，直接修改链接中的域名部分即可。&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;原始链接&lt;/strong&gt;： &lt;code&gt;https://cdn.jsdelivr.net/npm/jquery@3.6.4/dist/jquery.min.js&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;替换后&lt;/strong&gt;： &lt;code&gt;https://cdn.jsdmirror.com/npm/jquery@3.6.4/dist/jquery.min.js&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;方法 B：Butterfly 主题全局替换&lt;/h3&gt;
&lt;p&gt;如果你使用 Butterfly 主题，可以通过修改底层脚本实现一劳永逸的加速。&lt;/p&gt;
&lt;h4&gt;1. &lt;strong&gt;修改脚本逻辑&lt;/strong&gt;：&lt;/h4&gt;
&lt;p&gt;打开 &lt;code&gt;blog\themes\butterfly\scripts\events\cdn.js&lt;/code&gt;，在 &lt;code&gt;cdnSource&lt;/code&gt; 对象中插入你的镜像源定义（以 &lt;strong&gt;JSDMirror&lt;/strong&gt; 为例）：&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;const cdnSource = {
  local: cond === &apos;internal&apos; ? `${cdnjs_file + verType}` : `/pluginsSrc/${name}/${file + verType}`,
  jsdelivr: `https://cdn.jsdelivr.net/npm/${name}${verType}/${min_file}`,
  unpkg: `https://unpkg.com/${name}${verType}/${file}`,
  cdnjs: `https://cdnjs.cloudflare.com/ajax/libs/${cdnjs_name}/${version}/${min_cdnjs_file}`,
  // 新增 jsdmirror 加速源定义
  jsdmirror: `https://cdn.jsdmirror.com/npm/${name}${verType}/${min_file}`,
}
&lt;/code&gt;&lt;/pre&gt;
&lt;h4&gt;2. &lt;strong&gt;应用主题配置&lt;/strong&gt;：&lt;/h4&gt;
&lt;p&gt;打开主题根目录下的 &lt;strong&gt;_config.yml&lt;/strong&gt;，找到 CDN 配置部分进行如下修改：&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;CDN:
  internal_provider: local
  third_party_provider: jsdmirror
&lt;/code&gt;&lt;/pre&gt;
&lt;h2&gt;四、总结与建议&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;避雷提示&lt;/strong&gt;： 虽然第三方源速度飞快，但建议定期检查链接的 &lt;strong&gt;可用性&lt;/strong&gt;。&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;部署习惯&lt;/strong&gt;： 修改完成后，务必执行 &lt;code&gt;hexo clean &amp;amp;&amp;amp; hexo g&lt;/code&gt; 重新生成静态文件，确保所有资源路径都已正确重定向。&lt;/li&gt;
&lt;/ul&gt;
</content:encoded></item><item><title>Hexo-butterfly主题增加友链界面</title><link>https://www.hexvork.com/posts/4.html</link><guid isPermaLink="true">https://www.hexvork.com/posts/4.html</guid><description>Hexo-butterfly主题添加友链界面：创建link/index.md页面与_data/link.yml数据文件，配置导航栏菜单，执行hexo三联命令即可完成部署。</description><pubDate>Sun, 16 Nov 2025 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;在从 Stellar 切换到 Butterfly 主题的过程中，友链界面的配置往往是容易卡壳的一环。经过实测和填坑，我整理了这套标准的部署流程，希望能帮你快速搭建出理想的友链展示区。&lt;/p&gt;
&lt;h2&gt;一、 初始化页面文件&lt;/h2&gt;
&lt;p&gt;首先，你需要在博客根目录下手动创建对应的页面文件夹。&lt;/p&gt;
&lt;p&gt;在 &lt;code&gt;source/link&lt;/code&gt; 路径下新建一个 &lt;strong&gt;index.md&lt;/strong&gt; 文件。打开该文件，将 Front-matter 区域配置如下：&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;---
title: 友链展示
date: 2025-11-16
type: &quot;link&quot;
---
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;设置 &lt;code&gt;type: &quot;link&quot;&lt;/code&gt; 是关键，这会告诉主题调用专门的友链模板来渲染该页面。&lt;/p&gt;
&lt;h2&gt;二、 构建友链数据池&lt;/h2&gt;
&lt;p&gt;Butterfly 采用数据驱动的方式管理友链。你需要在博客根目录的 &lt;code&gt;_data&lt;/code&gt; 文件夹下新建 &lt;strong&gt;link.yml&lt;/strong&gt; 文件。&lt;/p&gt;
&lt;p&gt;按照以下格式填入你的友链信息：&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;- class_name: 友情链接
  class_desc: 这里的每个站点，都耐人寻味……
  flink_style: flexcard
  link_list:
    - name: 雨砚Blog
      link: https://www.yuyano.com
      avatar: https://www.yuyano.com/img/0/favicon.webp
      descr: 一个技术博客丫
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;&lt;strong&gt;name&lt;/strong&gt;： 网站名称。
&lt;strong&gt;link&lt;/strong&gt;： 网站跳转链接。
&lt;strong&gt;avatar&lt;/strong&gt;： 站长头像地址。
&lt;strong&gt;descr&lt;/strong&gt;： 网站的一句话介绍。&lt;/p&gt;
&lt;p&gt;后续每增加一个朋友，只需在 &lt;code&gt;link_list&lt;/code&gt; 下按格式新增这四项信息即可。&lt;/p&gt;
&lt;h2&gt;三、 挂载到导航菜单&lt;/h2&gt;
&lt;p&gt;页面和数据准备好后，需要让它在导航栏显示出来。&lt;/p&gt;
&lt;p&gt;打开主题配置文件 &lt;strong&gt;_config.butterfly.yml&lt;/strong&gt;，在 &lt;code&gt;menu&lt;/code&gt; 栏目下新增一行入口：&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;友链展示: /link/ || fas fa-link
&lt;/code&gt;&lt;/pre&gt;
&lt;h2&gt;四、 编译与发布&lt;/h2&gt;
&lt;p&gt;最后，执行 Hexo 标准的“三连”命令来清理缓存并部署上线：&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;hexo clean
hexo g
hexo d
&lt;/code&gt;&lt;/pre&gt;
&lt;h2&gt;小结&lt;/h2&gt;
&lt;p&gt;折腾个人博客的乐趣就在于这种从零到一的 DIY 过程。现在刷新一下你的站点，应该就能看到那个整齐划一、极客范儿十足的友链展示区了。&lt;/p&gt;
</content:encoded></item><item><title>Hexo-butterfly主题修改默认字体</title><link>https://www.hexvork.com/posts/3.html</link><guid isPermaLink="true">https://www.hexvork.com/posts/3.html</guid><description>该教程介绍0基础0成本修改Hexo-butterfly主题默认字体的两种方法：CDN引入霞鹜文楷（全局）和JetBrains Mono（代码），或本地部署霞鹜文楷，均需修改配置文件，注意链接/路径有效性与首次加载速度。</description><pubDate>Fri, 14 Nov 2025 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;如果你觉得 Butterfly 主题默认的字体缺少一点“设计感”，可以通过 CDN 引入或本地部署的方式来更换。这篇文章会以 霞鹜文楷 (LXGW WenKai) 作为全局字体， JetBrains Mono 作为代码字体进行演示。&lt;/p&gt;
&lt;h2&gt;方案一：通过 CDN 引入（推荐，免维护）&lt;/h2&gt;
&lt;p&gt;这种方法最省心，直接调用公共资源库的字体文件，不需要占用你自己的服务器带宽。&lt;/p&gt;
&lt;h3&gt;1. 注入资源链接&lt;/h3&gt;
&lt;p&gt;打开主题配置文件 _config.butterfly.yml，找到 inject 部分，添加以下代码来引入外部样式表：&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;inject:
  head:
    - &amp;lt;link rel=&quot;stylesheet&quot; href=&quot;https://cdnjs.cloudflare.com/ajax/libs/lxgw-wenkai-screen-webfont/1.7.0/style.min.css&quot;&amp;gt;
    - &amp;lt;link rel=&quot;stylesheet&quot; href=&quot;https://fonts.cdnfonts.com/css/jetbrains-mono&quot;&amp;gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;h3&gt;2. 应用字体声明&lt;/h3&gt;
&lt;p&gt;在同一个配置文件中找到 font 部分，将字体家族指向刚才引入的资源：&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;font:
  global_font_size: 16px
  code_font_size: 14px
  font_family: &apos;&quot;LXGW WenKai Screen&quot;, sans-serif&apos;
  code_font_family: &apos;&quot;JetBrains Mono&quot;, monospace&apos;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;温馨提示：如果修改后发现字体没变化，请优先检查 CDN 链接 是否依然有效。另外，由于中文字体包体积较大， 首次加载 稍有延迟是正常现象。&lt;/p&gt;
&lt;h2&gt;方案二：本地部署字体（适合追求极致稳定）&lt;/h2&gt;
&lt;p&gt;如果你希望博客资源完全可控，不依赖外部链接，可以选择将字体文件放在本地。&lt;/p&gt;
&lt;h3&gt;1. 准备字体文件&lt;/h3&gt;
&lt;p&gt;从 GitHub 仓库下载 LXGWWenKai-Regular.ttf 字体文件，并将其放入博客目录的 themes\butterfly\source\fonts 路径下。&lt;/p&gt;
&lt;h3&gt;2. 编写 CSS 索引&lt;/h3&gt;
&lt;p&gt;在 fonts 文件夹内新建一个 font.css 文件，写入以下定义以告知浏览器如何调用该文件：&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;@font-face {
  font-family: &apos;LXGW WenKai Screen&apos;;
  font-display: swap;
  src: url(&apos;/fonts/LXGWWenKai-Regular.ttf&apos;) format(&quot;truetype&quot;);  
}
&lt;/code&gt;&lt;/pre&gt;
&lt;h3&gt;3. 配置引用与生效&lt;/h3&gt;
&lt;p&gt;回到 _config.butterfly.yml，先在 inject 中引入你刚写的 CSS 文件：&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;inject:
  head:
    - &amp;lt;link rel=&quot;stylesheet&quot; href=&quot;/fonts/font.css&quot;&amp;gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;最后在 font 配置项中完成应用：&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;font:
  global_font_size: 16px
  code_font_size: 14px
  font_family: &apos;&quot;LXGW WenKai Screen&quot;, sans-serif&apos;
  code_font_family: &apos;&quot;LXGW WenKai Screen&quot;, sans-serif&apos;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;避雷指南：本地部署最容易在 文件路径 上栽跟头，配置时请务必核对路径是否准确。虽然目前本地部署主要针对全局字体，但这种方法能确保你的博客在任何网络环境下都有稳定的视觉呈现。&lt;/p&gt;
</content:encoded></item><item><title>各大域名购买网站优缺点对比</title><link>https://www.hexvork.com/posts/2.html</link><guid isPermaLink="true">https://www.hexvork.com/posts/2.html</guid><description>Spaceship无需实名、支持多域名、支付宝支付，访问慢；Namesilo类似但部分域名贵；阿里云需实名，支持.cn和中文后缀，域名较贵。优先Spaceship。</description><pubDate>Fri, 24 Oct 2025 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;买域名这事儿，核心就看三点：实名政策、价格、支付便利性。折腾了一圈，把几个主流平台的优缺点拆开了给大家对比一下。&lt;/p&gt;
&lt;h2&gt;一、Spaceship ⭐⭐⭐⭐⭐&lt;/h2&gt;
&lt;p&gt;目前我最推荐的一家。界面现代，操作逻辑很顺。&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;优势&lt;/strong&gt;：
&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;无需实名&lt;/strong&gt;，这对隐私保护和减少折腾非常关键。&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;支持支付宝&lt;/strong&gt;，国内用户绑定支付方式很方便。&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;送 WHOIS 隐私保护&lt;/strong&gt;，防止你的个人信息被公开抓取。&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;后缀全&lt;/strong&gt;，像 &lt;code&gt;.com&lt;/code&gt;、 &lt;code&gt;.net&lt;/code&gt;、 &lt;code&gt;.xyz&lt;/code&gt; 这些常规后缀价格都很能打。&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;槽点&lt;/strong&gt;：
&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;国内访问慢&lt;/strong&gt;，官网偶尔需要转圈，建议配合好一点的网络环境使用。&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;小众国家后缀缺席&lt;/strong&gt;，比如 &lt;code&gt;.kg&lt;/code&gt; 或 &lt;code&gt;.mk&lt;/code&gt; 这种冷门后缀搜不到。&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;二、Namesilo ⭐⭐⭐⭐&lt;/h2&gt;
&lt;p&gt;老牌域名商，虽然界面看起来有点年代感，但主打一个稳。&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;优势&lt;/strong&gt;：
&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;同样无需实名&lt;/strong&gt;，且支持 &lt;strong&gt;支付宝&lt;/strong&gt;。&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;老牌稳定&lt;/strong&gt;，送免费的隐私保护。&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;槽点&lt;/strong&gt;：
&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;价格略贵&lt;/strong&gt;，部分主流后缀如 &lt;code&gt;.com&lt;/code&gt; 的续费或注册价格比 Spaceship 稍高。&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;界面繁琐&lt;/strong&gt;，新用户上手可能需要点时间找入口。&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;三、阿里云 ⭐⭐&lt;/h2&gt;
&lt;p&gt;国内大厂，适合特定需求的玩家。&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;优势&lt;/strong&gt;：
&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;本土化无敌&lt;/strong&gt;，不仅支持支付宝，还支持 &lt;strong&gt;.cn&lt;/strong&gt; 以及 &lt;strong&gt;中文后缀&lt;/strong&gt; 域名（如 &lt;code&gt;.网络&lt;/code&gt;）。&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;访问速度快&lt;/strong&gt;，不需要挂任何代理。&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;槽点&lt;/strong&gt;：
&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;必须实名&lt;/strong&gt;，这是绕不过去的门槛。&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;价格偏贵&lt;/strong&gt;，主流域名的定价通常高于国外平台。&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;隐私保护限制&lt;/strong&gt;，部分后缀（如 &lt;code&gt;.cn&lt;/code&gt;）不支持隐私保护。&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;四、选购总结&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;个人首选&lt;/strong&gt;：直接冲 &lt;strong&gt;Spaceship&lt;/strong&gt;。价格低且不折腾实名，是目前性价比最高的数字花园入口。&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;备选方案&lt;/strong&gt;：如果 Spaceship 支付绑定失败，可以考虑 &lt;strong&gt;Namesilo&lt;/strong&gt; 作为平替。&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;特殊需求&lt;/strong&gt;：如果你非要买 &lt;strong&gt;.cn&lt;/strong&gt; 域名或者 &lt;strong&gt;中文域名&lt;/strong&gt;，那没得选，只能去 &lt;strong&gt;阿里云&lt;/strong&gt; 走实名流程。&lt;/li&gt;
&lt;/ul&gt;
</content:encoded></item><item><title>Hexo 静态博客搭建全攻略：从零到一建立你的数字花园</title><link>https://www.hexvork.com/posts/1.html</link><guid isPermaLink="true">https://www.hexvork.com/posts/1.html</guid><description>深度解析 Hexo 静态博客搭建流程：从环境配置（Git/Node.js）到本地初始化，再到 GitHub Pages 自动化部署与域名绑定。助你打造一个极客范儿十足的个人主页。</description><pubDate>Tue, 30 Sep 2025 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;Hexo 是一个基于 Node.js 的静态博客框架，适合追求加载速度和版本控制体验的开发者。&lt;/p&gt;
&lt;h2&gt;一、环境准备&lt;/h2&gt;
&lt;p&gt;在开始之前，请确保系统中已安装以下基础组件：&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Git&lt;/strong&gt;：用于版本管理和远程部署。&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Node.js&lt;/strong&gt;：建议使用 &lt;strong&gt;LTS 版本&lt;/strong&gt; 以保证插件兼容性。&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;VS Code&lt;/strong&gt;：用于编辑配置文件及撰写 Markdown 原稿。&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;二、初始化项目&lt;/h2&gt;
&lt;p&gt;选定一个空文件夹作为项目根目录，在终端执行以下操作：&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;# 安装全局工具
npm install hexo-cli -g

# 初始化博客程序
hexo init blog
cd blog

# 安装依赖并启动本地预览
npm install

hexo s
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;访问 http://localhost:4000 即可查看本地生成的初始页面。&lt;/p&gt;
&lt;h2&gt;三、主题切换&lt;/h2&gt;
&lt;p&gt;Hexo 的外观由主题决定。你可以从官方主题中心挑选，并通过 git clone 将其拉取到 themes 文件夹中。&lt;/p&gt;
&lt;p&gt;配置生效的关键在于修改 _config.yml 站点配置文件中的 theme 字段，将其指定为对应的主题文件夹名称。&lt;/p&gt;
&lt;h2&gt;四、部署至 GitHub Pages&lt;/h2&gt;
&lt;p&gt;创建仓库：在 GitHub 新建名为 你的用户名.github.io 的公开仓库。&lt;/p&gt;
&lt;p&gt;配置 SSH：通过 ssh-keygen 生成密钥，并将公钥添加至 GitHub 个人设置，以实现免密推送。&lt;/p&gt;
&lt;p&gt;安装插件：在项目目录执行&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;npm install hexo-deployer-git --save
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;修改 _config.yml 末尾的部署配置：&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;deploy:
  type: &apos;git&apos;
  repository: git@github.com:你的用户名/你的用户名.github.io.git
  branch: main
&lt;/code&gt;&lt;/pre&gt;
&lt;h2&gt;五、常用指令&lt;/h2&gt;
&lt;p&gt;日常撰写与维护主要涉及以下命令：&lt;/p&gt;
&lt;p&gt;新建文章：&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;hexo new post &quot;文章标题&quot;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;部署组合拳： 执行 &lt;code&gt;hexo clean &amp;amp;&amp;amp; hexo g &amp;amp;&amp;amp; hexo d&lt;/code&gt; 来完成缓存清理、静态文件生成及云端同步。&lt;/p&gt;
&lt;p&gt;域名绑定： 若需使用自定义域名，请在仓库设置中添加 Custom domain，并配置相应的 CNAME 记录。&lt;/p&gt;
</content:encoded></item></channel></rss>