<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Ai on OHTLY Blog</title>
    <link>https://blog.ohtly.com/tags/ai/</link>
    <description>Recent content in Ai on OHTLY Blog</description>
    <generator>Hugo</generator>
    <language>zh-cn</language>
    <lastBuildDate>Fri, 29 May 2026 17:00:05 +0800</lastBuildDate>
    <atom:link href="https://blog.ohtly.com/tags/ai/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>FaceFusion 3.6.1 安装和使用方式：Web UI 和 Headless</title>
      <link>https://blog.ohtly.com/posts/2026-05-29-facefusion-guide/</link>
      <pubDate>Fri, 29 May 2026 17:00:05 +0800</pubDate>
      <guid>https://blog.ohtly.com/posts/2026-05-29-facefusion-guide/</guid>
      <description>&lt;p&gt;FaceFusion 是一个开源的、业界领先的人脸操作平台，支持换脸、画质增强、唇形同步等功能。基于 Python + ONNX Runtime，提供 GPU 加速推理，同时提供 Web UI 交互界面和 headless 命令行模式。&lt;/p&gt;</description>
    </item>
    <item>
      <title>OpenClaw 飞书能力实战：踩坑、绕路、最终打通云文档/日历/任务</title>
      <link>https://blog.ohtly.com/posts/2026-05-27-openclaw-feishu-practice/</link>
      <pubDate>Wed, 27 May 2026 11:08:00 +0800</pubDate>
      <guid>https://blog.ohtly.com/posts/2026-05-27-openclaw-feishu-practice/</guid>
      <description>&lt;h2 id=&#34;为什么选飞书&#34;&gt;&#xA;  为什么选飞书&#xA;  &lt;a class=&#34;heading-link&#34; href=&#34;#%e4%b8%ba%e4%bb%80%e4%b9%88%e9%80%89%e9%a3%9e%e4%b9%a6&#34;&gt;&#xA;    &lt;i class=&#34;fa-solid fa-link&#34; aria-hidden=&#34;true&#34; title=&#34;链接到标题&#34;&gt;&lt;/i&gt;&#xA;    &lt;span class=&#34;sr-only&#34;&gt;链接到标题&lt;/span&gt;&#xA;  &lt;/a&gt;&#xA;&lt;/h2&gt;&#xA;&lt;p&gt;OpenClaw 接入 IM 的几种方式里，飞书是目前最好的选择。Telegram、Discord 都是国外平台，国内访问不稳定；微信个人号方案有封号风险。飞书拥有开放的 API 生态、免公网 IP 的长连接方式，以及云文档、多维表格、日历、任务等一体化工作能力，天然适合作为 AI Agent 的操作界面。&lt;/p&gt;&#xA;&lt;h2 id=&#34;踩坑飞书官方插件&#34;&gt;&#xA;  踩坑：飞书官方插件&#xA;  &lt;a class=&#34;heading-link&#34; href=&#34;#%e8%b8%a9%e5%9d%91%e9%a3%9e%e4%b9%a6%e5%ae%98%e6%96%b9%e6%8f%92%e4%bb%b6&#34;&gt;&#xA;    &lt;i class=&#34;fa-solid fa-link&#34; aria-hidden=&#34;true&#34; title=&#34;链接到标题&#34;&gt;&lt;/i&gt;&#xA;    &lt;span class=&#34;sr-only&#34;&gt;链接到标题&lt;/span&gt;&#xA;  &lt;/a&gt;&#xA;&lt;/h2&gt;&#xA;&lt;p&gt;飞书官方推出了 OpenClaw 插件 &lt;code&gt;@larksuite/openclaw-lark&lt;/code&gt;，号称可以让 Agent 以用户身份操作飞书资源：创建文档、管理任务、查看日历等。我按照官方文档在服务器上安装并启用后，对话正常，Agent 也能回复消息。&lt;/p&gt;&#xA;&lt;p&gt;但问题来了——让 Agent 创建一个飞书任务，它回复&amp;quot;已创建&amp;quot;；让创建云文档，也说&amp;quot;已创建&amp;quot;。然而打开飞书，&lt;strong&gt;任务列表里空空如也，云文档里也没有任何新文件&lt;/strong&gt;。&lt;/p&gt;&#xA;&lt;p&gt;查日志发现了关键错误：&lt;/p&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;[plugins] plugin must declare contracts.tools before registering agent tools&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;追到 OpenClaw 主仓库，发现这是 OpenClaw 核心框架的一个 bug（&lt;a href=&#34;https://github.com/openclaw/openclaw/issues/80621&#34;  class=&#34;external-link&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;issue #80621&lt;/a&gt;）：插件明明正确声明了 &lt;code&gt;contracts.tools: true&lt;/code&gt;，但运行时在注册工具时被拒绝。修复补丁（&lt;a href=&#34;https://github.com/openclaw/openclaw/pull/84512&#34;  class=&#34;external-link&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;PR #84512&lt;/a&gt;）已提交，但尚未合入。&lt;/p&gt;&#xA;&lt;p&gt;所以 openclaw-lark 本身没有 bug，是上游 OpenClaw 框架的 &lt;code&gt;registerTool&lt;/code&gt; 检查逻辑有问题，导致飞书官方插件的所有工具（任务、文档、日历等）都无法注册到 Agent。Agent 回退到用 &lt;code&gt;message&lt;/code&gt; 工具发送文本消息，所以&amp;quot;已创建&amp;quot;只是发了一条消息到飞书聊天里，实际什么都没创建。&lt;/p&gt;&#xA;&lt;h2 id=&#34;绕路内置-feishu-插件--飞书-cli&#34;&gt;&#xA;  绕路：内置 feishu 插件 + 飞书 CLI&#xA;  &lt;a class=&#34;heading-link&#34; href=&#34;#%e7%bb%95%e8%b7%af%e5%86%85%e7%bd%ae-feishu-%e6%8f%92%e4%bb%b6--%e9%a3%9e%e4%b9%a6-cli&#34;&gt;&#xA;    &lt;i class=&#34;fa-solid fa-link&#34; aria-hidden=&#34;true&#34; title=&#34;链接到标题&#34;&gt;&lt;/i&gt;&#xA;    &lt;span class=&#34;sr-only&#34;&gt;链接到标题&lt;/span&gt;&#xA;  &lt;/a&gt;&#xA;&lt;/h2&gt;&#xA;&lt;p&gt;既然飞书官方插件暂时不可用，替代方案是：&lt;strong&gt;OpenClaw 自带的 &lt;code&gt;@openclaw/feishu&lt;/code&gt; 插件 + 飞书 CLI&lt;/strong&gt;。&lt;/p&gt;</description>
    </item>
    <item>
      <title>搭建基于 Katago 的围棋游戏</title>
      <link>https://blog.ohtly.com/posts/2026-05-24-%E6%90%AD%E5%BB%BA%E5%9F%BA%E4%BA%8E-katago-%E7%9A%84%E5%9B%B4%E6%A3%8B%E6%B8%B8%E6%88%8F/</link>
      <pubDate>Sun, 24 May 2026 20:00:00 +0800</pubDate>
      <guid>https://blog.ohtly.com/posts/2026-05-24-%E6%90%AD%E5%BB%BA%E5%9F%BA%E4%BA%8E-katago-%E7%9A%84%E5%9B%B4%E6%A3%8B%E6%B8%B8%E6%88%8F/</guid>
      <description>&lt;h1 id=&#34;搭建基于-katago-的围棋游戏&#34;&gt;&#xA;  搭建基于 Katago 的围棋游戏&#xA;  &lt;a class=&#34;heading-link&#34; href=&#34;#%e6%90%ad%e5%bb%ba%e5%9f%ba%e4%ba%8e-katago-%e7%9a%84%e5%9b%b4%e6%a3%8b%e6%b8%b8%e6%88%8f&#34;&gt;&#xA;    &lt;i class=&#34;fa-solid fa-link&#34; aria-hidden=&#34;true&#34; title=&#34;链接到标题&#34;&gt;&lt;/i&gt;&#xA;    &lt;span class=&#34;sr-only&#34;&gt;链接到标题&lt;/span&gt;&#xA;  &lt;/a&gt;&#xA;&lt;/h1&gt;&#xA;&lt;h2 id=&#34;回顾&#34;&gt;&#xA;  回顾&#xA;  &lt;a class=&#34;heading-link&#34; href=&#34;#%e5%9b%9e%e9%a1%be&#34;&gt;&#xA;    &lt;i class=&#34;fa-solid fa-link&#34; aria-hidden=&#34;true&#34; title=&#34;链接到标题&#34;&gt;&lt;/i&gt;&#xA;    &lt;span class=&#34;sr-only&#34;&gt;链接到标题&lt;/span&gt;&#xA;  &lt;/a&gt;&#xA;&lt;/h2&gt;&#xA;&lt;h3 id=&#34;李世石-vs-alphago&#34;&gt;&#xA;  李世石 vs AlphaGo&#xA;  &lt;a class=&#34;heading-link&#34; href=&#34;#%e6%9d%8e%e4%b8%96%e7%9f%b3-vs-alphago&#34;&gt;&#xA;    &lt;i class=&#34;fa-solid fa-link&#34; aria-hidden=&#34;true&#34; title=&#34;链接到标题&#34;&gt;&lt;/i&gt;&#xA;    &lt;span class=&#34;sr-only&#34;&gt;链接到标题&lt;/span&gt;&#xA;  &lt;/a&gt;&#xA;&lt;/h3&gt;&#xA;&lt;p&gt;2016 年 3 月，韩国首尔，全世界都在关注一场特殊的围棋比赛。&lt;/p&gt;&#xA;&lt;p&gt;李世石九段对战 DeepMind 的 AlphaGo。五番棋，1:4。李世石赢下了第四局——那一步&amp;quot;挖&amp;quot;成了围棋史上的经典。那时候，人们还在讨论：AI 到底能不能真正理解围棋？&lt;/p&gt;&#xA;&lt;p&gt;答案是：能，而且远超人类。&lt;/p&gt;&#xA;&lt;h3 id=&#34;开源的-katago&#34;&gt;&#xA;  开源的 KataGo&#xA;  &lt;a class=&#34;heading-link&#34; href=&#34;#%e5%bc%80%e6%ba%90%e7%9a%84-katago&#34;&gt;&#xA;    &lt;i class=&#34;fa-solid fa-link&#34; aria-hidden=&#34;true&#34; title=&#34;链接到标题&#34;&gt;&lt;/i&gt;&#xA;    &lt;span class=&#34;sr-only&#34;&gt;链接到标题&lt;/span&gt;&#xA;  &lt;/a&gt;&#xA;&lt;/h3&gt;&#xA;&lt;p&gt;仅仅几年后，开源的 &lt;strong&gt;KataGo&lt;/strong&gt; 横空出世。它基于 AlphaGo Zero 的论文思路，但做了大量优化——更快的训练速度、更强的网络结构、支持多规则多路盘、还开源。&lt;/p&gt;&#xA;&lt;p&gt;到今天，KataGo 的官方评级系统中，主力模型 &lt;strong&gt;ELO 已经达到 14095&lt;/strong&gt;。作为参考：职业顶尖棋手在这个标度上大约是 3000-3500 ELO。&lt;/p&gt;&#xA;&lt;p&gt;差距已经不是&amp;quot;能不能赢&amp;quot;的问题，而是&amp;quot;赢多少&amp;quot;的问题。&lt;/p&gt;&#xA;&lt;h3 id=&#34;平民化部署&#34;&gt;&#xA;  平民化部署&#xA;  &lt;a class=&#34;heading-link&#34; href=&#34;#%e5%b9%b3%e6%b0%91%e5%8c%96%e9%83%a8%e7%bd%b2&#34;&gt;&#xA;    &lt;i class=&#34;fa-solid fa-link&#34; aria-hidden=&#34;true&#34; title=&#34;链接到标题&#34;&gt;&lt;/i&gt;&#xA;    &lt;span class=&#34;sr-only&#34;&gt;链接到标题&lt;/span&gt;&#xA;  &lt;/a&gt;&#xA;&lt;/h3&gt;&#xA;&lt;p&gt;最让人感慨的是——这样的 AI 不需要 Google 的超级计算机。&lt;/p&gt;&#xA;&lt;p&gt;一台普通单机服务器 + 一块 &lt;strong&gt;NVIDIA RTX 4060 Ti&lt;/strong&gt;（~3000元级别显卡），配合 &lt;strong&gt;TensorRT&lt;/strong&gt; 加速，就能跑起 KataGo，棋力依然碾压一切人类选手。&lt;/p&gt;&#xA;&lt;p&gt;这正是本文想要分享的部署方案：用最普通的硬件，搭建一套基于 KataGo 的围棋对弈环境。&lt;/p&gt;</description>
    </item>
    <item>
      <title>使用 OpenClaw 管理 Obsidian 笔记</title>
      <link>https://blog.ohtly.com/posts/2026-05-16-openclaw-obsidian/</link>
      <pubDate>Sat, 16 May 2026 20:00:00 +0800</pubDate>
      <guid>https://blog.ohtly.com/posts/2026-05-16-openclaw-obsidian/</guid>
      <description>&lt;h2 id=&#34;概述&#34;&gt;&#xA;  概述&#xA;  &lt;a class=&#34;heading-link&#34; href=&#34;#%e6%a6%82%e8%bf%b0&#34;&gt;&#xA;    &lt;i class=&#34;fa-solid fa-link&#34; aria-hidden=&#34;true&#34; title=&#34;链接到标题&#34;&gt;&lt;/i&gt;&#xA;    &lt;span class=&#34;sr-only&#34;&gt;链接到标题&lt;/span&gt;&#xA;  &lt;/a&gt;&#xA;&lt;/h2&gt;&#xA;&lt;p&gt;本文介绍如何配置 OpenClaw AI Agent 来管理 Obsidian 笔记，实现多设备实时同步和 AI 辅助笔记管理。&lt;/p&gt;&#xA;&lt;h2 id=&#34;架构&#34;&gt;&#xA;  架构&#xA;  &lt;a class=&#34;heading-link&#34; href=&#34;#%e6%9e%b6%e6%9e%84&#34;&gt;&#xA;    &lt;i class=&#34;fa-solid fa-link&#34; aria-hidden=&#34;true&#34; title=&#34;链接到标题&#34;&gt;&lt;/i&gt;&#xA;    &lt;span class=&#34;sr-only&#34;&gt;链接到标题&lt;/span&gt;&#xA;  &lt;/a&gt;&#xA;&lt;/h2&gt;&#xA;&lt;div class=&#34;mermaid&#34;&gt;&#xA;flowchart TB&#xA;    subgraph &#34;本地设备 (Mac Mini)&#34;&#xA;        A[&#34;OpenClaw&lt;br/&gt;AI Agent&#34;] --&gt;|obsidian CLI| B[&#34;Obsidian CLI&lt;br/&gt;~/Documents/vault&#34;]&#xA;        A -.-&gt;|skills| C[&#34;obsidian-skills&#34;]&#xA;    end&#xA;&#xA;    B -.-&gt;|&#34;LiveSync&#34;| D[(&#34;CouchDB&lt;br/&gt;couchdb:5984&#34;)]&#xA;    E[&#34;其他设备&#34;] -.-&gt;|&#34;LiveSync&#34;| D&#xA;&#xA;    style A fill:#e3f2fd,stroke:#1565c0,stroke-width:2px&#xA;    style B fill:#f3e5f5,stroke:#6a1b9a,stroke-width:2px&#xA;    style C fill:#e8f5e9,stroke:#2e7d32,stroke-width:2px&#xA;    style D fill:#fff3e0,stroke:#e65100,stroke-width:2px&#xA;    style E fill:#fce4ec,stroke:#c62828,stroke-width:2px&#xA;&#xA;&lt;/div&gt;&#xA;&#xA;&lt;p&gt;&lt;strong&gt;架构说明&lt;/strong&gt;：&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;OpenClaw&lt;/strong&gt;：AI Agent Gateway，通过自然语言管理笔记&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Obsidian CLI&lt;/strong&gt;：命令行工具，依赖 Obsidian 图形界面&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Vault&lt;/strong&gt;：~/Documents/&lt;vault-name&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;LiveSync + CouchDB&lt;/strong&gt;：多设备实时同步方案&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;obsidian-skills&lt;/strong&gt;：让 AI 理解如何正确使用 Obsidian 语法的技能包&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;准备工作&#34;&gt;&#xA;  准备工作&#xA;  &lt;a class=&#34;heading-link&#34; href=&#34;#%e5%87%86%e5%a4%87%e5%b7%a5%e4%bd%9c&#34;&gt;&#xA;    &lt;i class=&#34;fa-solid fa-link&#34; aria-hidden=&#34;true&#34; title=&#34;链接到标题&#34;&gt;&lt;/i&gt;&#xA;    &lt;span class=&#34;sr-only&#34;&gt;链接到标题&lt;/span&gt;&#xA;  &lt;/a&gt;&#xA;&lt;/h2&gt;&#xA;&lt;h3 id=&#34;obsidian-cli&#34;&gt;&#xA;  Obsidian CLI&#xA;  &lt;a class=&#34;heading-link&#34; href=&#34;#obsidian-cli&#34;&gt;&#xA;    &lt;i class=&#34;fa-solid fa-link&#34; aria-hidden=&#34;true&#34; title=&#34;链接到标题&#34;&gt;&lt;/i&gt;&#xA;    &lt;span class=&#34;sr-only&#34;&gt;链接到标题&lt;/span&gt;&#xA;  &lt;/a&gt;&#xA;&lt;/h3&gt;&#xA;&lt;p&gt;Obsidian 提供官方 CLI 工具，需要配合 Obsidian 图形界面使用。&lt;/p&gt;</description>
    </item>
    <item>
      <title>由 OpenClaw 驱动的自动化博客生产线</title>
      <link>https://blog.ohtly.com/posts/2026-04-03-%E7%94%B1openclaw%E9%A9%B1%E5%8A%A8%E7%9A%84%E8%87%AA%E5%8A%A8%E5%8D%9A%E5%AE%A2%E7%94%9F%E4%BA%A7%E7%BA%BF/</link>
      <pubDate>Fri, 03 Apr 2026 23:33:33 +0800</pubDate>
      <guid>https://blog.ohtly.com/posts/2026-04-03-%E7%94%B1openclaw%E9%A9%B1%E5%8A%A8%E7%9A%84%E8%87%AA%E5%8A%A8%E5%8D%9A%E5%AE%A2%E7%94%9F%E4%BA%A7%E7%BA%BF/</guid>
      <description>&lt;p&gt;笔记存在本地，由OpenClaw协助编写。如果再让它驱动 Hugo+GitHub+Cloudflare Pages，就可以再提炼出可分享可公开的博客日志。&lt;/p&gt;&#xA;&lt;h2 id=&#34;搭建步骤&#34;&gt;&#xA;  搭建步骤&#xA;  &lt;a class=&#34;heading-link&#34; href=&#34;#%e6%90%ad%e5%bb%ba%e6%ad%a5%e9%aa%a4&#34;&gt;&#xA;    &lt;i class=&#34;fa-solid fa-link&#34; aria-hidden=&#34;true&#34; title=&#34;链接到标题&#34;&gt;&lt;/i&gt;&#xA;    &lt;span class=&#34;sr-only&#34;&gt;链接到标题&lt;/span&gt;&#xA;  &lt;/a&gt;&#xA;&lt;/h2&gt;&#xA;&lt;h3 id=&#34;hugo-初始化&#34;&gt;&#xA;  Hugo 初始化&#xA;  &lt;a class=&#34;heading-link&#34; href=&#34;#hugo-%e5%88%9d%e5%a7%8b%e5%8c%96&#34;&gt;&#xA;    &lt;i class=&#34;fa-solid fa-link&#34; aria-hidden=&#34;true&#34; title=&#34;链接到标题&#34;&gt;&lt;/i&gt;&#xA;    &lt;span class=&#34;sr-only&#34;&gt;链接到标题&lt;/span&gt;&#xA;  &lt;/a&gt;&#xA;&lt;/h3&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;brew install hugo&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;hugo new site my-blog&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;cd my-blog&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;git init&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;选用 &lt;a href=&#34;https://github.com/luizdepra/hugo-coder&#34;  class=&#34;external-link&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;hugo-coder&lt;/a&gt; 主题，支持中文，排版干净。&lt;/p&gt;&#xA;&lt;h3 id=&#34;本地写作流程&#34;&gt;&#xA;  本地写作流程&#xA;  &lt;a class=&#34;heading-link&#34; href=&#34;#%e6%9c%ac%e5%9c%b0%e5%86%99%e4%bd%9c%e6%b5%81%e7%a8%8b&#34;&gt;&#xA;    &lt;i class=&#34;fa-solid fa-link&#34; aria-hidden=&#34;true&#34; title=&#34;链接到标题&#34;&gt;&lt;/i&gt;&#xA;    &lt;span class=&#34;sr-only&#34;&gt;链接到标题&lt;/span&gt;&#xA;  &lt;/a&gt;&#xA;&lt;/h3&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;hugo new content/posts/2026-04-03-my-first-post.md&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;# 编辑文件，将 draft = true 改为 false&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;hugo server -D  &lt;span style=&#34;color:#75715e&#34;&gt;# 本地预览 http://localhost:1313&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h3 id=&#34;推送到-github&#34;&gt;&#xA;  推送到 GitHub&#xA;  &lt;a class=&#34;heading-link&#34; href=&#34;#%e6%8e%a8%e9%80%81%e5%88%b0-github&#34;&gt;&#xA;    &lt;i class=&#34;fa-solid fa-link&#34; aria-hidden=&#34;true&#34; title=&#34;链接到标题&#34;&gt;&lt;/i&gt;&#xA;    &lt;span class=&#34;sr-only&#34;&gt;链接到标题&lt;/span&gt;&#xA;  &lt;/a&gt;&#xA;&lt;/h3&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;git remote add origin git@github.com:你的用户名/my-blog.git&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;git add .&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;git commit -m &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;first post&amp;#34;&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;git push&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h3 id=&#34;cloudflare-pages-接入&#34;&gt;&#xA;  Cloudflare Pages 接入&#xA;  &lt;a class=&#34;heading-link&#34; href=&#34;#cloudflare-pages-%e6%8e%a5%e5%85%a5&#34;&gt;&#xA;    &lt;i class=&#34;fa-solid fa-link&#34; aria-hidden=&#34;true&#34; title=&#34;链接到标题&#34;&gt;&lt;/i&gt;&#xA;    &lt;span class=&#34;sr-only&#34;&gt;链接到标题&lt;/span&gt;&#xA;  &lt;/a&gt;&#xA;&lt;/h3&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;登录 Cloudflare Dashboard → Workers &amp;amp; Pages → Create application → Pages&lt;/li&gt;&#xA;&lt;li&gt;Connect to GitHub，选择仓库&lt;/li&gt;&#xA;&lt;li&gt;Build 设置：&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Build command: &lt;code&gt;hugo&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Build output目录: &lt;code&gt;public&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;绑定自定义域名（如 blog.ohtly.com）&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;h3 id=&#34;自动化发布&#34;&gt;&#xA;  自动化发布&#xA;  &lt;a class=&#34;heading-link&#34; href=&#34;#%e8%87%aa%e5%8a%a8%e5%8c%96%e5%8f%91%e5%b8%83&#34;&gt;&#xA;    &lt;i class=&#34;fa-solid fa-link&#34; aria-hidden=&#34;true&#34; title=&#34;链接到标题&#34;&gt;&lt;/i&gt;&#xA;    &lt;span class=&#34;sr-only&#34;&gt;链接到标题&lt;/span&gt;&#xA;  &lt;/a&gt;&#xA;&lt;/h3&gt;&#xA;&lt;p&gt;以后只需：&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
