docs(README.md): updated for other languages

This commit is contained in:
Neko Ayaka
2025-12-16 01:06:08 +08:00
parent 611bc4ec4c
commit cf2f29bac4
5 changed files with 130 additions and 67 deletions
+62 -27
View File
@@ -14,10 +14,10 @@
<h1 align="center">Project AIRI</h1>
<p align="center">模型驱动的灵魂容器,什么都能做一点的桌宠:让 Neuro-sama 这样的虚拟伴侣也成为我们世界中的一份子吧!</p>
<p align="center">复刻 Neuro-sama,让 AI waifu / 虚拟角色也能来到我们世界</p>
<p align="center">
[<a href="https://discord.gg/TgQ3Cu2F7A">加入 Discord</a>] [<a href="https://airi.moeru.ai">试试看</a>] [<a href="https://github.com/moeru-ai/airi/blob/main/README.md">English</a>] [<a href="https://github.com/moeru-ai/airi/blob/main/docs/README.ja-JP.md">日本語</a>]
[<a href="https://discord.gg/TgQ3Cu2F7A">加入 Discord</a>] [<a href="https://airi.moeru.ai">试试看</a>] [<a href="https://github.com/moeru-ai/airi/blob/main/README.md">English</a>] [<a href="https://github.com/moeru-ai/airi/blob/main/docs/README.ja-JP.md">日本語</a>] [<a href="https://github.com/moeru-ai/airi/blob/main/docs/README.ru-RU.md">Русский</a>] [<a href="https://github.com/moeru-ai/airi/blob/main/docs/README.vi.md">Tiếng Việt</a>] [<a href="https://github.com/moeru-ai/airi/blob/main/docs/README.fr.md">Français</a>]
</p>
<p align="center">
@@ -45,7 +45,7 @@
>
> RAG(检索增强生成)、记忆系统、嵌入式数据库、图标、Live2D 实用工具等等!
# 你是否梦想过拥有一个赛博生命(赛博 waifu、数字桌宠),或者能与你玩耍和交谈的 AI 伴侣?
你是否梦想过拥有一个赛博生命(赛博 waifu、数字桌宠),或者能与你玩耍和交谈的数字伴侣?
借助现代大型语言模型的力量,像是 [ChatGPT](https://chatgpt.com) 和著名的 [Claude](https://claude.ai) 所能带来的,想要 LLM(大语言模型)和我们角色扮演、聊天已经超简单了,每个人都能上手。而像 [Character.ai(又称 c.ai](https://character.ai) 和 [JanitorAI](https://janitorai.com/) 这样的平台,以及本地应用如 [SillyTavern(又称酒馆)](https://github.com/SillyTavern/SillyTavern),已经是基于聊天或文字冒险游戏体验的相当不错的解决方案。
@@ -55,10 +55,24 @@
因此,这个项目 AIRI,在这里提供了另一种可能性:**让你轻松拥有自己的数字生命、赛博生命,随时随地**。
## 这个项目有什么特别的呢?
## 我们发布的 DevLog & 近期更新
- [DevLog @ 2025.10.20](https://airi.moeru.ai/docs/zh-Hans/blog/DevLog-2025.10.20/) — 2025 年 10 月 20 日
- [DevLog @ 2025.08.05](https://airi.moeru.ai/docs/zh-Hans/blog/DevLog-2025.08.05/) — 2025 年 8 月 5 日
- [DevLog @ 2025.08.01](https://airi.moeru.ai/docs/zh-Hans/blog/DevLog-2025.08.01/) — 2025 年 8 月 1 日
- [DevLog @ 2025.07.18](https://airi.moeru.ai/docs/zh-Hans/blog/DevLog-2025.07.18/) — 2025 年 7 月 18 日
- [DreamLog 0x1](https://airi.moeru.ai/docs/zh-Hans/blog/dreamlog-0x1/) — 2025 年 6 月 16 日
- ...更多请见[文档站](https://airi.moeru.ai/docs/zh-Hans/)
## 这个项目有什么特别?
与其他 AI 和 LLM 驱动的 VTuber 开源项目不同,アイリ VTuber 从开始开发的第一天开始就支持多种 Web 技术,涵盖诸如 [WebGPU](https://www.w3.org/TR/webgpu/)、[WebAudio](https://developer.mozilla.org/en-US/docs/Web/API/Web_Audio_API)、[Web Workers](https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API/Using_web_workers)、[WebAssembly](https://webassembly.org/)、[WebSocket](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket) 等已经广泛应用或仍在大量实验的 API。
> [!TIP]
> 担心使用 Web 技术会导致性能下降吗?
>
> 不用担心,浏览器版本旨在展示我们在浏览器和 webview 里能做到什么,但不会完全依赖它。AIRI 的桌面版默认可用 [NVIDIA CUDA](https://developer.nvidia.com/cuda-toolkit) 和 [Apple Metal](https://developer.apple.com/metal/)(多亏了 HuggingFace 与可爱的 [candle](https://github.com/huggingface/candle) 项目),且无需复杂的依赖管理。考虑到取舍,我们在图形、布局、动画和 WIP 插件系统上部分使用了 Web 技术,方便大家集成。
这意味着 **アイリ VTuber 能够在现代浏览器和设备上运行**,甚至能够在移动设备上运行(已经完成了 PWA 支持),这为我们(贡献者们)带来了更多的可能性,让我们得以更进一步构建和扩展 アイリ VTuber 的外部功能,而与此同时也不失配置的灵活性——可以有选择地在不同设备上启用会需要 TCP 连接或其他非 Web 技术的功能,例如连接到 Discord 的语音频道一起开黑,或是和朋友们一起玩 Minecraft(我的世界)、Factorio(异星工厂)。
> [!NOTE]
@@ -89,23 +103,24 @@
## 当前进度
- [x] 思维能力
目前已经能做到:
- [x] 大脑
- [x] 玩 [Minecraft](https://www.minecraft.net)
- [x] 玩 [Factorio](https://www.factorio.com)
- [x] 玩 [Factorio](https://www.factorio.com)(进行中,但已提供 [PoC 和 demo](https://github.com/moeru-ai/airi-factorio)
- [x] 在 [Telegram](https://telegram.org) 聊天
- [x] 在 [Discord](https://discord.com) 聊天
- [ ] 记忆
- [x] 纯浏览器内数据库支持(基于 DuckDB WASM 或者 `sqlite`
- [x] 纯浏览器内数据库支持(DuckDB WASM | `pglite`
- [ ] Alaya 记忆层(施工中)
- [ ] 纯浏览器的本地推理(基于 WebGPU)
- [x] 语音理解
- [x] 耳朵
- [x] 浏览器音频输入
- [x] [Discord](https://discord.com) 音频输入
- [x] 客户端语音识别
- [x] 客户端说话检测
- [x] 语言能力
- [x] 嘴巴
- [x] [ElevenLabs](https://elevenlabs.io/) 语音合成
- [x] 身体动作
- [x] 身体
- [x] VRM 支持
- [x] 控制 VRM 模型
- [x] VRM 模型动画
@@ -121,7 +136,10 @@
## 开发
> 有关开发项目的具体教程,参见 [CONTRIBUTING.md](../.github/CONTRIBUTING.md)
> 开发项目的详细指南请参阅 [CONTRIBUTING.md](../.github/CONTRIBUTING.md)
> [!NOTE]
> 默认情况下 `pnpm dev` 会启动 Stage Web(浏览器版)的开发服务器;如果你想尝试桌面版,请先阅读 [CONTRIBUTING.md](../.github/CONTRIBUTING.md) 正确完成环境配置。
```shell
pnpm i
@@ -131,7 +149,7 @@ pnpm dev
### 网页版 (也就是 [airi.moeru.ai](https://airi.moeru.ai) 的版本)
```shell
pnpm dev:web
pnpm dev
```
### 桌面版(也叫拓麻歌子,aka 电子宠物)
@@ -140,12 +158,26 @@ pnpm dev:web
pnpm dev:tamagotchi
```
我们提供了拓麻歌子的 Nix 包。先启用 flakes,然后可以直接运行:
```shell
nix run github:moeru-ai/airi
```
### 文档站
```shell
pnpm dev:docs
```
### 发布
运行 `bumpp` 后,请记得在 `Cargo.toml` 中更新版本号:
```shell
npx bumpp --no-commit --no-tag
```
## 原生支持的 LLM API 服务来源列表(由 [xsai](https://github.com/moeru-ai/xsai) 驱动)
- [x] [302.AI](https://share.302.ai/514k2v)
@@ -155,9 +187,9 @@ pnpm dev:docs
- [x] [Ollama](https://github.com/ollama/ollama)
- [x] [Google Gemini](https://developers.generativeai.google)
- [x] [OpenAI](https://platform.openai.com/docs/guides/gpt/chat-completions-api)
- [ ] [Azure OpenAI API](https://learn.microsoft.com/en-us/azure/ai-services/openai/reference)
- [ ] [Azure OpenAI API](https://learn.microsoft.com/en-us/azure/ai-services/openai/reference)(欢迎 PR
- [x] [Anthropic Claude](https://anthropic.com)
- [ ] [AWS Claude](https://learn.microsoft.com/en-us/azure/ai-services/openai/reference)
- [ ] [AWS Claude](https://learn.microsoft.com/en-us/azure/ai-services/openai/reference)(欢迎 PR
- [x] [深度求索 DeepSeek](https://www.deepseek.com/)
- [x] [通义千问 Qwen](https://help.aliyun.com/document_detail/2400395.html)
- [x] [xAI](https://x.ai/)
@@ -181,21 +213,23 @@ pnpm dev:docs
## 从这个项目诞生的子项目
- [`unspeech`](https://github.com/moeru-ai/unspeech): 用于代理 `/audio/transcriptions``/audio/speech` 的代理服务器实现,类似 LiteLLM 但面向任何 ASR 和 TTS
- [`hfup`](https://github.com/moeru-ai/hfup): 帮助部署、打包到 HuggingFace Spaces 的工具集
- [`@proj-airi/drizzle-duckdb-wasm`](https://github.com/moeru-ai/airi/tree/main/packages/drizzle-duckdb-wasm/README.md): DuckDB WASM 的 Drizzle ORM driver 驱动
- [`@proj-airi/duckdb-wasm`](https://github.com/moeru-ai/airi/tree/main/packages/duckdb-wasm/README.md): 易于使用的 `@duckdb/duckdb-wasm` 封装
- [`@proj-airi/lobe-icons`](https://github.com/proj-airi/lobe-icons): 为 [lobe-icons](https://github.com/lobehub/lobe-icons) 漂亮的 AI & LLM 图标制作的 Iconify JSON 封装,支持 Tailwind 和 UnoCSS
- [Awesome AI VTuber](https://github.com/proj-airi/awesome-ai-vtuber):AI VTuber 及相关项目的精选列表
- [`unspeech`](https://github.com/moeru-ai/unspeech):通用的 `/audio/transcriptions``/audio/speech` 代理,类似 LiteLLM,但适用于任意 ASR 和 TTS
- [`hfup`](https://github.com/moeru-ai/hfup):帮助部署与打包到 HuggingFace Spaces 的工具
- [`xsai-transformers`](https://github.com/moeru-ai/xsai-transformers):面向 [xsAI](https://github.com/moeru-ai/xsai) 的实验性 [🤗 Transformers.js](https://github.com/huggingface/transformers.js) provider
- [WebAI: Realtime Voice Chat](https://github.com/proj-airi/webai-realtime-voice-chat):从零实现 ChatGPT 实时语音(VAD + STT + LLM + TTS)的完整示例
- [`@proj-airi/drizzle-duckdb-wasm`](https://github.com/moeru-ai/airi/tree/main/packages/drizzle-duckdb-wasm/README.md)DuckDB WASM 的 Drizzle ORM 驱动
- [`@proj-airi/duckdb-wasm`](https://github.com/moeru-ai/airi/tree/main/packages/duckdb-wasm/README.md):好用的 `@duckdb/duckdb-wasm` 封装
- [`tauri-plugin-mcp`](https://github.com/moeru-ai/airi/blob/main/crates/tauri-plugin-mcp/README.md):与 MCP servers 交互的 Tauri 插件
- [AIRI Factorio](https://github.com/moeru-ai/airi-factorio): 让 AIRI 玩 Factorio
- [Factorio RCON API](https://github.com/nekomeowww/factorio-rcon-api): Factorio 无头服务器控制台的 RESTful API 封装
- [`autorio`](https://github.com/moeru-ai/airi-factorio/tree/main/packages/autorio): Factorio 自动化库
- [`tstl-plugin-reload-factorio-mod`](https://github.com/moeru-ai/airi-factorio/tree/main/packages/tstl-plugin-reload-factorio-mod): 开发时支持热重载 Factorio 模组
- [🥺 SAD](https://github.com/moeru-ai/sad): 自托管和浏览器运行 LLM 的文档和说明
- [Velin](https://github.com/luoling8192/velin): 用 Vue SFC 和 Markdown 文件来为 LLM 书写简单好用的提示词
- [`demodel`](https://github.com/moeru-ai/demodel): 轻松加速各种推理引擎和模型下载器拉/下载模型或数据集的速度
- [`inventory`](https://github.com/moeru-ai/inventory): 中心化模型目录和默认服务来源配置的公开 API 服务
- [MCP Launcher](https://github.com/moeru-ai/mcp-launcher): 易于使用的 MCP 启动器,适用于所有可能的 MCP Server,就像用于模型推理的 Ollama 一样!
- ~~[`@proj-airi/elevenlabs`](https://github.com/moeru-ai/airi/tree/main/packages/elevenlabs): ElevenLabs API 的类型定义~~
- [Velin](https://github.com/luoling8192/velin):用 Vue SFC 和 Markdown 写可管理的多轮提示词
- [`demodel`](https://github.com/moeru-ai/demodel):轻松加速不同推理引擎/下载器拉取模型与数据集
- [`inventory`](https://github.com/moeru-ai/inventory):集中式模型目录与默认 provider 配置的后端服务
- [MCP Launcher](https://github.com/moeru-ai/mcp-launcher):易用的 MCP 构建器与启动器,就像模型界的 Ollama!
- [🥺 SAD](https://github.com/moeru-ai/sad):自托管与浏览器运行 LLM 的文档与笔记
```mermaid
%%{ init: { 'flowchart': { 'curve': 'catmullRom' } } }%%
@@ -305,6 +339,7 @@ flowchart TD
- https://clips.twitch.tv/WanderingCaringDeerDxCat-Qt55xtiGDSoNmDDr https://www.youtube.com/watch?v=8Giv5mupJNE
- https://clips.twitch.tv/TriangularAthleticBunnySoonerLater-SXpBk1dFso21VcWD
- https://www.youtube.com/@NOWA_Mirai
## 项目状态
@@ -312,10 +347,10 @@ flowchart TD
## 鸣谢
- [Reka UI](https://github.com/unovue/reka-ui): 文档页面设计,新的着陆页基本上是在他们完成的工作至上发挥得来的,也感谢他们实现了大量 UI 组件。(shadcn-vue 使用 Reka UI 作为 headless 组件,也请记得去看看!)
- [Reka UI](https://github.com/unovue/reka-ui): 文档站的设计,新的 landing page 也基于此,并感谢他们实现了大量 UI 组件。(shadcn-vue 使用 Reka UI 作为 headless 组件,去看看!)
- [pixiv/ChatVRM](https://github.com/pixiv/ChatVRM)
- [josephrocca/ChatVRM-js: A JS conversion/adaptation of parts of the ChatVRM (TypeScript) code for standalone use in OpenCharacters and elsewhere](https://github.com/josephrocca/ChatVRM-js)
- UI 和样式的设计受 [Cookard](https://store.steampowered.com/app/2919650/Cookard/)[UNBEATABLE](https://store.steampowered.com/app/2240620/UNBEATABLE/),以及 [Sensei! I like you so much!](https://store.steampowered.com/app/2957700/_/)还有 [Ayame by Mercedes Bazan](https://dribbble.com/shots/22157656-Ayame) 和 [Wish by Mercedes Bazan](https://dribbble.com/shots/24501019-Wish) 的作品启发
- UI 和样式的灵感来源于 [Cookard](https://store.steampowered.com/app/2919650/Cookard/)[UNBEATABLE](https://store.steampowered.com/app/2240620/UNBEATABLE/)[Sensei! I like you so much!](https://store.steampowered.com/app/2957700/_/)以及 [Ayame by Mercedes Bazan](https://dribbble.com/shots/22157656-Ayame) 和 [Wish by Mercedes Bazan](https://dribbble.com/shots/24501019-Wish) 的作品
- [mallorbc/whisper_mic](https://github.com/mallorbc/whisper_mic)
- [`xsai`](https://github.com/moeru-ai/xsai):实现了相当数量的包来与 LLM 和模型交互,像 [Vercel AI SDK](https://sdk.vercel.ai/) 但是更小