mirror of
https://github.com/LiteyukiStudio/LiteyukiBot.git
synced 2024-11-15 01:34:38 +08:00
Deploying to gh-pages from @ snowykami/LiteyukiBot@4a8ddaba2d 🚀
This commit is contained in:
parent
246cfe6689
commit
3d9f02bc56
@ -1 +1 @@
|
||||
import{_ as t,o as e,c as o,b as n}from"./app-CCJ6YNR6.js";const r={},a=n("p",null,"404 Not Found",-1),c=[a];function p(s,i){return e(),o("div",null,c)}const m=t(r,[["render",p],["__file","404.html.vue"]]),d=JSON.parse('{"path":"/404.html","title":"","lang":"zh-CN","frontmatter":{"layout":"NotFound","description":"404 Not Found","head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/404.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:description","content":"404 Not Found"}],["meta",{"property":"og:type","content":"website"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"article:author","content":"远野千束"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"WebPage\\",\\"name\\":\\"\\",\\"description\\":\\"404 Not Found\\"}"]]},"headers":[],"git":{},"readingTime":{"minutes":0.01,"words":3},"filePathRelative":null,"autoDesc":true}');export{m as comp,d as data};
|
||||
import{_ as t,o as e,c as o,b as n}from"./app-yBdDRSDk.js";const r={},a=n("p",null,"404 Not Found",-1),c=[a];function p(s,i){return e(),o("div",null,c)}const m=t(r,[["render",p],["__file","404.html.vue"]]),d=JSON.parse('{"path":"/404.html","title":"","lang":"zh-CN","frontmatter":{"layout":"NotFound","description":"404 Not Found","head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/404.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:description","content":"404 Not Found"}],["meta",{"property":"og:type","content":"website"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"article:author","content":"远野千束"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"WebPage\\",\\"name\\":\\"\\",\\"description\\":\\"404 Not Found\\"}"]]},"headers":[],"git":{},"readingTime":{"minutes":0.01,"words":3},"filePathRelative":null,"autoDesc":true}');export{m as comp,d as data};
|
@ -1 +1 @@
|
||||
import{_ as e,o as t,c as o,e as r}from"./app-CCJ6YNR6.js";const a={},i=r("<ol><li>本项目遵循<code>MIT</code>协议,你可以自由使用,修改,分发,但是请保留原作者信息</li><li>你可以选择开启<code>auto_report</code>(默认开启),轻雪会收集以下内容 <ul><li>运行环境的设备信息:CPU,内存,系统信息,Python信息</li><li>插件信息(不含插件数据),</li><li>部分异常信息,</li><li>会话负载信息(不含隐私部分) 以上内容仅用于项目的优化,不包含任何隐私信息,且通过安全的方式传输到轻雪的服务器,若你不希望提供这些信息,可以在配置文件中把<code>auto_report</code>设定为<code>false</code></li></ul></li><li>本项目不会收集用户的任何隐私信息,但请注意甄别第三方插件的安全性</li><li>使用此项目代表你已经同意以上协议</li></ol>",1),n=[i];function c(l,p){return t(),o("div",null,n)}const s=e(a,[["render",c],["__file","agreement.html.vue"]]),d=JSON.parse('{"path":"/usage/agreement.html","title":"用户协议","lang":"zh-CN","frontmatter":{"title":"用户协议","icon":"user-secret","order":3,"category":"使用手册","description":"本项目遵循MIT协议,你可以自由使用,修改,分发,但是请保留原作者信息 你可以选择开启auto_report(默认开启),轻雪会收集以下内容 运行环境的设备信息:CPU,内存,系统信息,Python信息 插件信息(不含插件数据), 部分异常信息, 会话负载信息(不含隐私部分) 以上内容仅用于项目的优化,不包含任何隐私信息,且通过安全的方式传输到轻雪的服...","head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/usage/agreement.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"用户协议"}],["meta",{"property":"og:description","content":"本项目遵循MIT协议,你可以自由使用,修改,分发,但是请保留原作者信息 你可以选择开启auto_report(默认开启),轻雪会收集以下内容 运行环境的设备信息:CPU,内存,系统信息,Python信息 插件信息(不含插件数据), 部分异常信息, 会话负载信息(不含隐私部分) 以上内容仅用于项目的优化,不包含任何隐私信息,且通过安全的方式传输到轻雪的服..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-03-31T02:59:17.000Z"}],["meta",{"property":"article:author","content":"远野千束"}],["meta",{"property":"article:modified_time","content":"2024-03-31T02:59:17.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"用户协议\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-03-31T02:59:17.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"远野千束\\",\\"url\\":\\"https://snowykami.me\\"}]}"]]},"headers":[],"git":{"createdTime":1711621856000,"updatedTime":1711853957000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":2}]},"readingTime":{"minutes":0.75,"words":226},"filePathRelative":"usage/agreement.md","localizedDate":"2024年3月28日","autoDesc":true}');export{s as comp,d as data};
|
||||
import{_ as e,o as t,c as o,e as r}from"./app-yBdDRSDk.js";const a={},i=r("<ol><li>本项目遵循<code>MIT</code>协议,你可以自由使用,修改,分发,但是请保留原作者信息</li><li>你可以选择开启<code>auto_report</code>(默认开启),轻雪会收集以下内容 <ul><li>运行环境的设备信息:CPU,内存,系统信息,Python信息</li><li>插件信息(不含插件数据),</li><li>部分异常信息,</li><li>会话负载信息(不含隐私部分) 以上内容仅用于项目的优化,不包含任何隐私信息,且通过安全的方式传输到轻雪的服务器,若你不希望提供这些信息,可以在配置文件中把<code>auto_report</code>设定为<code>false</code></li></ul></li><li>本项目不会收集用户的任何隐私信息,但请注意甄别第三方插件的安全性</li><li>使用此项目代表你已经同意以上协议</li></ol>",1),n=[i];function c(l,p){return t(),o("div",null,n)}const s=e(a,[["render",c],["__file","agreement.html.vue"]]),d=JSON.parse('{"path":"/usage/agreement.html","title":"用户协议","lang":"zh-CN","frontmatter":{"title":"用户协议","icon":"user-secret","order":3,"category":"使用手册","description":"本项目遵循MIT协议,你可以自由使用,修改,分发,但是请保留原作者信息 你可以选择开启auto_report(默认开启),轻雪会收集以下内容 运行环境的设备信息:CPU,内存,系统信息,Python信息 插件信息(不含插件数据), 部分异常信息, 会话负载信息(不含隐私部分) 以上内容仅用于项目的优化,不包含任何隐私信息,且通过安全的方式传输到轻雪的服...","head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/usage/agreement.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"用户协议"}],["meta",{"property":"og:description","content":"本项目遵循MIT协议,你可以自由使用,修改,分发,但是请保留原作者信息 你可以选择开启auto_report(默认开启),轻雪会收集以下内容 运行环境的设备信息:CPU,内存,系统信息,Python信息 插件信息(不含插件数据), 部分异常信息, 会话负载信息(不含隐私部分) 以上内容仅用于项目的优化,不包含任何隐私信息,且通过安全的方式传输到轻雪的服..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-03-31T02:59:17.000Z"}],["meta",{"property":"article:author","content":"远野千束"}],["meta",{"property":"article:modified_time","content":"2024-03-31T02:59:17.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"用户协议\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-03-31T02:59:17.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"远野千束\\",\\"url\\":\\"https://snowykami.me\\"}]}"]]},"headers":[],"git":{"createdTime":1711621856000,"updatedTime":1711853957000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":2}]},"readingTime":{"minutes":0.75,"words":226},"filePathRelative":"usage/agreement.md","localizedDate":"2024年3月28日","autoDesc":true}');export{s as comp,d as data};
|
File diff suppressed because one or more lines are too long
@ -1,4 +1,4 @@
|
||||
import{_ as n,o as s,c as a,e}from"./app-CCJ6YNR6.js";const t={},l=e(`<h2 id="基础插件" tabindex="-1"><a class="header-anchor" href="#基础插件"><span>基础插件</span></a></h2><h3 id="轻雪-liteyuki" tabindex="-1"><a class="header-anchor" href="#轻雪-liteyuki"><span><strong>轻雪 <code>liteyuki</code></strong></span></a></h3><div class="language-bash line-numbers-mode" data-ext="sh" data-title="sh"><pre class="language-bash"><code><span class="token comment"># 仅超级用户</span>
|
||||
import{_ as n,o as s,c as a,e}from"./app-yBdDRSDk.js";const t={},l=e(`<h2 id="基础插件" tabindex="-1"><a class="header-anchor" href="#基础插件"><span>基础插件</span></a></h2><h3 id="轻雪-liteyuki" tabindex="-1"><a class="header-anchor" href="#轻雪-liteyuki"><span><strong>轻雪 <code>liteyuki</code></strong></span></a></h3><div class="language-bash line-numbers-mode" data-ext="sh" data-title="sh"><pre class="language-bash"><code><span class="token comment"># 仅超级用户</span>
|
||||
reload-liteyuki <span class="token comment"># 重载轻雪</span>
|
||||
update-liteyuki <span class="token comment"># 更新轻雪</span>
|
||||
liteecho <span class="token comment"># 查看当前bot</span>
|
@ -1,4 +1,4 @@
|
||||
import{_ as s,r as t,o,c,b as n,d as e,a as l,e as p}from"./app-CCJ6YNR6.js";const i={},r=p(`<p>首次运行后生成<code>config.yml</code>,你可以修改配置项后重启轻雪,绝大多数情况下,你只需要修改<code>superusers</code>和<code>nickname</code>字段即可</p><h2 id="基础配置项" tabindex="-1"><a class="header-anchor" href="#基础配置项"><span><strong>基础配置项</strong></span></a></h2><div class="language-yaml line-numbers-mode" data-ext="yml" data-title="yml"><pre class="language-yaml"><code><span class="token key atrule">command_start</span><span class="token punctuation">:</span> <span class="token punctuation">[</span> <span class="token string">"/"</span><span class="token punctuation">,</span> <span class="token string">""</span> <span class="token punctuation">]</span> <span class="token comment"># 指令前缀,若没有""空命令头,请开启alconna_use_command_start保证alconna解析正常</span>
|
||||
import{_ as s,r as t,o,c,b as n,d as e,a as l,e as p}from"./app-yBdDRSDk.js";const i={},r=p(`<p>首次运行后生成<code>config.yml</code>,你可以修改配置项后重启轻雪,绝大多数情况下,你只需要修改<code>superusers</code>和<code>nickname</code>字段即可</p><h2 id="基础配置项" tabindex="-1"><a class="header-anchor" href="#基础配置项"><span><strong>基础配置项</strong></span></a></h2><div class="language-yaml line-numbers-mode" data-ext="yml" data-title="yml"><pre class="language-yaml"><code><span class="token key atrule">command_start</span><span class="token punctuation">:</span> <span class="token punctuation">[</span> <span class="token string">"/"</span><span class="token punctuation">,</span> <span class="token string">""</span> <span class="token punctuation">]</span> <span class="token comment"># 指令前缀,若没有""空命令头,请开启alconna_use_command_start保证alconna解析正常</span>
|
||||
<span class="token key atrule">host</span><span class="token punctuation">:</span> 127.0.0.1 <span class="token comment"># 监听地址,默认为本机,若要接收外部请求请填写0.0.0.0</span>
|
||||
<span class="token key atrule">port</span><span class="token punctuation">:</span> <span class="token number">20216</span> <span class="token comment"># 绑定端口</span>
|
||||
<span class="token key atrule">nickname</span><span class="token punctuation">:</span> <span class="token punctuation">[</span> <span class="token string">"liteyuki"</span> <span class="token punctuation">]</span> <span class="token comment"># 机器人昵称列表</span>
|
@ -1,4 +1,4 @@
|
||||
import{_ as e,o as t,c as a,e as n}from"./app-CCJ6YNR6.js";const s={},o=n(`<h2 id="功能插件命令" tabindex="-1"><a class="header-anchor" href="#功能插件命令"><span>功能插件命令</span></a></h2><h3 id="轻雪天气liteyuki-weather" tabindex="-1"><a class="header-anchor" href="#轻雪天气liteyuki-weather"><span><strong>轻雪天气<code>liteyuki_weather</code></strong></span></a></h3><p>配置项</p><div class="language-yaml line-numbers-mode" data-ext="yml" data-title="yml"><pre class="language-yaml"><code><span class="token key atrule">weather_key</span><span class="token punctuation">:</span> <span class="token string">""</span> <span class="token comment"># 和风天气的天气key</span>
|
||||
import{_ as e,o as t,c as a,e as n}from"./app-yBdDRSDk.js";const s={},o=n(`<h2 id="功能插件命令" tabindex="-1"><a class="header-anchor" href="#功能插件命令"><span>功能插件命令</span></a></h2><h3 id="轻雪天气liteyuki-weather" tabindex="-1"><a class="header-anchor" href="#轻雪天气liteyuki-weather"><span><strong>轻雪天气<code>liteyuki_weather</code></strong></span></a></h3><p>配置项</p><div class="language-yaml line-numbers-mode" data-ext="yml" data-title="yml"><pre class="language-yaml"><code><span class="token key atrule">weather_key</span><span class="token punctuation">:</span> <span class="token string">""</span> <span class="token comment"># 和风天气的天气key</span>
|
||||
<span class="token key atrule">weather_dev</span><span class="token punctuation">:</span> <span class="token boolean important">false</span> <span class="token comment"># 是否为开发版</span>
|
||||
</code></pre><div class="line-numbers" aria-hidden="true"><div class="line-number"></div><div class="line-number"></div></div></div><p>命令</p><div class="language-bash line-numbers-mode" data-ext="sh" data-title="sh"><pre class="language-bash"><code>weather <span class="token operator"><</span>keywords<span class="token punctuation">..</span>.<span class="token operator">></span> <span class="token comment"># 查询目标地实时天气,例如:"天气 北京 海淀", "weather Tokyo Shinjuku"</span>
|
||||
bind-city <span class="token operator"><</span>keywords<span class="token punctuation">..</span>.<span class="token operator">></span> <span class="token comment"># 绑定查询城市,个人全局生效</span>
|
File diff suppressed because one or more lines are too long
@ -1 +1 @@
|
||||
import{_ as t,o as e,c as o}from"./app-CCJ6YNR6.js";const i={};function a(s,n){return e(),o("div")}const c=t(i,[["render",a],["__file","foolsday.html.vue"]]),m=JSON.parse('{"path":"/foolsday.html","title":"首页","lang":"zh-CN","frontmatter":{"home":true,"icon":"home","title":"首页","heroImage":"https://cdn.liteyuki.icu/static/img/logo.png","bgImage":null,"bgImageDark":null,"bgImageStyle":{"background-attachment":"fixed"},"heroText":"HeavyyukiBot666","tagline":"重雪机器人,一个以笨重和复杂为设计理念基于Koishi114514的OneBotv1919810标准聊天机器人,可用于雪地清扫,使用Typethon编写","actions":[{"text":"快速结束","icon":"lightbulb","link":"./deployment/install.html","type":"primary"},{"text":"奇怪的册子","icon":"book","link":"./usage/basic_command.html"}],"highlights":[{"header":"简洁至下","image":"/assets/image/layout.svg","bgImage":"https://theme-hope-assets.vuejs.press/bg/2-light.svg","bgImageDark":"https://theme-hope-assets.vuejs.press/bg/2-dark.svg","bgImageStyle":{"background-repeat":"repeat","background-size":"initial"},"features":[{"title":"基于Koishi.js233","icon":"robot","details":"拥有良好的生态支持","link":"https://nonebot.dev/"},{"title":"盲目插件管理","icon":"plug","details":"基于nbshi使用<code>npmx和pip</code>,让你无法安装/卸载插件"},{"title":"点击无法交互","icon":"mouse-pointer","details":"老的的点击交互模式,必须手打指令"},{"title":"猪蹄支持","icon":"paint-brush","details":"支持多种主题,可自定义资源包,满足你的审美需求"},{"title":"非国际化","icon":"globe","details":"支持多种语言,包括i18n部分语言和自行扩展的语言代码","link":"https://baike.baidu.com/item/i18n/6771940"},{"title":"超难配置","icon":"cog","details":"无需过多配置,开箱即用","link":"https://bot.liteyuki.icu/deployment/config.html"},{"title":"高占用","icon":"memory","details":"使用更多的意义不明的依赖和资源"},{"title":"一个Bot标准","icon":"link","details":"支持OneBotv11/12标准的四种通信协议","link":"https://onebot.dev/"},{"title":"Alconna","icon":"link","details":"使用Alconna实现低效命令解析","link":"https://github.com/nonebot/plugin-alconna"},{"title":"不准更新","icon":"cloud-download","details":"要更新自己下新版本去"},{"title":"服务支持","icon":"server","details":"内置轻雪API,但随时可能跑路"},{"title":"闭源","icon":"code","details":"要源代码自己逆向去"}]},{"header":"快速部署","image":"/assets/image/box.svg","bgImage":"https://theme-hope-assets.vuejs.press/bg/3-light.svg","bgImageDark":"https://theme-hope-assets.vuejs.press/bg/3-dark.svg","highlights":[{"title":"安装 Git 和 node.js+"},{"title":"使用 <code>git clone https://github.com/snowykami/LiteyukiBot</code> 以克隆项目至本地。","details":"如果无法连接到GitHub,可以使用 <code>git clone https://gitee.com/snowykami/LiteyukiBot</code>。"},{"title":"使用 <code>cd LiteyukiBot</code> 切换到项目目录。"},{"title":"使用 <code>npm install -r requirements.txt</code> 安装项目依赖。","details":"如果你有多个 node.js 环境,请使用 <code>pythonx -m npm install -r requirements.txt</code>。"},{"title":"使用 <code>node main.py</code> 启动项目。"}]}],"copyright":"© 2021-2024 SnowyKami All Rights Reserved","head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/foolsday.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"首页"}],["meta",{"property":"og:type","content":"website"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-04-01T16:01:28.000Z"}],["meta",{"property":"article:author","content":"远野千束"}],["meta",{"property":"article:modified_time","content":"2024-04-01T16:01:28.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"WebPage\\",\\"name\\":\\"首页\\"}"]]},"headers":[],"git":{"createdTime":1711987288000,"updatedTime":1711987288000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":1}]},"readingTime":{"minutes":2.11,"words":633},"filePathRelative":"foolsday.md","localizedDate":"2024年4月1日"}');export{c as comp,m as data};
|
||||
import{_ as t,o as e,c as o}from"./app-yBdDRSDk.js";const i={};function a(s,n){return e(),o("div")}const c=t(i,[["render",a],["__file","foolsday.html.vue"]]),m=JSON.parse('{"path":"/foolsday.html","title":"首页","lang":"zh-CN","frontmatter":{"home":true,"icon":"home","title":"首页","heroImage":"https://cdn.liteyuki.icu/static/img/logo.png","bgImage":null,"bgImageDark":null,"bgImageStyle":{"background-attachment":"fixed"},"heroText":"HeavyyukiBot666","tagline":"重雪机器人,一个以笨重和复杂为设计理念基于Koishi114514的OneBotv1919810标准聊天机器人,可用于雪地清扫,使用Typethon编写","actions":[{"text":"快速结束","icon":"lightbulb","link":"./deployment/install.html","type":"primary"},{"text":"奇怪的册子","icon":"book","link":"./usage/basic_command.html"}],"highlights":[{"header":"简洁至下","image":"/assets/image/layout.svg","bgImage":"https://theme-hope-assets.vuejs.press/bg/2-light.svg","bgImageDark":"https://theme-hope-assets.vuejs.press/bg/2-dark.svg","bgImageStyle":{"background-repeat":"repeat","background-size":"initial"},"features":[{"title":"基于Koishi.js233","icon":"robot","details":"拥有良好的生态支持","link":"https://nonebot.dev/"},{"title":"盲目插件管理","icon":"plug","details":"基于nbshi使用<code>npmx和pip</code>,让你无法安装/卸载插件"},{"title":"点击无法交互","icon":"mouse-pointer","details":"老的的点击交互模式,必须手打指令"},{"title":"猪蹄支持","icon":"paint-brush","details":"支持多种主题,可自定义资源包,满足你的审美需求"},{"title":"非国际化","icon":"globe","details":"支持多种语言,包括i18n部分语言和自行扩展的语言代码","link":"https://baike.baidu.com/item/i18n/6771940"},{"title":"超难配置","icon":"cog","details":"无需过多配置,开箱即用","link":"https://bot.liteyuki.icu/deployment/config.html"},{"title":"高占用","icon":"memory","details":"使用更多的意义不明的依赖和资源"},{"title":"一个Bot标准","icon":"link","details":"支持OneBotv11/12标准的四种通信协议","link":"https://onebot.dev/"},{"title":"Alconna","icon":"link","details":"使用Alconna实现低效命令解析","link":"https://github.com/nonebot/plugin-alconna"},{"title":"不准更新","icon":"cloud-download","details":"要更新自己下新版本去"},{"title":"服务支持","icon":"server","details":"内置轻雪API,但随时可能跑路"},{"title":"闭源","icon":"code","details":"要源代码自己逆向去"}]},{"header":"快速部署","image":"/assets/image/box.svg","bgImage":"https://theme-hope-assets.vuejs.press/bg/3-light.svg","bgImageDark":"https://theme-hope-assets.vuejs.press/bg/3-dark.svg","highlights":[{"title":"安装 Git 和 node.js+"},{"title":"使用 <code>git clone https://github.com/snowykami/LiteyukiBot</code> 以克隆项目至本地。","details":"如果无法连接到GitHub,可以使用 <code>git clone https://gitee.com/snowykami/LiteyukiBot</code>。"},{"title":"使用 <code>cd LiteyukiBot</code> 切换到项目目录。"},{"title":"使用 <code>npm install -r requirements.txt</code> 安装项目依赖。","details":"如果你有多个 node.js 环境,请使用 <code>pythonx -m npm install -r requirements.txt</code>。"},{"title":"使用 <code>node main.py</code> 启动项目。"}]}],"copyright":"© 2021-2024 SnowyKami All Rights Reserved","head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/foolsday.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"首页"}],["meta",{"property":"og:type","content":"website"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-04-01T16:01:28.000Z"}],["meta",{"property":"article:author","content":"远野千束"}],["meta",{"property":"article:modified_time","content":"2024-04-01T16:01:28.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"WebPage\\",\\"name\\":\\"首页\\"}"]]},"headers":[],"git":{"createdTime":1711987288000,"updatedTime":1711987288000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":1}]},"readingTime":{"minutes":2.11,"words":633},"filePathRelative":"foolsday.md","localizedDate":"2024年4月1日"}');export{c as comp,m as data};
|
@ -1 +1 @@
|
||||
import{_ as t,o as e,c as i}from"./app-CCJ6YNR6.js";const o={};function n(a,s){return e(),i("div")}const c=t(o,[["render",n],["__file","index.html.vue"]]),m=JSON.parse('{"path":"/","title":"首页","lang":"zh-CN","frontmatter":{"home":true,"icon":"home","title":"首页","heroImage":"https://cdn.liteyuki.icu/static/img/logo.png","bgImage":null,"bgImageDark":null,"bgImageStyle":{"background-attachment":"fixed"},"heroText":"LiteyukiBot","tagline":"轻雪机器人,一个以轻量和简洁为设计理念基于Nonebot2的OneBot标准聊天机器人","actions":[{"text":"快速部署","icon":"lightbulb","link":"./deployment/install.html","type":"primary"},{"text":"使用手册","icon":"book","link":"./usage/basic_command.html"}],"highlights":[{"header":"简洁至上","image":"/assets/image/layout.svg","bgImage":"https://theme-hope-assets.vuejs.press/bg/2-light.svg","bgImageDark":"https://theme-hope-assets.vuejs.press/bg/2-dark.svg","bgImageStyle":{"background-repeat":"repeat","background-size":"initial"},"features":[{"title":"基于Nonebot2","icon":"robot","details":"拥有良好的生态支持","link":"https://nonebot.dev/"},{"title":"可视化插件管理","icon":"plug","details":"使用<code>npm</code>,无需命令行操作即可安装/卸载插件"},{"title":"点击交互","icon":"mouse-pointer","details":"新的点击交互模式,拒绝手打指令"},{"title":"主题支持","icon":"paint-brush","details":"支持多种主题,可自定义资源包,满足你的审美需求","link":"https://bot.liteyuki.icu/usage/resource_pack.html"},{"title":"国际化","icon":"globe","details":"支持多种语言,包括i18n部分语言和自行扩展的语言代码","link":"https://baike.baidu.com/item/i18n/6771940"},{"title":"简易配置","icon":"cog","details":"无需过多配置,开箱即用","link":"https://bot.liteyuki.icu/deployment/config.html"},{"title":"低占用","icon":"memory","details":"使用更少的依赖和资源"},{"title":"OneBot标准","icon":"link","details":"支持OneBotv11/12标准的四种通信协议","link":"https://onebot.dev/"},{"title":"Alconna命令解析","icon":"link","details":"使用Alconna实现高效命令解析","link":"https://github.com/nonebot/plugin-alconna"},{"title":"便捷更新","icon":"cloud-download","details":"聊天窗口命令更新,无需手动下载"},{"title":"服务支持","icon":"server","details":"内置轻雪API,可自动收集错误,提供图床服务"},{"title":"开源","icon":"code","details":"项目遵循MIT协议开源,欢迎各位的贡献"}]},{"header":"快速部署","image":"/assets/image/box.svg","bgImage":"https://theme-hope-assets.vuejs.press/bg/3-light.svg","bgImageDark":"https://theme-hope-assets.vuejs.press/bg/3-dark.svg","highlights":[{"title":"安装 Git 和 Python3.10+"},{"title":"使用 <code>git clone https://github.com/snowykami/LiteyukiBot</code> 以克隆项目至本地。","details":"如果无法连接到GitHub,可以使用 <code>git clone https://gitee.com/snowykami/LiteyukiBot</code>。"},{"title":"使用 <code>cd LiteyukiBot</code> 切换到项目目录。"},{"title":"使用 <code>pip install -r requirements.txt</code> 安装项目依赖。","details":"如果你有多个 Python 环境,请使用 <code>pythonx -m pip install -r requirements.txt</code>。"},{"title":"使用 <code>python main.py</code> 启动项目。"}]}],"copyright":"© 2021-2024 SnowyKami All Rights Reserved","head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"首页"}],["meta",{"property":"og:type","content":"website"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-04-22T06:05:10.000Z"}],["meta",{"property":"article:author","content":"远野千束"}],["meta",{"property":"article:modified_time","content":"2024-04-22T06:05:10.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"WebPage\\",\\"name\\":\\"首页\\"}"]]},"headers":[],"git":{"createdTime":1711460020000,"updatedTime":1713765910000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":24},{"name":"Snowykami","email":"79104275+snowykami@users.noreply.github.com","commits":1}]},"readingTime":{"minutes":1.74,"words":523},"filePathRelative":"README.md","localizedDate":"2024年3月26日"}');export{c as comp,m as data};
|
||||
import{_ as t,o as e,c as i}from"./app-yBdDRSDk.js";const o={};function n(a,s){return e(),i("div")}const c=t(o,[["render",n],["__file","index.html.vue"]]),m=JSON.parse('{"path":"/","title":"首页","lang":"zh-CN","frontmatter":{"home":true,"icon":"home","title":"首页","heroImage":"https://cdn.liteyuki.icu/static/img/logo.png","bgImage":null,"bgImageDark":null,"bgImageStyle":{"background-attachment":"fixed"},"heroText":"LiteyukiBot","tagline":"轻雪机器人,一个以轻量和简洁为设计理念基于Nonebot2的OneBot标准聊天机器人","actions":[{"text":"快速部署","icon":"lightbulb","link":"./deployment/install.html","type":"primary"},{"text":"使用手册","icon":"book","link":"./usage/basic_command.html"}],"highlights":[{"header":"简洁至上","image":"/assets/image/layout.svg","bgImage":"https://theme-hope-assets.vuejs.press/bg/2-light.svg","bgImageDark":"https://theme-hope-assets.vuejs.press/bg/2-dark.svg","bgImageStyle":{"background-repeat":"repeat","background-size":"initial"},"features":[{"title":"基于Nonebot2","icon":"robot","details":"拥有良好的生态支持","link":"https://nonebot.dev/"},{"title":"可视化插件管理","icon":"plug","details":"使用<code>npm</code>,无需命令行操作即可安装/卸载插件"},{"title":"点击交互","icon":"mouse-pointer","details":"新的点击交互模式,拒绝手打指令"},{"title":"主题支持","icon":"paint-brush","details":"支持多种主题,可自定义资源包,满足你的审美需求","link":"https://bot.liteyuki.icu/usage/resource_pack.html"},{"title":"国际化","icon":"globe","details":"支持多种语言,包括i18n部分语言和自行扩展的语言代码","link":"https://baike.baidu.com/item/i18n/6771940"},{"title":"简易配置","icon":"cog","details":"无需过多配置,开箱即用","link":"https://bot.liteyuki.icu/deployment/config.html"},{"title":"低占用","icon":"memory","details":"使用更少的依赖和资源"},{"title":"OneBot标准","icon":"link","details":"支持OneBotv11/12标准的四种通信协议","link":"https://onebot.dev/"},{"title":"Alconna命令解析","icon":"link","details":"使用Alconna实现高效命令解析","link":"https://github.com/nonebot/plugin-alconna"},{"title":"便捷更新","icon":"cloud-download","details":"聊天窗口命令更新,无需手动下载"},{"title":"服务支持","icon":"server","details":"内置轻雪API,可自动收集错误,提供图床服务"},{"title":"开源","icon":"code","details":"项目遵循MIT协议开源,欢迎各位的贡献"}]},{"header":"快速部署","image":"/assets/image/box.svg","bgImage":"https://theme-hope-assets.vuejs.press/bg/3-light.svg","bgImageDark":"https://theme-hope-assets.vuejs.press/bg/3-dark.svg","highlights":[{"title":"安装 Git 和 Python3.10+"},{"title":"使用 <code>git clone https://github.com/snowykami/LiteyukiBot</code> 以克隆项目至本地。","details":"如果无法连接到GitHub,可以使用 <code>git clone https://gitee.com/snowykami/LiteyukiBot</code>。"},{"title":"使用 <code>cd LiteyukiBot</code> 切换到项目目录。"},{"title":"使用 <code>pip install -r requirements.txt</code> 安装项目依赖。","details":"如果你有多个 Python 环境,请使用 <code>pythonx -m pip install -r requirements.txt</code>。"},{"title":"使用 <code>python main.py</code> 启动项目。"}]}],"copyright":"© 2021-2024 SnowyKami All Rights Reserved","head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"首页"}],["meta",{"property":"og:type","content":"website"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-04-22T06:05:10.000Z"}],["meta",{"property":"article:author","content":"远野千束"}],["meta",{"property":"article:modified_time","content":"2024-04-22T06:05:10.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"WebPage\\",\\"name\\":\\"首页\\"}"]]},"headers":[],"git":{"createdTime":1711460020000,"updatedTime":1713765910000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":24},{"name":"Snowykami","email":"79104275+snowykami@users.noreply.github.com","commits":1}]},"readingTime":{"minutes":1.74,"words":523},"filePathRelative":"README.md","localizedDate":"2024年3月26日"}');export{c as comp,m as data};
|
@ -1 +1 @@
|
||||
import{_ as t,r as o,o as a,c as n,a as r}from"./app-CCJ6YNR6.js";const i={};function c(p,m){const e=o("Catalog");return a(),n("div",null,[r(e)])}const l=t(i,[["render",c],["__file","index.html.vue"]]),d=JSON.parse('{"path":"/usage/","title":"使用手册","lang":"zh-CN","frontmatter":{"title":"使用手册","index":false,"icon":"laptop-code","category":"使用手册","head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/usage/"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"使用手册"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-03-28T04:05:03.000Z"}],["meta",{"property":"article:author","content":"远野千束"}],["meta",{"property":"article:modified_time","content":"2024-03-28T04:05:03.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"使用手册\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-03-28T04:05:03.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"远野千束\\",\\"url\\":\\"https://snowykami.me\\"}]}"]]},"headers":[],"git":{"createdTime":1711589926000,"updatedTime":1711598703000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":4}]},"readingTime":{"minutes":0.06,"words":17},"filePathRelative":"usage/README.md","localizedDate":"2024年3月28日"}');export{l as comp,d as data};
|
||||
import{_ as t,r as o,o as a,c as n,a as r}from"./app-yBdDRSDk.js";const i={};function c(p,m){const e=o("Catalog");return a(),n("div",null,[r(e)])}const l=t(i,[["render",c],["__file","index.html.vue"]]),d=JSON.parse('{"path":"/usage/","title":"使用手册","lang":"zh-CN","frontmatter":{"title":"使用手册","index":false,"icon":"laptop-code","category":"使用手册","head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/usage/"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"使用手册"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-03-28T04:05:03.000Z"}],["meta",{"property":"article:author","content":"远野千束"}],["meta",{"property":"article:modified_time","content":"2024-03-28T04:05:03.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"使用手册\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-03-28T04:05:03.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"远野千束\\",\\"url\\":\\"https://snowykami.me\\"}]}"]]},"headers":[],"git":{"createdTime":1711589926000,"updatedTime":1711598703000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":4}]},"readingTime":{"minutes":0.06,"words":17},"filePathRelative":"usage/README.md","localizedDate":"2024年3月28日"}');export{l as comp,d as data};
|
@ -1 +1 @@
|
||||
import{_ as t,r as o,o as a,c as n,a as r}from"./app-CCJ6YNR6.js";const p={};function i(c,m){const e=o("Catalog");return a(),n("div",null,[r(e)])}const s=t(p,[["render",i],["__file","index.html.vue"]]),d=JSON.parse('{"path":"/deployment/","title":"项目部署","lang":"zh-CN","frontmatter":{"title":"项目部署","index":false,"icon":"laptop-code","category":"部署","head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/deployment/"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"项目部署"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-03-28T04:05:03.000Z"}],["meta",{"property":"article:author","content":"远野千束"}],["meta",{"property":"article:modified_time","content":"2024-03-28T04:05:03.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"项目部署\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-03-28T04:05:03.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"远野千束\\",\\"url\\":\\"https://snowykami.me\\"}]}"]]},"headers":[],"git":{"createdTime":1711589926000,"updatedTime":1711598703000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":4}]},"readingTime":{"minutes":0.05,"words":15},"filePathRelative":"deployment/README.md","localizedDate":"2024年3月28日"}');export{s as comp,d as data};
|
||||
import{_ as t,r as o,o as a,c as n,a as r}from"./app-yBdDRSDk.js";const p={};function i(c,m){const e=o("Catalog");return a(),n("div",null,[r(e)])}const s=t(p,[["render",i],["__file","index.html.vue"]]),d=JSON.parse('{"path":"/deployment/","title":"项目部署","lang":"zh-CN","frontmatter":{"title":"项目部署","index":false,"icon":"laptop-code","category":"部署","head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/deployment/"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"项目部署"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-03-28T04:05:03.000Z"}],["meta",{"property":"article:author","content":"远野千束"}],["meta",{"property":"article:modified_time","content":"2024-03-28T04:05:03.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"项目部署\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-03-28T04:05:03.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"远野千束\\",\\"url\\":\\"https://snowykami.me\\"}]}"]]},"headers":[],"git":{"createdTime":1711589926000,"updatedTime":1711598703000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":4}]},"readingTime":{"minutes":0.05,"words":15},"filePathRelative":"deployment/README.md","localizedDate":"2024年3月28日"}');export{s as comp,d as data};
|
@ -1 +1 @@
|
||||
import{_ as e,o as t,c as o}from"./app-CCJ6YNR6.js";const r={};function a(n,i){return t(),o("div")}const p=e(r,[["render",a],["__file","index.html.vue"]]),m=JSON.parse('{"path":"/store/","title":"资源商店","lang":"zh-CN","frontmatter":{"title":"资源商店","icon":"store","index":false,"head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/store/"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"资源商店"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-04-19T20:10:20.000Z"}],["meta",{"property":"article:author","content":"远野千束"}],["meta",{"property":"article:modified_time","content":"2024-04-19T20:10:20.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"资源商店\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-04-19T20:10:20.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"远野千束\\",\\"url\\":\\"https://snowykami.me\\"}]}"]]},"headers":[],"git":{"createdTime":1712364501000,"updatedTime":1713557420000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":4}]},"readingTime":{"minutes":0.03,"words":9},"filePathRelative":"store/README.md","localizedDate":"2024年4月6日"}');export{p as comp,m as data};
|
||||
import{_ as e,o as t,c as o}from"./app-yBdDRSDk.js";const r={};function a(n,i){return t(),o("div")}const p=e(r,[["render",a],["__file","index.html.vue"]]),m=JSON.parse('{"path":"/store/","title":"资源商店","lang":"zh-CN","frontmatter":{"title":"资源商店","icon":"store","index":false,"head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/store/"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"资源商店"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-04-19T20:10:20.000Z"}],["meta",{"property":"article:author","content":"远野千束"}],["meta",{"property":"article:modified_time","content":"2024-04-19T20:10:20.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"资源商店\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-04-19T20:10:20.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"远野千束\\",\\"url\\":\\"https://snowykami.me\\"}]}"]]},"headers":[],"git":{"createdTime":1712364501000,"updatedTime":1713557420000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":4}]},"readingTime":{"minutes":0.03,"words":9},"filePathRelative":"store/README.md","localizedDate":"2024年4月6日"}');export{p as comp,m as data};
|
@ -1 +1 @@
|
||||
import{_ as i,r as a,o as l,c,b as t,d as e,a as n,e as r}from"./app-CCJ6YNR6.js";const s={},d=t("h2",{id:"开始安装",tabindex:"-1"},[t("a",{class:"header-anchor",href:"#开始安装"},[t("span",null,[t("strong",null,"开始安装")])])],-1),p={href:"https://git-scm.com/download/",target:"_blank",rel:"noopener noreferrer"},h=t("code",null,"Git",-1),m={href:"https://www.python.org/downloads/release/python-31010/",target:"_blank",rel:"noopener noreferrer"},u=t("code",null,"Python3.10+",-1),y=t("li",null,[e("克隆项目 "),t("code",null,"git clone https://github.com/snowykami/LiteyukiBot")],-1),_=t("li",null,[e("进入轻雪目录 "),t("code",null,"cd LiteyukiBot")],-1),g=t("li",null,[e("安装依赖 "),t("code",null,"pip install -r requirements.txt")],-1),v=t("li",null,[e("启动 "),t("code",null,"python main.py")],-1),k=r('<h2 id="设备要求" tabindex="-1"><a class="header-anchor" href="#设备要求"><span><strong>设备要求</strong></span></a></h2><ul><li>Windows系统版本最低<code>Windows10+</code>/<code>Windows Server 2019+</code></li><li>Linux系统要支持Python3.10+,推荐<code>Ubuntu 20.04+</code>(<s>别用你那b CentOS</s>)</li><li>CPU: 至少<code>1vCPU</code></li><li>内存: Bot无其他插件会占用<code>200~300MB</code>,其他插件占用视具体插件而定,建议<code>1GB</code>以上</li><li>硬盘: 至少<code>1GB</code>空间</li></ul><div class="hint-container warning"><p class="hint-container-title">注意</p><p>如果设备上有多个环境,请使用<code>path/to/python -m pip install -r requirements.txt</code>来安装依赖,<code>path/to/python</code>为你的Python可执行文件路径</p></div><div class="hint-container tip"><p class="hint-container-title">提示</p><p>推荐使用虚拟环境来运行轻雪,以避免依赖冲突,你可以使用<code>python -m venv venv</code>来创建虚拟环境,然后使用<code>venv\\Scripts\\activate</code>来激活虚拟环境</p></div><div class="hint-container warning"><p class="hint-container-title">注意</p><p>轻雪的更新功能依赖Git,如果你没有安装Git,你将无法使用更新功能</p></div><h4 id="其他问题请移步至答疑" tabindex="-1"><a class="header-anchor" href="#其他问题请移步至答疑"><span>其他问题请移步至<a href="/deployment/fandq">答疑</a></span></a></h4>',6);function f(w,x){const o=a("ExternalLinkIcon");return l(),c("div",null,[d,t("ol",null,[t("li",null,[e("安装 "),t("a",p,[h,n(o)]),e(" 和 "),t("a",m,[u,n(o)]),e(" 环境")]),y,_,g,v]),k])}const b=i(s,[["render",f],["__file","install.html.vue"]]),L=JSON.parse('{"path":"/deployment/install.html","title":"安装","lang":"zh-CN","frontmatter":{"title":"安装","icon":"download","order":1,"category":"使用指南","tag":["安装"],"description":"开始安装 安装 Git 和 Python3.10+ 环境 克隆项目 git clone https://github.com/snowykami/LiteyukiBot 进入轻雪目录 cd LiteyukiBot 安装依赖 pip install -r requirements.txt 启动 python main.py 设备要求 Windows系统版...","head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/deployment/install.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"安装"}],["meta",{"property":"og:description","content":"开始安装 安装 Git 和 Python3.10+ 环境 克隆项目 git clone https://github.com/snowykami/LiteyukiBot 进入轻雪目录 cd LiteyukiBot 安装依赖 pip install -r requirements.txt 启动 python main.py 设备要求 Windows系统版..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-04-12T05:07:19.000Z"}],["meta",{"property":"article:author","content":"远野千束"}],["meta",{"property":"article:tag","content":"安装"}],["meta",{"property":"article:modified_time","content":"2024-04-12T05:07:19.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"安装\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-04-12T05:07:19.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"远野千束\\",\\"url\\":\\"https://snowykami.me\\"}]}"]]},"headers":[{"level":2,"title":"开始安装","slug":"开始安装","link":"#开始安装","children":[]},{"level":2,"title":"设备要求","slug":"设备要求","link":"#设备要求","children":[]}],"git":{"createdTime":1711589926000,"updatedTime":1712898439000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":7}]},"readingTime":{"minutes":1.05,"words":316},"filePathRelative":"deployment/install.md","localizedDate":"2024年3月28日","autoDesc":true}');export{b as comp,L as data};
|
||||
import{_ as i,r as a,o as l,c,b as t,d as e,a as n,e as r}from"./app-yBdDRSDk.js";const s={},d=t("h2",{id:"开始安装",tabindex:"-1"},[t("a",{class:"header-anchor",href:"#开始安装"},[t("span",null,[t("strong",null,"开始安装")])])],-1),p={href:"https://git-scm.com/download/",target:"_blank",rel:"noopener noreferrer"},h=t("code",null,"Git",-1),m={href:"https://www.python.org/downloads/release/python-31010/",target:"_blank",rel:"noopener noreferrer"},u=t("code",null,"Python3.10+",-1),y=t("li",null,[e("克隆项目 "),t("code",null,"git clone https://github.com/snowykami/LiteyukiBot")],-1),_=t("li",null,[e("进入轻雪目录 "),t("code",null,"cd LiteyukiBot")],-1),g=t("li",null,[e("安装依赖 "),t("code",null,"pip install -r requirements.txt")],-1),v=t("li",null,[e("启动 "),t("code",null,"python main.py")],-1),k=r('<h2 id="设备要求" tabindex="-1"><a class="header-anchor" href="#设备要求"><span><strong>设备要求</strong></span></a></h2><ul><li>Windows系统版本最低<code>Windows10+</code>/<code>Windows Server 2019+</code></li><li>Linux系统要支持Python3.10+,推荐<code>Ubuntu 20.04+</code>(<s>别用你那b CentOS</s>)</li><li>CPU: 至少<code>1vCPU</code></li><li>内存: Bot无其他插件会占用<code>200~300MB</code>,其他插件占用视具体插件而定,建议<code>1GB</code>以上</li><li>硬盘: 至少<code>1GB</code>空间</li></ul><div class="hint-container warning"><p class="hint-container-title">注意</p><p>如果设备上有多个环境,请使用<code>path/to/python -m pip install -r requirements.txt</code>来安装依赖,<code>path/to/python</code>为你的Python可执行文件路径</p></div><div class="hint-container tip"><p class="hint-container-title">提示</p><p>推荐使用虚拟环境来运行轻雪,以避免依赖冲突,你可以使用<code>python -m venv venv</code>来创建虚拟环境,然后使用<code>venv\\Scripts\\activate</code>来激活虚拟环境</p></div><div class="hint-container warning"><p class="hint-container-title">注意</p><p>轻雪的更新功能依赖Git,如果你没有安装Git,你将无法使用更新功能</p></div><h4 id="其他问题请移步至答疑" tabindex="-1"><a class="header-anchor" href="#其他问题请移步至答疑"><span>其他问题请移步至<a href="/deployment/fandq">答疑</a></span></a></h4>',6);function f(w,x){const o=a("ExternalLinkIcon");return l(),c("div",null,[d,t("ol",null,[t("li",null,[e("安装 "),t("a",p,[h,n(o)]),e(" 和 "),t("a",m,[u,n(o)]),e(" 环境")]),y,_,g,v]),k])}const b=i(s,[["render",f],["__file","install.html.vue"]]),L=JSON.parse('{"path":"/deployment/install.html","title":"安装","lang":"zh-CN","frontmatter":{"title":"安装","icon":"download","order":1,"category":"使用指南","tag":["安装"],"description":"开始安装 安装 Git 和 Python3.10+ 环境 克隆项目 git clone https://github.com/snowykami/LiteyukiBot 进入轻雪目录 cd LiteyukiBot 安装依赖 pip install -r requirements.txt 启动 python main.py 设备要求 Windows系统版...","head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/deployment/install.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"安装"}],["meta",{"property":"og:description","content":"开始安装 安装 Git 和 Python3.10+ 环境 克隆项目 git clone https://github.com/snowykami/LiteyukiBot 进入轻雪目录 cd LiteyukiBot 安装依赖 pip install -r requirements.txt 启动 python main.py 设备要求 Windows系统版..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-04-12T05:07:19.000Z"}],["meta",{"property":"article:author","content":"远野千束"}],["meta",{"property":"article:tag","content":"安装"}],["meta",{"property":"article:modified_time","content":"2024-04-12T05:07:19.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"安装\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-04-12T05:07:19.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"远野千束\\",\\"url\\":\\"https://snowykami.me\\"}]}"]]},"headers":[{"level":2,"title":"开始安装","slug":"开始安装","link":"#开始安装","children":[]},{"level":2,"title":"设备要求","slug":"设备要求","link":"#设备要求","children":[]}],"git":{"createdTime":1711589926000,"updatedTime":1712898439000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":7}]},"readingTime":{"minutes":1.05,"words":316},"filePathRelative":"deployment/install.md","localizedDate":"2024年3月28日","autoDesc":true}');export{b as comp,L as data};
|
@ -1 +1 @@
|
||||
import{_ as e,o,c as t,e as i}from"./app-CCJ6YNR6.js";const c={},l=i('<h2 id="轻雪api" tabindex="-1"><a class="header-anchor" href="#轻雪api"><span><strong>轻雪API</strong></span></a></h2><p>轻雪API是轻雪运行中部分服务的支持,由<code>go</code>语言编写,例如错误反馈,图床链接等,目前服务由轻雪服务器提供,用户无需额外部署</p><p>接口</p><ul><li><p><code>url</code> <code>https://api.liteyuki.icu</code></p></li><li><p><code>POST</code> <code>/register</code> 注册一个Bot</p><ul><li>参数 <ul><li><code>name</code> <code>string</code> Bot名称</li><li><code>version</code> <code>string</code> Bot版本</li><li><code>version_id</code> <code>int</code> Bot版本ID</li><li><code>python</code> <code>string</code> Python版本</li><li><code>os</code> <code>string</code> 操作系统</li></ul></li><li>返回 <ul><li><code>code</code> <code>int</code> 状态码</li><li><code>liteyuki_id</code> <code>string</code> 轻雪ID</li></ul></li></ul></li><li><p><code>POST</code> <code>/bug_report</code> 上报错误</p><ul><li>参数 <ul><li><code>liteyuki_id</code> <code>string</code> 轻雪ID</li><li><code>content</code> <code>string</code> 错误信息</li><li><code>device_info</code> <code>string</code> 设备信息</li></ul></li><li>返回 <ul><li><code>code</code> <code>int</code> 状态码</li><li><code>report_id</code> <code>string</code> 错误ID</li></ul></li></ul></li><li><p><code>POST</code> <code>/upload_image</code> 图床上传</p><ul><li>参数 <ul><li><code>image</code> <code>file</code> 图片文件</li><li><code>liteyuki_id</code> <code>string</code> 轻雪ID,用于鉴权</li></ul></li><li>返回 <ul><li><code>code</code> <code>int</code> 状态码</li><li><code>url</code> <code>string</code> 图床链接</li></ul></li></ul></li></ul>',4),d=[l];function r(n,a){return o(),t("div",null,d)}const s=e(c,[["render",r],["__file","lyapi.html.vue"]]),u=JSON.parse('{"path":"/usage/lyapi.html","title":"轻雪API","lang":"zh-CN","frontmatter":{"title":"轻雪API","icon":"code","order":4,"category":"使用指南","tag":["配置","部署"],"description":"轻雪API 轻雪API是轻雪运行中部分服务的支持,由go语言编写,例如错误反馈,图床链接等,目前服务由轻雪服务器提供,用户无需额外部署 接口 url https://api.liteyuki.icu POST /register 注册一个Bot 参数 name string Bot名称 version string Bot版本 version_id i...","head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/usage/lyapi.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"轻雪API"}],["meta",{"property":"og:description","content":"轻雪API 轻雪API是轻雪运行中部分服务的支持,由go语言编写,例如错误反馈,图床链接等,目前服务由轻雪服务器提供,用户无需额外部署 接口 url https://api.liteyuki.icu POST /register 注册一个Bot 参数 name string Bot名称 version string Bot版本 version_id i..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-04-20T09:02:57.000Z"}],["meta",{"property":"article:author","content":"远野千束"}],["meta",{"property":"article:tag","content":"配置"}],["meta",{"property":"article:tag","content":"部署"}],["meta",{"property":"article:modified_time","content":"2024-04-20T09:02:57.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"轻雪API\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-04-20T09:02:57.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"远野千束\\",\\"url\\":\\"https://snowykami.me\\"}]}"]]},"headers":[{"level":2,"title":"轻雪API","slug":"轻雪api","link":"#轻雪api","children":[]}],"git":{"createdTime":1713603777000,"updatedTime":1713603777000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":1}]},"readingTime":{"minutes":0.67,"words":200},"filePathRelative":"usage/lyapi.md","localizedDate":"2024年4月20日","autoDesc":true}');export{s as comp,u as data};
|
||||
import{_ as e,o,c as t,e as i}from"./app-yBdDRSDk.js";const c={},l=i('<h2 id="轻雪api" tabindex="-1"><a class="header-anchor" href="#轻雪api"><span><strong>轻雪API</strong></span></a></h2><p>轻雪API是轻雪运行中部分服务的支持,由<code>go</code>语言编写,例如错误反馈,图床链接等,目前服务由轻雪服务器提供,用户无需额外部署</p><p>接口</p><ul><li><p><code>url</code> <code>https://api.liteyuki.icu</code></p></li><li><p><code>POST</code> <code>/register</code> 注册一个Bot</p><ul><li>参数 <ul><li><code>name</code> <code>string</code> Bot名称</li><li><code>version</code> <code>string</code> Bot版本</li><li><code>version_id</code> <code>int</code> Bot版本ID</li><li><code>python</code> <code>string</code> Python版本</li><li><code>os</code> <code>string</code> 操作系统</li></ul></li><li>返回 <ul><li><code>code</code> <code>int</code> 状态码</li><li><code>liteyuki_id</code> <code>string</code> 轻雪ID</li></ul></li></ul></li><li><p><code>POST</code> <code>/bug_report</code> 上报错误</p><ul><li>参数 <ul><li><code>liteyuki_id</code> <code>string</code> 轻雪ID</li><li><code>content</code> <code>string</code> 错误信息</li><li><code>device_info</code> <code>string</code> 设备信息</li></ul></li><li>返回 <ul><li><code>code</code> <code>int</code> 状态码</li><li><code>report_id</code> <code>string</code> 错误ID</li></ul></li></ul></li><li><p><code>POST</code> <code>/upload_image</code> 图床上传</p><ul><li>参数 <ul><li><code>image</code> <code>file</code> 图片文件</li><li><code>liteyuki_id</code> <code>string</code> 轻雪ID,用于鉴权</li></ul></li><li>返回 <ul><li><code>code</code> <code>int</code> 状态码</li><li><code>url</code> <code>string</code> 图床链接</li></ul></li></ul></li></ul>',4),d=[l];function r(n,a){return o(),t("div",null,d)}const s=e(c,[["render",r],["__file","lyapi.html.vue"]]),u=JSON.parse('{"path":"/usage/lyapi.html","title":"轻雪API","lang":"zh-CN","frontmatter":{"title":"轻雪API","icon":"code","order":4,"category":"使用指南","tag":["配置","部署"],"description":"轻雪API 轻雪API是轻雪运行中部分服务的支持,由go语言编写,例如错误反馈,图床链接等,目前服务由轻雪服务器提供,用户无需额外部署 接口 url https://api.liteyuki.icu POST /register 注册一个Bot 参数 name string Bot名称 version string Bot版本 version_id i...","head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/usage/lyapi.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"轻雪API"}],["meta",{"property":"og:description","content":"轻雪API 轻雪API是轻雪运行中部分服务的支持,由go语言编写,例如错误反馈,图床链接等,目前服务由轻雪服务器提供,用户无需额外部署 接口 url https://api.liteyuki.icu POST /register 注册一个Bot 参数 name string Bot名称 version string Bot版本 version_id i..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-04-20T09:02:57.000Z"}],["meta",{"property":"article:author","content":"远野千束"}],["meta",{"property":"article:tag","content":"配置"}],["meta",{"property":"article:tag","content":"部署"}],["meta",{"property":"article:modified_time","content":"2024-04-20T09:02:57.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"轻雪API\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-04-20T09:02:57.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"远野千束\\",\\"url\\":\\"https://snowykami.me\\"}]}"]]},"headers":[{"level":2,"title":"轻雪API","slug":"轻雪api","link":"#轻雪api","children":[]}],"git":{"createdTime":1713603777000,"updatedTime":1713603777000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":1}]},"readingTime":{"minutes":0.67,"words":200},"filePathRelative":"usage/lyapi.md","localizedDate":"2024年4月20日","autoDesc":true}');export{s as comp,u as data};
|
@ -1 +1 @@
|
||||
import{_ as t,r as o,o as r,c as n,a}from"./app-CCJ6YNR6.js";const p={};function i(m,c){const e=o("pluginStoreComp");return r(),n("div",null,[a(e)])}const s=t(p,[["render",i],["__file","plugin.html.vue"]]),d=JSON.parse('{"path":"/store/plugin.html","title":"插件商店","lang":"zh-CN","frontmatter":{"title":"插件商店","icon":"plug","order":2,"category":"使用手册","head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/store/plugin.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"插件商店"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-04-19T20:10:20.000Z"}],["meta",{"property":"article:author","content":"远野千束"}],["meta",{"property":"article:modified_time","content":"2024-04-19T20:10:20.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"插件商店\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-04-19T20:10:20.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"远野千束\\",\\"url\\":\\"https://snowykami.me\\"}]}"]]},"headers":[],"git":{"createdTime":1713557420000,"updatedTime":1713557420000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":1}]},"readingTime":{"minutes":0.05,"words":16},"filePathRelative":"store/plugin.md","localizedDate":"2024年4月19日"}');export{s as comp,d as data};
|
||||
import{_ as t,r as o,o as r,c as n,a}from"./app-yBdDRSDk.js";const p={};function i(m,c){const e=o("pluginStoreComp");return r(),n("div",null,[a(e)])}const s=t(p,[["render",i],["__file","plugin.html.vue"]]),d=JSON.parse('{"path":"/store/plugin.html","title":"插件商店","lang":"zh-CN","frontmatter":{"title":"插件商店","icon":"plug","order":2,"category":"使用手册","head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/store/plugin.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"插件商店"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-04-19T20:10:20.000Z"}],["meta",{"property":"article:author","content":"远野千束"}],["meta",{"property":"article:modified_time","content":"2024-04-19T20:10:20.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"插件商店\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-04-19T20:10:20.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"远野千束\\",\\"url\\":\\"https://snowykami.me\\"}]}"]]},"headers":[],"git":{"createdTime":1713557420000,"updatedTime":1713557420000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":1}]},"readingTime":{"minutes":0.05,"words":16},"filePathRelative":"store/plugin.md","localizedDate":"2024年4月19日"}');export{s as comp,d as data};
|
@ -1 +1 @@
|
||||
import{_ as t,r as o,o as r,c as a,a as n}from"./app-CCJ6YNR6.js";const c={};function m(s,p){const e=o("resourceStoreComp");return r(),a("div",null,[n(e)])}const l=t(c,[["render",m],["__file","resource.html.vue"]]),d=JSON.parse('{"path":"/store/resource.html","title":"资源商店","lang":"zh-CN","frontmatter":{"title":"资源商店","icon":"box","order":1,"category":"使用手册","head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/store/resource.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"资源商店"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-04-19T20:10:20.000Z"}],["meta",{"property":"article:author","content":"远野千束"}],["meta",{"property":"article:modified_time","content":"2024-04-19T20:10:20.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"资源商店\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-04-19T20:10:20.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"远野千束\\",\\"url\\":\\"https://snowykami.me\\"}]}"]]},"headers":[],"git":{"createdTime":1713557420000,"updatedTime":1713557420000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":1}]},"readingTime":{"minutes":0.05,"words":16},"filePathRelative":"store/resource.md","localizedDate":"2024年4月19日"}');export{l as comp,d as data};
|
||||
import{_ as t,r as o,o as r,c as a,a as n}from"./app-yBdDRSDk.js";const c={};function m(s,p){const e=o("resourceStoreComp");return r(),a("div",null,[n(e)])}const l=t(c,[["render",m],["__file","resource.html.vue"]]),d=JSON.parse('{"path":"/store/resource.html","title":"资源商店","lang":"zh-CN","frontmatter":{"title":"资源商店","icon":"box","order":1,"category":"使用手册","head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/store/resource.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"资源商店"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-04-19T20:10:20.000Z"}],["meta",{"property":"article:author","content":"远野千束"}],["meta",{"property":"article:modified_time","content":"2024-04-19T20:10:20.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"资源商店\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-04-19T20:10:20.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"远野千束\\",\\"url\\":\\"https://snowykami.me\\"}]}"]]},"headers":[],"git":{"createdTime":1713557420000,"updatedTime":1713557420000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":1}]},"readingTime":{"minutes":0.05,"words":16},"filePathRelative":"store/resource.md","localizedDate":"2024年4月19日"}');export{l as comp,d as data};
|
@ -1,4 +1,4 @@
|
||||
import{_ as a,r as s,o as l,c as o,b as e,a as i,w as c,d as t,e as d}from"./app-CCJ6YNR6.js";const r={},u=e("h2",{id:"简介",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#简介"},[e("span",null,"简介")])],-1),p=e("p",null,"资源包,亦可根据用途称为主题包、字体包、语言包等,它允许你一定程度上自定义轻雪的外观,并且不用修改源代码",-1),m=e("li",null,[t("资源包的制作很简单,如果你接触过"),e("code",null,"Minecraft"),t("的资源包,那么你能够很快就上手,仅需按照原有路径进行文件替换即可,讲起打包成一个新的资源包。")],-1),h=e("li",null,[t("部分内容制作需要一点点前端基础,例如"),e("code",null,"html"),t(","),e("code",null,"css")],-1),v=e("li",null,[t("轻雪原版资源包请查看"),e("code",null,"LiteyukiBot/liteyuki/resources"),t(",可以在此基础上进行修改")],-1),_=e("li",null,"欢迎各位投稿资源包到轻雪资源商店",-1),y=d(`<h2 id="加载资源包" tabindex="-1"><a class="header-anchor" href="#加载资源包"><span>加载资源包</span></a></h2><ul><li>资源包通常是以<code>.zip</code>格式压缩的,只需要将其解压到根目录<code>resources</code>目录下即可,注意不要嵌套文件夹,正常的路径应该是这样的</li></ul><div class="language-bash line-numbers-mode" data-ext="sh" data-title="sh"><pre class="language-bash"><code>main.py
|
||||
import{_ as a,r as s,o as l,c as o,b as e,a as i,w as c,d as t,e as d}from"./app-yBdDRSDk.js";const r={},u=e("h2",{id:"简介",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#简介"},[e("span",null,"简介")])],-1),p=e("p",null,"资源包,亦可根据用途称为主题包、字体包、语言包等,它允许你一定程度上自定义轻雪的外观,并且不用修改源代码",-1),m=e("li",null,[t("资源包的制作很简单,如果你接触过"),e("code",null,"Minecraft"),t("的资源包,那么你能够很快就上手,仅需按照原有路径进行文件替换即可,讲起打包成一个新的资源包。")],-1),h=e("li",null,[t("部分内容制作需要一点点前端基础,例如"),e("code",null,"html"),t(","),e("code",null,"css")],-1),v=e("li",null,[t("轻雪原版资源包请查看"),e("code",null,"LiteyukiBot/liteyuki/resources"),t(",可以在此基础上进行修改")],-1),_=e("li",null,"欢迎各位投稿资源包到轻雪资源商店",-1),y=d(`<h2 id="加载资源包" tabindex="-1"><a class="header-anchor" href="#加载资源包"><span>加载资源包</span></a></h2><ul><li>资源包通常是以<code>.zip</code>格式压缩的,只需要将其解压到根目录<code>resources</code>目录下即可,注意不要嵌套文件夹,正常的路径应该是这样的</li></ul><div class="language-bash line-numbers-mode" data-ext="sh" data-title="sh"><pre class="language-bash"><code>main.py
|
||||
resources
|
||||
└─resource_pack_1
|
||||
├─metadata.yml
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user