<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>晓黎の小破站</title><description>见过花开就好，何必在意花为谁开。</description><link>https://fuwari.vercel.app/</link><language>zh_CN</language><item><title>astrbot搭建及简单使用教程</title><link>https://fuwari.vercel.app/posts/astrbot%E6%95%99%E7%A8%8B%E5%B9%B6%E4%BD%BF%E7%94%A8wechat-openclaw%E6%8E%A5%E5%8F%A3%E8%81%8A%E5%A4%A9/</link><guid isPermaLink="true">https://fuwari.vercel.app/posts/astrbot%E6%95%99%E7%A8%8B%E5%B9%B6%E4%BD%BF%E7%94%A8wechat-openclaw%E6%8E%A5%E5%8F%A3%E8%81%8A%E5%A4%A9/</guid><pubDate>Sat, 18 Apr 2026 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;最近研究聊天机器人，看到astrbot，于是出个教程&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;在观看本教程之前，你需要准备&lt;/strong&gt;
&lt;strong&gt;- 一颗聪明的头脑&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;一台运行astrbot的Linux设备&lt;/li&gt;
&lt;li&gt;一个ssh工具[mobaxterm](&lt;a href=&quot;https://mobaxterm.mobatek.net/&quot;&gt;MobaXterm free Xserver and tabbed SSH client for Windows&lt;/a&gt;)（可不用）&lt;/li&gt;
&lt;li&gt;ai云服务厂商的api key
&lt;strong&gt;让我们开始吧：&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;第一步 安装&lt;/h2&gt;
&lt;h3&gt;&lt;strong&gt;uv方式&lt;/strong&gt;&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;使用ssh工具连接部署设备&lt;/strong&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;pre&gt;&lt;code&gt; curl -LsSf https://astral.sh/uv/install.sh | sh
 source $HOME/.local/bin/env  
&lt;/code&gt;&lt;/pre&gt;
&lt;ol&gt;
&lt;li&gt;通过uv安装astrbot&lt;/li&gt;
&lt;/ol&gt;
&lt;pre&gt;&lt;code&gt; uv tool install astrbot --python 3.12
 astrbot init
&lt;/code&gt;&lt;/pre&gt;
&lt;ol&gt;
&lt;li&gt;启动astrbot&lt;/li&gt;
&lt;/ol&gt;
&lt;pre&gt;&lt;code&gt; astrbot run
&lt;/code&gt;&lt;/pre&gt;
&lt;ol&gt;
&lt;li&gt;在服务器安全组放行6185端口/在部署机防火墙放行6185端口&lt;/li&gt;
&lt;li&gt;访问http://&lt;strong&gt;服务器ip&lt;/strong&gt;:6185 打开webUI&lt;/li&gt;
&lt;/ol&gt;
&lt;h3&gt;docker方式&lt;/h3&gt;
&lt;p&gt;直接用docker就行了&lt;/p&gt;
&lt;pre&gt;&lt;code&gt; git clone https://github.com/AstrBotDevs/AstrBot 
 cd AstrBot
 sudo docker compose up -d
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;&lt;strong&gt;记得安全组和防火墙放行端口&lt;/strong&gt;
在游览器访问http://服务器ip:6185&lt;/p&gt;
&lt;hr /&gt;
&lt;h2&gt;第二步 配置消息平台&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;机器人 &amp;gt;&amp;gt; 创建机器人  &amp;gt;&amp;gt; 个人微信&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;注：不是个人的微信号，是指个人微信的openclaw接口&lt;/p&gt;
&lt;p&gt;#最好创建一个独立的配置文件，让各个机器人之间隔离&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;直接保存，等待几秒后会出现扫描按钮&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;用最新版手机微信扫码&lt;/strong&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;之后在聊天中的“微信openclaw”就是astrbot机器人了&lt;/p&gt;
&lt;h2&gt;第三步 基础配置与模型提供商&lt;/h2&gt;
&lt;h3&gt;模型提供商&lt;/h3&gt;
&lt;p&gt;在模型提供商中，可以设置使用的各个模型，例如DeepSeek chat&lt;/p&gt;
&lt;p&gt;astrbot提供了很多提供商预设，但他们只是帮你把API Base URL填好了，让你不用在api文档中找，所以&lt;strong&gt;如果你想使用的提供商在其中没有，请自行在提供商的api文档中找到openai格式API Base URL与api key&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;在填写完API Base URL和api key之后，点击“保存并获取模型列表”&lt;/li&gt;
&lt;li&gt;然后启用你想要用的模型&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;配置文件的基础配置&lt;/h3&gt;
&lt;p&gt;&lt;strong&gt;在”普通配置“页面中可以对配置文件进行编辑，可以找到更多功能&lt;/strong&gt;&lt;/p&gt;
&lt;h4&gt;模型配置&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;可以指定ai使用的&lt;strong&gt;具体模型&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;在添加语音转述模型之后，可以在这里设置，让ai能够听懂和说语音&lt;/li&gt;
&lt;li&gt;如果你的ai不是全态模型 如DeepSeek，可以加个支持图片的模型转述让ai你看懂图片&lt;/li&gt;
&lt;/ul&gt;
&lt;h4&gt;人格&lt;/h4&gt;
&lt;p&gt;人格就是个ai的提示词&lt;strong&gt;每次聊天都会向ai发送&lt;/strong&gt;。这个就任君发挥了&lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;现在 ，让我们看向&lt;strong&gt;平台配置&lt;/strong&gt;&lt;/p&gt;
&lt;h4&gt;白名单&lt;/h4&gt;
&lt;p&gt;&lt;strong&gt;默认开启白名单模式，只有白名单内的会话会被响应，在和ai聊天之前，需要将会话id加入白名单或关闭白名单模式 注意是会话id不是用户id&lt;/strong&gt;&lt;/p&gt;
&lt;hr /&gt;
&lt;h4&gt;插件&lt;/h4&gt;
&lt;p&gt;&lt;strong&gt;不过多介绍，astrbot拥有丰富的插件生态，可以自由去探索（对QQbot平台支持最多）&lt;/strong&gt;&lt;/p&gt;
</content:encoded></item><item><title>Simple Guides for Fuwari</title><link>https://fuwari.vercel.app/posts/guide/</link><guid isPermaLink="true">https://fuwari.vercel.app/posts/guide/</guid><description>How to use this blog template.</description><pubDate>Mon, 01 Apr 2024 00:00:00 GMT</pubDate><content:encoded>&lt;blockquote&gt;
&lt;p&gt;Cover image source: &lt;a href=&quot;https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/208fc754-890d-4adb-9753-2c963332675d/width=2048/01651-1456859105-(colour_1.5),girl,_Blue,yellow,green,cyan,purple,red,pink,_best,8k,UHD,masterpiece,male%20focus,%201boy,gloves,%20ponytail,%20long%20hair,.jpeg&quot;&gt;Source&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;This blog template is built with &lt;a href=&quot;https://astro.build/&quot;&gt;Astro&lt;/a&gt;. For the things that are not mentioned in this guide, you may find the answers in the &lt;a href=&quot;https://docs.astro.build/&quot;&gt;Astro Docs&lt;/a&gt;.&lt;/p&gt;
&lt;h2&gt;Front-matter of Posts&lt;/h2&gt;
&lt;pre&gt;&lt;code&gt;---
title: My First Blog Post
published: 2023-09-09
description: This is the first post of my new Astro blog.
image: ./cover.jpg
tags: [Foo, Bar]
category: Front-end
draft: false
---
&lt;/code&gt;&lt;/pre&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Attribute&lt;/th&gt;
&lt;th&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;title&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;The title of the post.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;published&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;The date the post was published.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;description&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;A short description of the post. Displayed on index page.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;image&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;The cover image path of the post.&amp;lt;br/&amp;gt;1. Start with &lt;code&gt;http://&lt;/code&gt; or &lt;code&gt;https://&lt;/code&gt;: Use web image&amp;lt;br/&amp;gt;2. Start with &lt;code&gt;/&lt;/code&gt;: For image in &lt;code&gt;public&lt;/code&gt; dir&amp;lt;br/&amp;gt;3. With none of the prefixes: Relative to the markdown file&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;tags&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;The tags of the post.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;category&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;The category of the post.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;draft&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;If this post is still a draft, which won&apos;t be displayed.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h2&gt;Where to Place the Post Files&lt;/h2&gt;
&lt;p&gt;Your post files should be placed in &lt;code&gt;src/content/posts/&lt;/code&gt; directory. You can also create sub-directories to better organize your posts and assets.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;src/content/posts/
├── post-1.md
└── post-2/
    ├── cover.png
    └── index.md
&lt;/code&gt;&lt;/pre&gt;
</content:encoded></item></channel></rss>