diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index 2afd35f4a..17a18fc86 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -299,13 +299,18 @@ pnpm -F @proj-airi/minecraft-bot start ### Before commit -> [!CAUTION] -> -> Please make sure lint (static checkers) and TypeScript compilers are satisfied: -> -> ```shell -> pnpm lint && pnpm typecheck -> ``` +Please make sure lint (static checkers) and TypeScript compilers are satisfied: + +```shell +pnpm lint && pnpm typecheck +``` + +If you are committing images, consider using AVIF format instead of PNG, JPG etc. You can convert existing images to AVIF by running: + +```shell +cd docs +pnpm to-avif ... +``` > [!NOTE] > diff --git a/README.md b/README.md index a0be1bf58..79b6b9ee4 100644 --- a/README.md +++ b/README.md @@ -1,15 +1,15 @@ - +

Project AIRI

@@ -94,7 +94,7 @@ This means that **アイリ VTuber is capable to run on modern browsers and devi ## Current progress - + Capable of diff --git a/docs/.vitepress/assets/home-cover-2025-07-15.avif b/docs/.vitepress/assets/home-cover-2025-07-15.avif new file mode 100644 index 000000000..5f993350a Binary files /dev/null and b/docs/.vitepress/assets/home-cover-2025-07-15.avif differ diff --git a/docs/.vitepress/assets/home-cover-2025-07-15.png b/docs/.vitepress/assets/home-cover-2025-07-15.png deleted file mode 100644 index 4bc4baf18..000000000 Binary files a/docs/.vitepress/assets/home-cover-2025-07-15.png and /dev/null differ diff --git a/docs/.vitepress/components/Home.vue b/docs/.vitepress/components/Home.vue index ca88c0c88..2a00c7615 100644 --- a/docs/.vitepress/components/Home.vue +++ b/docs/.vitepress/components/Home.vue @@ -1,7 +1,7 @@ diff --git a/docs/content/en/blog/DevLog-2025.04.06/assets/awesome-ai-vtuber-logo-light.avif b/docs/content/en/blog/DevLog-2025.04.06/assets/awesome-ai-vtuber-logo-light.avif new file mode 100644 index 000000000..56fc19fca Binary files /dev/null and b/docs/content/en/blog/DevLog-2025.04.06/assets/awesome-ai-vtuber-logo-light.avif differ diff --git a/docs/content/en/blog/DevLog-2025.04.06/assets/awesome-ai-vtuber-logo-light.png b/docs/content/en/blog/DevLog-2025.04.06/assets/awesome-ai-vtuber-logo-light.png deleted file mode 100644 index e2d2e0ce8..000000000 Binary files a/docs/content/en/blog/DevLog-2025.04.06/assets/awesome-ai-vtuber-logo-light.png and /dev/null differ diff --git a/docs/content/en/blog/DevLog-2025.04.06/assets/character-card-detail.avif b/docs/content/en/blog/DevLog-2025.04.06/assets/character-card-detail.avif new file mode 100644 index 000000000..8c9902fdf Binary files /dev/null and b/docs/content/en/blog/DevLog-2025.04.06/assets/character-card-detail.avif differ diff --git a/docs/content/en/blog/DevLog-2025.04.06/assets/character-card-detail.png b/docs/content/en/blog/DevLog-2025.04.06/assets/character-card-detail.png deleted file mode 100644 index 21d4672e3..000000000 Binary files a/docs/content/en/blog/DevLog-2025.04.06/assets/character-card-detail.png and /dev/null differ diff --git a/docs/content/en/blog/DevLog-2025.04.06/assets/character-card.avif b/docs/content/en/blog/DevLog-2025.04.06/assets/character-card.avif new file mode 100644 index 000000000..263ec56dd Binary files /dev/null and b/docs/content/en/blog/DevLog-2025.04.06/assets/character-card.avif differ diff --git a/docs/content/en/blog/DevLog-2025.04.06/assets/character-card.png b/docs/content/en/blog/DevLog-2025.04.06/assets/character-card.png deleted file mode 100644 index c2cbaaeb4..000000000 Binary files a/docs/content/en/blog/DevLog-2025.04.06/assets/character-card.png and /dev/null differ diff --git a/docs/content/en/blog/DevLog-2025.04.06/assets/memory-decay.avif b/docs/content/en/blog/DevLog-2025.04.06/assets/memory-decay.avif new file mode 100644 index 000000000..df864cd8b Binary files /dev/null and b/docs/content/en/blog/DevLog-2025.04.06/assets/memory-decay.avif differ diff --git a/docs/content/en/blog/DevLog-2025.04.06/assets/memory-decay.png b/docs/content/en/blog/DevLog-2025.04.06/assets/memory-decay.png deleted file mode 100644 index eb82ce50a..000000000 Binary files a/docs/content/en/blog/DevLog-2025.04.06/assets/memory-decay.png and /dev/null differ diff --git a/docs/content/en/blog/DevLog-2025.04.06/assets/memory-retrieval.avif b/docs/content/en/blog/DevLog-2025.04.06/assets/memory-retrieval.avif new file mode 100644 index 000000000..4cb73021f Binary files /dev/null and b/docs/content/en/blog/DevLog-2025.04.06/assets/memory-retrieval.avif differ diff --git a/docs/content/en/blog/DevLog-2025.04.06/assets/memory-retrieval.png b/docs/content/en/blog/DevLog-2025.04.06/assets/memory-retrieval.png deleted file mode 100644 index 917eae416..000000000 Binary files a/docs/content/en/blog/DevLog-2025.04.06/assets/memory-retrieval.png and /dev/null differ diff --git a/docs/content/en/blog/DevLog-2025.04.06/assets/more-theme-colors.avif b/docs/content/en/blog/DevLog-2025.04.06/assets/more-theme-colors.avif new file mode 100644 index 000000000..63f350877 Binary files /dev/null and b/docs/content/en/blog/DevLog-2025.04.06/assets/more-theme-colors.avif differ diff --git a/docs/content/en/blog/DevLog-2025.04.06/assets/more-theme-colors.png b/docs/content/en/blog/DevLog-2025.04.06/assets/more-theme-colors.png deleted file mode 100644 index cb49fef20..000000000 Binary files a/docs/content/en/blog/DevLog-2025.04.06/assets/more-theme-colors.png and /dev/null differ diff --git a/docs/content/en/blog/DevLog-2025.04.06/assets/relu-sticker-wow.avif b/docs/content/en/blog/DevLog-2025.04.06/assets/relu-sticker-wow.avif new file mode 100644 index 000000000..60e37570b Binary files /dev/null and b/docs/content/en/blog/DevLog-2025.04.06/assets/relu-sticker-wow.avif differ diff --git a/docs/content/en/blog/DevLog-2025.04.06/assets/relu-sticker-wow.png b/docs/content/en/blog/DevLog-2025.04.06/assets/relu-sticker-wow.png deleted file mode 100644 index af97eaedb..000000000 Binary files a/docs/content/en/blog/DevLog-2025.04.06/assets/relu-sticker-wow.png and /dev/null differ diff --git a/docs/content/en/blog/DevLog-2025.04.06/index.md b/docs/content/en/blog/DevLog-2025.04.06/index.md index ef96e0b8f..df7f7fa1d 100644 --- a/docs/content/en/blog/DevLog-2025.04.06/index.md +++ b/docs/content/en/blog/DevLog-2025.04.06/index.md @@ -5,13 +5,13 @@ date: 2025-04-06 --- ## Before all the others 在其他东西之前 diff --git a/docs/content/en/blog/DevLog-2025.04.14/assets/memory-controler.avif b/docs/content/en/blog/DevLog-2025.04.14/assets/memory-controler.avif new file mode 100644 index 000000000..280349b8b Binary files /dev/null and b/docs/content/en/blog/DevLog-2025.04.14/assets/memory-controler.avif differ diff --git a/docs/content/en/blog/DevLog-2025.04.14/assets/memory-controler.jpg b/docs/content/en/blog/DevLog-2025.04.14/assets/memory-controler.jpg deleted file mode 100644 index cdfecc531..000000000 Binary files a/docs/content/en/blog/DevLog-2025.04.14/assets/memory-controler.jpg and /dev/null differ diff --git a/docs/content/en/blog/DevLog-2025.04.14/assets/memory-decay.avif b/docs/content/en/blog/DevLog-2025.04.14/assets/memory-decay.avif new file mode 100644 index 000000000..4e2f6e68d Binary files /dev/null and b/docs/content/en/blog/DevLog-2025.04.14/assets/memory-decay.avif differ diff --git a/docs/content/en/blog/DevLog-2025.04.14/assets/memory-decay.jpg b/docs/content/en/blog/DevLog-2025.04.14/assets/memory-decay.jpg deleted file mode 100644 index 35bc34aff..000000000 Binary files a/docs/content/en/blog/DevLog-2025.04.14/assets/memory-decay.jpg and /dev/null differ diff --git a/docs/content/en/blog/DevLog-2025.04.14/assets/memory-driver.avif b/docs/content/en/blog/DevLog-2025.04.14/assets/memory-driver.avif new file mode 100644 index 000000000..7cd5beeae Binary files /dev/null and b/docs/content/en/blog/DevLog-2025.04.14/assets/memory-driver.avif differ diff --git a/docs/content/en/blog/DevLog-2025.04.14/assets/memory-driver.jpg b/docs/content/en/blog/DevLog-2025.04.14/assets/memory-driver.jpg deleted file mode 100644 index e07990840..000000000 Binary files a/docs/content/en/blog/DevLog-2025.04.14/assets/memory-driver.jpg and /dev/null differ diff --git a/docs/content/en/blog/DevLog-2025.04.14/assets/memory-emotional-model.avif b/docs/content/en/blog/DevLog-2025.04.14/assets/memory-emotional-model.avif new file mode 100644 index 000000000..4239e1772 Binary files /dev/null and b/docs/content/en/blog/DevLog-2025.04.14/assets/memory-emotional-model.avif differ diff --git a/docs/content/en/blog/DevLog-2025.04.14/assets/memory-emotional-model.jpg b/docs/content/en/blog/DevLog-2025.04.14/assets/memory-emotional-model.jpg deleted file mode 100644 index 93fd430b1..000000000 Binary files a/docs/content/en/blog/DevLog-2025.04.14/assets/memory-emotional-model.jpg and /dev/null differ diff --git a/docs/content/en/blog/DevLog-2025.04.14/assets/memory-emotional-score.avif b/docs/content/en/blog/DevLog-2025.04.14/assets/memory-emotional-score.avif new file mode 100644 index 000000000..86f0694f2 Binary files /dev/null and b/docs/content/en/blog/DevLog-2025.04.14/assets/memory-emotional-score.avif differ diff --git a/docs/content/en/blog/DevLog-2025.04.14/assets/memory-emotional-score.jpg b/docs/content/en/blog/DevLog-2025.04.14/assets/memory-emotional-score.jpg deleted file mode 100644 index 21614f9ec..000000000 Binary files a/docs/content/en/blog/DevLog-2025.04.14/assets/memory-emotional-score.jpg and /dev/null differ diff --git a/docs/content/en/blog/DevLog-2025.04.14/assets/memory-emotional-simulator.avif b/docs/content/en/blog/DevLog-2025.04.14/assets/memory-emotional-simulator.avif new file mode 100644 index 000000000..bb56d439b Binary files /dev/null and b/docs/content/en/blog/DevLog-2025.04.14/assets/memory-emotional-simulator.avif differ diff --git a/docs/content/en/blog/DevLog-2025.04.14/assets/memory-emotional-simulator.jpg b/docs/content/en/blog/DevLog-2025.04.14/assets/memory-emotional-simulator.jpg deleted file mode 100644 index fabb95938..000000000 Binary files a/docs/content/en/blog/DevLog-2025.04.14/assets/memory-emotional-simulator.jpg and /dev/null differ diff --git a/docs/content/en/blog/DevLog-2025.04.14/assets/memory-retrieval.avif b/docs/content/en/blog/DevLog-2025.04.14/assets/memory-retrieval.avif new file mode 100644 index 000000000..42104ae52 Binary files /dev/null and b/docs/content/en/blog/DevLog-2025.04.14/assets/memory-retrieval.avif differ diff --git a/docs/content/en/blog/DevLog-2025.04.14/assets/memory-retrieval.jpg b/docs/content/en/blog/DevLog-2025.04.14/assets/memory-retrieval.jpg deleted file mode 100644 index 6d3260e7b..000000000 Binary files a/docs/content/en/blog/DevLog-2025.04.14/assets/memory-retrieval.jpg and /dev/null differ diff --git a/docs/content/en/blog/DevLog-2025.04.14/assets/review-1.avif b/docs/content/en/blog/DevLog-2025.04.14/assets/review-1.avif new file mode 100644 index 000000000..3ed68a3ae Binary files /dev/null and b/docs/content/en/blog/DevLog-2025.04.14/assets/review-1.avif differ diff --git a/docs/content/en/blog/DevLog-2025.04.14/assets/review-1.jpg b/docs/content/en/blog/DevLog-2025.04.14/assets/review-1.jpg deleted file mode 100644 index d4cf4f4dc..000000000 Binary files a/docs/content/en/blog/DevLog-2025.04.14/assets/review-1.jpg and /dev/null differ diff --git a/docs/content/en/blog/DevLog-2025.04.14/assets/review-2.avif b/docs/content/en/blog/DevLog-2025.04.14/assets/review-2.avif new file mode 100644 index 000000000..6d2fc79e6 Binary files /dev/null and b/docs/content/en/blog/DevLog-2025.04.14/assets/review-2.avif differ diff --git a/docs/content/en/blog/DevLog-2025.04.14/assets/review-2.jpg b/docs/content/en/blog/DevLog-2025.04.14/assets/review-2.jpg deleted file mode 100644 index 78943a6fc..000000000 Binary files a/docs/content/en/blog/DevLog-2025.04.14/assets/review-2.jpg and /dev/null differ diff --git a/docs/content/en/blog/DevLog-2025.04.14/index.md b/docs/content/en/blog/DevLog-2025.04.14/index.md index 39e26ed2b..d6cf9656d 100644 --- a/docs/content/en/blog/DevLog-2025.04.14/index.md +++ b/docs/content/en/blog/DevLog-2025.04.14/index.md @@ -102,21 +102,21 @@ RAG 现在会流行一个新的流程,就是 reranking model,相当于是** [Project AIRI Memory Driver @duckdb/duckdb-wasm Playground](https://drizzle-orm-duckdb-wasm.netlify.app/#/memory-decay) -![](./assets/memory-driver.jpg) +![](./assets/memory-driver.avif) 左边这个高亮的 half life 就是记忆的半衰期。 默认情况下时间流逝速度是 1s 1 天,所以 7s 后,记忆的分数就会减半。 什么是记忆分数?记忆分数基本上是由这个控制的: -![](./assets/memory-controler.jpg) +![](./assets/memory-controler.avif) 得出的分数就是 current score 什么是 original 呢,就是初始化的时候的分数。 例子:原始分数为 523,它的当前分数实际上是在慢慢变少的: -![](./assets/memory-decay.jpg) +![](./assets/memory-decay.avif) 在继续介绍之前,解释一下,这个遗忘曲线的 SQL 是无状态的。 @@ -160,17 +160,17 @@ RAG 现在会流行一个新的流程,就是 reranking model,相当于是** 我们可以再来回顾一下 DevLog 中提到的排序表达式,应该会能帮助理解。 -![](./assets/review-1.jpg) +![](./assets/review-1.avif) 余弦距离就是「相关度」,是最基本的粗排: -![](./assets/review-2.jpg) +![](./assets/review-2.avif) 现在需要时间参与进去,那我们多加一个字段拿来存储时间距离就好了,然后再弄一个单独的字段存合并分数 `(1.2 * similarity) + (0.2 * time_relevance)` ,其中 语义相关度 占 1.2 倍权重(倍率因子,不要求小于 1),时间距离相关度占 0.2 倍权重。 这样我们就很巧妙地把无状态的多字段相关度排序 SQL 实现出来了,还让它可以调节参数(1.2 和 0.2)。 在记忆详情卡上,可以点击 simulate retrieval,这可以主动触发一次记忆召回。 -![](./assets/memory-retrieval.jpg) +![](./assets/memory-retrieval.avif) 现在的 demo 里面是直接给原本的表里的 retrieval count(召回次数)字段用 UPDATE 语句写了 +1 来实现的。 @@ -185,7 +185,7 @@ RAG 现在会流行一个新的流程,就是 reranking model,相当于是** https://drizzle-orm-duckdb-wasm.netlify.app/#/memory-simulator 这个新的 simulator 里面就有情绪相关的模拟: -![](./assets/memory-emotional-simulator.jpg) +![](./assets/memory-emotional-simulator.avif) ### 情绪和记忆相关吗? @@ -196,7 +196,7 @@ https://drizzle-orm-duckdb-wasm.netlify.app/#/memory-simulator 如果对「某段过去的记忆开心,并且希望再次体验它」,但是由于「暂时没办法实现这个记忆里面的场景」,所以觉得「得不到就难过」。 可以在记忆数据库中存储「欢欣」和「厌恶」的分数: -![](./assets/memory-emotional-score.jpg) +![](./assets/memory-emotional-score.avif) ### PTSD? @@ -206,7 +206,7 @@ PTSD 通常会涉及到两个词「trigger」和「闪回」,很明显 PTSD 可以参考一下 https://yutsuki.moe/2019/09/a0d0fa1b/ 里面的情绪模型。 -![](./assets/memory-emotional-model.jpg) +![](./assets/memory-emotional-model.avif) ## 还有很多事情要做…… diff --git a/docs/content/en/blog/DevLog-2025.04.22/assets/develop-with-cursor.avif b/docs/content/en/blog/DevLog-2025.04.22/assets/develop-with-cursor.avif new file mode 100644 index 000000000..579b6db5a Binary files /dev/null and b/docs/content/en/blog/DevLog-2025.04.22/assets/develop-with-cursor.avif differ diff --git a/docs/content/en/blog/DevLog-2025.04.22/assets/develop-with-cursor.jpeg b/docs/content/en/blog/DevLog-2025.04.22/assets/develop-with-cursor.jpeg deleted file mode 100644 index 5ba25816b..000000000 Binary files a/docs/content/en/blog/DevLog-2025.04.22/assets/develop-with-cursor.jpeg and /dev/null differ diff --git a/docs/content/en/blog/DevLog-2025.04.22/index.md b/docs/content/en/blog/DevLog-2025.04.22/index.md index ca2031a26..054ec71db 100644 --- a/docs/content/en/blog/DevLog-2025.04.22/index.md +++ b/docs/content/en/blog/DevLog-2025.04.22/index.md @@ -60,7 +60,7 @@ def get_devices(): 这是我第一次和 AI 写代码的时候感受到像人类一起写代码一样,不知道是不是因为我的目的就是让 AI 来使用我的工具,所以它变成了我的客户,我需要不停地根据它给的反馈来调整我的代码,它也变成了我的同事,我需要和它一起思考,一起解决问题。看这个截屏,是不是确实很像? -![](./assets/develop-with-cursor.jpeg) +![](./assets/develop-with-cursor.avif) 在开发过程中还学了一些小技巧,比如我们可以使用命令行来启动 Android 模拟器,这样就不用打开 Android Studio 了,内存压力也小了很多。 diff --git a/docs/content/en/blog/DevLog-2025.04.28/assets/airi-mcp-arch.avif b/docs/content/en/blog/DevLog-2025.04.28/assets/airi-mcp-arch.avif new file mode 100644 index 000000000..f3364ea91 Binary files /dev/null and b/docs/content/en/blog/DevLog-2025.04.28/assets/airi-mcp-arch.avif differ diff --git a/docs/content/en/blog/DevLog-2025.04.28/assets/airi-mcp-arch.jpg b/docs/content/en/blog/DevLog-2025.04.28/assets/airi-mcp-arch.jpg deleted file mode 100644 index aaf7620c9..000000000 Binary files a/docs/content/en/blog/DevLog-2025.04.28/assets/airi-mcp-arch.jpg and /dev/null differ diff --git a/docs/content/en/blog/DevLog-2025.04.28/index.md b/docs/content/en/blog/DevLog-2025.04.28/index.md index 9436b6064..82c767522 100644 --- a/docs/content/en/blog/DevLog-2025.04.28/index.md +++ b/docs/content/en/blog/DevLog-2025.04.28/index.md @@ -5,7 +5,7 @@ date: 2025-04-28 --- 大家好,这里是 [@LemonNeko](https://github.com/LemonNekoGH),今天由我来和大家一起分享开发故事。 diff --git a/docs/content/en/blog/DevLog-2025.05.16/assets/character-card-menu-dark.avif b/docs/content/en/blog/DevLog-2025.05.16/assets/character-card-menu-dark.avif new file mode 100644 index 000000000..17ad76b40 Binary files /dev/null and b/docs/content/en/blog/DevLog-2025.05.16/assets/character-card-menu-dark.avif differ diff --git a/docs/content/en/blog/DevLog-2025.05.16/assets/character-card-menu-dark.png b/docs/content/en/blog/DevLog-2025.05.16/assets/character-card-menu-dark.png deleted file mode 100644 index 18e65a28f..000000000 Binary files a/docs/content/en/blog/DevLog-2025.05.16/assets/character-card-menu-dark.png and /dev/null differ diff --git a/docs/content/en/blog/DevLog-2025.05.16/assets/character-card-menu-light.avif b/docs/content/en/blog/DevLog-2025.05.16/assets/character-card-menu-light.avif new file mode 100644 index 000000000..f5eb4d381 Binary files /dev/null and b/docs/content/en/blog/DevLog-2025.05.16/assets/character-card-menu-light.avif differ diff --git a/docs/content/en/blog/DevLog-2025.05.16/assets/character-card-menu-light.png b/docs/content/en/blog/DevLog-2025.05.16/assets/character-card-menu-light.png deleted file mode 100644 index 4a09b76bf..000000000 Binary files a/docs/content/en/blog/DevLog-2025.05.16/assets/character-card-menu-light.png and /dev/null differ diff --git a/docs/content/en/blog/DevLog-2025.05.16/assets/character-card-settings-dark.avif b/docs/content/en/blog/DevLog-2025.05.16/assets/character-card-settings-dark.avif new file mode 100644 index 000000000..81dc4afe2 Binary files /dev/null and b/docs/content/en/blog/DevLog-2025.05.16/assets/character-card-settings-dark.avif differ diff --git a/docs/content/en/blog/DevLog-2025.05.16/assets/character-card-settings-dark.png b/docs/content/en/blog/DevLog-2025.05.16/assets/character-card-settings-dark.png deleted file mode 100644 index c2a71e41e..000000000 Binary files a/docs/content/en/blog/DevLog-2025.05.16/assets/character-card-settings-dark.png and /dev/null differ diff --git a/docs/content/en/blog/DevLog-2025.05.16/assets/character-card-settings-light.avif b/docs/content/en/blog/DevLog-2025.05.16/assets/character-card-settings-light.avif new file mode 100644 index 000000000..0014d42d0 Binary files /dev/null and b/docs/content/en/blog/DevLog-2025.05.16/assets/character-card-settings-light.avif differ diff --git a/docs/content/en/blog/DevLog-2025.05.16/assets/character-card-settings-light.png b/docs/content/en/blog/DevLog-2025.05.16/assets/character-card-settings-light.png deleted file mode 100644 index 4f4cec473..000000000 Binary files a/docs/content/en/blog/DevLog-2025.05.16/assets/character-card-settings-light.png and /dev/null differ diff --git a/docs/content/en/blog/DevLog-2025.05.16/assets/character-card-showcase-dark.avif b/docs/content/en/blog/DevLog-2025.05.16/assets/character-card-showcase-dark.avif new file mode 100644 index 000000000..24e857d19 Binary files /dev/null and b/docs/content/en/blog/DevLog-2025.05.16/assets/character-card-showcase-dark.avif differ diff --git a/docs/content/en/blog/DevLog-2025.05.16/assets/character-card-showcase-dark.png b/docs/content/en/blog/DevLog-2025.05.16/assets/character-card-showcase-dark.png deleted file mode 100644 index 67dd7e9ce..000000000 Binary files a/docs/content/en/blog/DevLog-2025.05.16/assets/character-card-showcase-dark.png and /dev/null differ diff --git a/docs/content/en/blog/DevLog-2025.05.16/assets/character-card-showcase-light.avif b/docs/content/en/blog/DevLog-2025.05.16/assets/character-card-showcase-light.avif new file mode 100644 index 000000000..9c1ffba11 Binary files /dev/null and b/docs/content/en/blog/DevLog-2025.05.16/assets/character-card-showcase-light.avif differ diff --git a/docs/content/en/blog/DevLog-2025.05.16/assets/character-card-showcase-light.png b/docs/content/en/blog/DevLog-2025.05.16/assets/character-card-showcase-light.png deleted file mode 100644 index d7c3b45e9..000000000 Binary files a/docs/content/en/blog/DevLog-2025.05.16/assets/character-card-showcase-light.png and /dev/null differ diff --git a/docs/content/en/blog/DevLog-2025.05.16/assets/demo-day-hangzhou-1.avif b/docs/content/en/blog/DevLog-2025.05.16/assets/demo-day-hangzhou-1.avif new file mode 100644 index 000000000..b5611167c Binary files /dev/null and b/docs/content/en/blog/DevLog-2025.05.16/assets/demo-day-hangzhou-1.avif differ diff --git a/docs/content/en/blog/DevLog-2025.05.16/assets/demo-day-hangzhou-1.jpeg b/docs/content/en/blog/DevLog-2025.05.16/assets/demo-day-hangzhou-1.jpeg deleted file mode 100644 index ffffa39e3..000000000 Binary files a/docs/content/en/blog/DevLog-2025.05.16/assets/demo-day-hangzhou-1.jpeg and /dev/null differ diff --git a/docs/content/en/blog/DevLog-2025.05.16/assets/demo-day-hangzhou-2.avif b/docs/content/en/blog/DevLog-2025.05.16/assets/demo-day-hangzhou-2.avif new file mode 100644 index 000000000..297af79f8 Binary files /dev/null and b/docs/content/en/blog/DevLog-2025.05.16/assets/demo-day-hangzhou-2.avif differ diff --git a/docs/content/en/blog/DevLog-2025.05.16/assets/demo-day-hangzhou-2.jpeg b/docs/content/en/blog/DevLog-2025.05.16/assets/demo-day-hangzhou-2.jpeg deleted file mode 100644 index f12a7344f..000000000 Binary files a/docs/content/en/blog/DevLog-2025.05.16/assets/demo-day-hangzhou-2.jpeg and /dev/null differ diff --git a/docs/content/en/blog/DevLog-2025.05.16/assets/demo-day-hangzhou-3.avif b/docs/content/en/blog/DevLog-2025.05.16/assets/demo-day-hangzhou-3.avif new file mode 100644 index 000000000..6ba378c45 Binary files /dev/null and b/docs/content/en/blog/DevLog-2025.05.16/assets/demo-day-hangzhou-3.avif differ diff --git a/docs/content/en/blog/DevLog-2025.05.16/assets/demo-day-hangzhou-3.jpeg b/docs/content/en/blog/DevLog-2025.05.16/assets/demo-day-hangzhou-3.jpeg deleted file mode 100644 index 0e4a60ab7..000000000 Binary files a/docs/content/en/blog/DevLog-2025.05.16/assets/demo-day-hangzhou-3.jpeg and /dev/null differ diff --git a/docs/content/en/blog/DevLog-2025.05.16/assets/velin-dark.avif b/docs/content/en/blog/DevLog-2025.05.16/assets/velin-dark.avif new file mode 100644 index 000000000..0fd4b36d3 Binary files /dev/null and b/docs/content/en/blog/DevLog-2025.05.16/assets/velin-dark.avif differ diff --git a/docs/content/en/blog/DevLog-2025.05.16/assets/velin-dark.png b/docs/content/en/blog/DevLog-2025.05.16/assets/velin-dark.png deleted file mode 100644 index 931aa0e30..000000000 Binary files a/docs/content/en/blog/DevLog-2025.05.16/assets/velin-dark.png and /dev/null differ diff --git a/docs/content/en/blog/DevLog-2025.05.16/assets/velin-light.avif b/docs/content/en/blog/DevLog-2025.05.16/assets/velin-light.avif new file mode 100644 index 000000000..5e43edb40 Binary files /dev/null and b/docs/content/en/blog/DevLog-2025.05.16/assets/velin-light.avif differ diff --git a/docs/content/en/blog/DevLog-2025.05.16/assets/velin-light.png b/docs/content/en/blog/DevLog-2025.05.16/assets/velin-light.png deleted file mode 100644 index 90c86f737..000000000 Binary files a/docs/content/en/blog/DevLog-2025.05.16/assets/velin-light.png and /dev/null differ diff --git a/docs/content/en/blog/DevLog-2025.05.16/assets/velin-playground-dark.avif b/docs/content/en/blog/DevLog-2025.05.16/assets/velin-playground-dark.avif new file mode 100644 index 000000000..9e94ddaaf Binary files /dev/null and b/docs/content/en/blog/DevLog-2025.05.16/assets/velin-playground-dark.avif differ diff --git a/docs/content/en/blog/DevLog-2025.05.16/assets/velin-playground-dark.png b/docs/content/en/blog/DevLog-2025.05.16/assets/velin-playground-dark.png deleted file mode 100644 index 82138a1f2..000000000 Binary files a/docs/content/en/blog/DevLog-2025.05.16/assets/velin-playground-dark.png and /dev/null differ diff --git a/docs/content/en/blog/DevLog-2025.05.16/assets/velin-playground-light.avif b/docs/content/en/blog/DevLog-2025.05.16/assets/velin-playground-light.avif new file mode 100644 index 000000000..dee5f661b Binary files /dev/null and b/docs/content/en/blog/DevLog-2025.05.16/assets/velin-playground-light.avif differ diff --git a/docs/content/en/blog/DevLog-2025.05.16/assets/velin-playground-light.png b/docs/content/en/blog/DevLog-2025.05.16/assets/velin-playground-light.png deleted file mode 100644 index b0972e709..000000000 Binary files a/docs/content/en/blog/DevLog-2025.05.16/assets/velin-playground-light.png and /dev/null differ diff --git a/docs/content/en/blog/DevLog-2025.05.16/index.md b/docs/content/en/blog/DevLog-2025.05.16/index.md index f318276d9..edff226bf 100644 --- a/docs/content/en/blog/DevLog-2025.05.16/index.md +++ b/docs/content/en/blog/DevLog-2025.05.16/index.md @@ -5,24 +5,24 @@ date: 2025-05-16 --- Hello again! Here's [Neko](https://github.com/nekomeowww), the girl who started diff --git a/docs/content/en/blog/DevLog-2025.06.08/assets/screen.avif b/docs/content/en/blog/DevLog-2025.06.08/assets/screen.avif new file mode 100644 index 000000000..a5ccb2566 Binary files /dev/null and b/docs/content/en/blog/DevLog-2025.06.08/assets/screen.avif differ diff --git a/docs/content/en/blog/DevLog-2025.06.08/assets/screen.png b/docs/content/en/blog/DevLog-2025.06.08/assets/screen.png deleted file mode 100644 index 6e405575a..000000000 Binary files a/docs/content/en/blog/DevLog-2025.06.08/assets/screen.png and /dev/null differ diff --git a/docs/content/en/blog/DevLog-2025.06.08/index.md b/docs/content/en/blog/DevLog-2025.06.08/index.md index 49c522eab..bfaf9a9e1 100644 --- a/docs/content/en/blog/DevLog-2025.06.08/index.md +++ b/docs/content/en/blog/DevLog-2025.06.08/index.md @@ -34,7 +34,7 @@ For example, we have a screen like this: 假设这是我们的屏幕: -![](./assets/screen.png) +![](./assets/screen.avif) The blue box is the screen, the pink box is the AIRI window, the purple arrow is the cursor, we define: diff --git a/docs/content/en/blog/DevLog-2025.07.18/assets/structure-after.avif b/docs/content/en/blog/DevLog-2025.07.18/assets/structure-after.avif new file mode 100644 index 000000000..ebfe724d9 Binary files /dev/null and b/docs/content/en/blog/DevLog-2025.07.18/assets/structure-after.avif differ diff --git a/docs/content/en/blog/DevLog-2025.07.18/assets/structure-after.png b/docs/content/en/blog/DevLog-2025.07.18/assets/structure-after.png deleted file mode 100644 index 75894d5ba..000000000 Binary files a/docs/content/en/blog/DevLog-2025.07.18/assets/structure-after.png and /dev/null differ diff --git a/docs/content/en/blog/DevLog-2025.07.18/assets/structure-before.avif b/docs/content/en/blog/DevLog-2025.07.18/assets/structure-before.avif new file mode 100644 index 000000000..f61038563 Binary files /dev/null and b/docs/content/en/blog/DevLog-2025.07.18/assets/structure-before.avif differ diff --git a/docs/content/en/blog/DevLog-2025.07.18/assets/structure-before.png b/docs/content/en/blog/DevLog-2025.07.18/assets/structure-before.png deleted file mode 100644 index 8fb47da20..000000000 Binary files a/docs/content/en/blog/DevLog-2025.07.18/assets/structure-before.png and /dev/null differ diff --git a/docs/content/en/blog/DevLog-2025.07.18/index.md b/docs/content/en/blog/DevLog-2025.07.18/index.md index 1fb8e0c39..999e9f67a 100644 --- a/docs/content/en/blog/DevLog-2025.07.18/index.md +++ b/docs/content/en/blog/DevLog-2025.07.18/index.md @@ -59,9 +59,9 @@ With that, the structure diagram has changed:
-![Before](./assets/structure-before.png) +![Before](./assets/structure-before.avif) -![After](./assets/structure-after.png) +![After](./assets/structure-after.avif)
diff --git a/docs/content/en/blog/DreamLog-0x1/assets/airis-screenshot-1.avif b/docs/content/en/blog/DreamLog-0x1/assets/airis-screenshot-1.avif new file mode 100644 index 000000000..93919a3f3 Binary files /dev/null and b/docs/content/en/blog/DreamLog-0x1/assets/airis-screenshot-1.avif differ diff --git a/docs/content/en/blog/DreamLog-0x1/assets/airis-screenshot-1.png b/docs/content/en/blog/DreamLog-0x1/assets/airis-screenshot-1.png deleted file mode 100644 index d8696aca3..000000000 Binary files a/docs/content/en/blog/DreamLog-0x1/assets/airis-screenshot-1.png and /dev/null differ diff --git a/docs/content/en/blog/DreamLog-0x1/assets/banner-dark-1280x640.avif b/docs/content/en/blog/DreamLog-0x1/assets/banner-dark-1280x640.avif new file mode 100644 index 000000000..3348d9a72 Binary files /dev/null and b/docs/content/en/blog/DreamLog-0x1/assets/banner-dark-1280x640.avif differ diff --git a/docs/content/en/blog/DreamLog-0x1/assets/banner-dark-1280x640.png b/docs/content/en/blog/DreamLog-0x1/assets/banner-dark-1280x640.png deleted file mode 100644 index 0a99d8d92..000000000 Binary files a/docs/content/en/blog/DreamLog-0x1/assets/banner-dark-1280x640.png and /dev/null differ diff --git a/docs/content/en/blog/DreamLog-0x1/assets/banner-light-1280x640.avif b/docs/content/en/blog/DreamLog-0x1/assets/banner-light-1280x640.avif new file mode 100644 index 000000000..908a5cf46 Binary files /dev/null and b/docs/content/en/blog/DreamLog-0x1/assets/banner-light-1280x640.avif differ diff --git a/docs/content/en/blog/DreamLog-0x1/assets/banner-light-1280x640.png b/docs/content/en/blog/DreamLog-0x1/assets/banner-light-1280x640.png deleted file mode 100644 index 1ccd39d77..000000000 Binary files a/docs/content/en/blog/DreamLog-0x1/assets/banner-light-1280x640.png and /dev/null differ diff --git a/docs/content/en/blog/DreamLog-0x1/assets/building-a-virtual-machine-inside-image-1.avif b/docs/content/en/blog/DreamLog-0x1/assets/building-a-virtual-machine-inside-image-1.avif new file mode 100644 index 000000000..957671ecd Binary files /dev/null and b/docs/content/en/blog/DreamLog-0x1/assets/building-a-virtual-machine-inside-image-1.avif differ diff --git a/docs/content/en/blog/DreamLog-0x1/assets/building-a-virtual-machine-inside-image-1.png b/docs/content/en/blog/DreamLog-0x1/assets/building-a-virtual-machine-inside-image-1.png deleted file mode 100644 index 205d9675c..000000000 Binary files a/docs/content/en/blog/DreamLog-0x1/assets/building-a-virtual-machine-inside-image-1.png and /dev/null differ diff --git a/docs/content/en/blog/DreamLog-0x1/assets/emosys-logo.avif b/docs/content/en/blog/DreamLog-0x1/assets/emosys-logo.avif new file mode 100644 index 000000000..d37306dec Binary files /dev/null and b/docs/content/en/blog/DreamLog-0x1/assets/emosys-logo.avif differ diff --git a/docs/content/en/blog/DreamLog-0x1/assets/emosys-logo.png b/docs/content/en/blog/DreamLog-0x1/assets/emosys-logo.png deleted file mode 100644 index 27ef7e610..000000000 Binary files a/docs/content/en/blog/DreamLog-0x1/assets/emosys-logo.png and /dev/null differ diff --git a/docs/content/en/blog/DreamLog-0x1/assets/live2d-inc-hiyori.avif b/docs/content/en/blog/DreamLog-0x1/assets/live2d-inc-hiyori.avif new file mode 100644 index 000000000..83dce2f83 Binary files /dev/null and b/docs/content/en/blog/DreamLog-0x1/assets/live2d-inc-hiyori.avif differ diff --git a/docs/content/en/blog/DreamLog-0x1/assets/live2d-inc-hiyori.jpg b/docs/content/en/blog/DreamLog-0x1/assets/live2d-inc-hiyori.jpg deleted file mode 100644 index 648dccfc6..000000000 Binary files a/docs/content/en/blog/DreamLog-0x1/assets/live2d-inc-hiyori.jpg and /dev/null differ diff --git a/docs/content/en/blog/DreamLog-0x1/assets/relu-sticker-wow.avif b/docs/content/en/blog/DreamLog-0x1/assets/relu-sticker-wow.avif new file mode 100644 index 000000000..60e37570b Binary files /dev/null and b/docs/content/en/blog/DreamLog-0x1/assets/relu-sticker-wow.avif differ diff --git a/docs/content/en/blog/DreamLog-0x1/assets/relu-sticker-wow.png b/docs/content/en/blog/DreamLog-0x1/assets/relu-sticker-wow.png deleted file mode 100644 index af97eaedb..000000000 Binary files a/docs/content/en/blog/DreamLog-0x1/assets/relu-sticker-wow.png and /dev/null differ diff --git a/docs/content/en/blog/DreamLog-0x1/assets/steins-gate-sticker-1.avif b/docs/content/en/blog/DreamLog-0x1/assets/steins-gate-sticker-1.avif new file mode 100644 index 000000000..f8f1967d6 Binary files /dev/null and b/docs/content/en/blog/DreamLog-0x1/assets/steins-gate-sticker-1.avif differ diff --git a/docs/content/en/blog/DreamLog-0x1/assets/steins-gate-sticker-1.png b/docs/content/en/blog/DreamLog-0x1/assets/steins-gate-sticker-1.png deleted file mode 100644 index d7aaa0efd..000000000 Binary files a/docs/content/en/blog/DreamLog-0x1/assets/steins-gate-sticker-1.png and /dev/null differ diff --git a/docs/content/en/blog/DreamLog-0x1/assets/world.execute(me); (Mili)/DAZBEE COVER.avif b/docs/content/en/blog/DreamLog-0x1/assets/world.execute(me); (Mili)/DAZBEE COVER.avif new file mode 100644 index 000000000..2ad12c893 Binary files /dev/null and b/docs/content/en/blog/DreamLog-0x1/assets/world.execute(me); (Mili)/DAZBEE COVER.avif differ diff --git a/docs/content/en/blog/DreamLog-0x1/assets/world.execute(me); (Mili)/DAZBEE COVER.jpg b/docs/content/en/blog/DreamLog-0x1/assets/world.execute(me); (Mili)/DAZBEE COVER.jpg deleted file mode 100644 index 871114ad6..000000000 Binary files a/docs/content/en/blog/DreamLog-0x1/assets/world.execute(me); (Mili)/DAZBEE COVER.jpg and /dev/null differ diff --git a/docs/content/en/blog/DreamLog-0x1/index.md b/docs/content/en/blog/DreamLog-0x1/index.md index 1973473d5..22955c121 100644 --- a/docs/content/en/blog/DreamLog-0x1/index.md +++ b/docs/content/en/blog/DreamLog-0x1/index.md @@ -7,16 +7,16 @@ excerpt: 'The backstory of Project AIRI! Why this project?' --- The backstory of Project AIRI! diff --git a/docs/content/en/docs/chronicles/version-v0.0.1/index.md b/docs/content/en/docs/chronicles/version-v0.0.1/index.md index 53aefbd45..0545ee0ec 100644 --- a/docs/content/en/docs/chronicles/version-v0.0.1/index.md +++ b/docs/content/en/docs/chronicles/version-v0.0.1/index.md @@ -9,7 +9,7 @@ title: Chronicle v0.0.1 - [x] Model download - [x] Momose Hiyori (Neuro first version model) Pro version (free for commercial use by small and medium enterprises) -![](../../../../zh-Hans/docs/chronicles/version-v0.0.1/assets/screenshot-1.png) +![](../../../../zh-Hans/docs/chronicles/version-v0.0.1/assets/screenshot-1.avif) - [x] Integrate GPT-4o through Vercel AI SDK (June 7, 2024) - [x] `@ai-sdk/openai` @@ -63,7 +63,7 @@ Now can: - ✅ Live2D lip sync (thanks to itorr's GitHub explanation) - ✅ Basic Prompt -![](../../../../zh-Hans/docs/chronicles/version-v0.0.1/assets/screenshot-2.png) +![](../../../../zh-Hans/docs/chronicles/version-v0.0.1/assets/screenshot-2.avif) ## Multimodal @@ -470,7 +470,7 @@ And the last, do what ever you want! #### Expression Prompt -![](../../../../zh-Hans/docs/chronicles/version-v0.0.1/assets/screenshot-3.png) +![](../../../../zh-Hans/docs/chronicles/version-v0.0.1/assets/screenshot-3.avif) #### Continuous Inference Prompt diff --git a/docs/content/public/banner-dark-1280x640.avif b/docs/content/public/banner-dark-1280x640.avif new file mode 100644 index 000000000..3348d9a72 Binary files /dev/null and b/docs/content/public/banner-dark-1280x640.avif differ diff --git a/docs/content/public/banner-dark-1280x640.png b/docs/content/public/banner-dark-1280x640.png deleted file mode 100644 index 0a99d8d92..000000000 Binary files a/docs/content/public/banner-dark-1280x640.png and /dev/null differ diff --git a/docs/content/public/banner-dark-rect-1280x640.avif b/docs/content/public/banner-dark-rect-1280x640.avif new file mode 100644 index 000000000..fd1454ae2 Binary files /dev/null and b/docs/content/public/banner-dark-rect-1280x640.avif differ diff --git a/docs/content/public/banner-dark-rect-1280x640.png b/docs/content/public/banner-dark-rect-1280x640.png deleted file mode 100644 index 401f52658..000000000 Binary files a/docs/content/public/banner-dark-rect-1280x640.png and /dev/null differ diff --git a/docs/content/public/banner-dark-rect.avif b/docs/content/public/banner-dark-rect.avif new file mode 100644 index 000000000..70dc5c180 Binary files /dev/null and b/docs/content/public/banner-dark-rect.avif differ diff --git a/docs/content/public/banner-dark-rect.png b/docs/content/public/banner-dark-rect.png deleted file mode 100644 index 7df687720..000000000 Binary files a/docs/content/public/banner-dark-rect.png and /dev/null differ diff --git a/docs/content/public/banner-dark.avif b/docs/content/public/banner-dark.avif new file mode 100644 index 000000000..b28305ce5 Binary files /dev/null and b/docs/content/public/banner-dark.avif differ diff --git a/docs/content/public/banner-dark.png b/docs/content/public/banner-dark.png deleted file mode 100644 index ed7dffe85..000000000 Binary files a/docs/content/public/banner-dark.png and /dev/null differ diff --git a/docs/content/public/banner-light-1280x640.avif b/docs/content/public/banner-light-1280x640.avif new file mode 100644 index 000000000..908a5cf46 Binary files /dev/null and b/docs/content/public/banner-light-1280x640.avif differ diff --git a/docs/content/public/banner-light-1280x640.png b/docs/content/public/banner-light-1280x640.png deleted file mode 100644 index 1ccd39d77..000000000 Binary files a/docs/content/public/banner-light-1280x640.png and /dev/null differ diff --git a/docs/content/public/banner-light-rect-1280x640.avif b/docs/content/public/banner-light-rect-1280x640.avif new file mode 100644 index 000000000..6b12a073f Binary files /dev/null and b/docs/content/public/banner-light-rect-1280x640.avif differ diff --git a/docs/content/public/banner-light-rect-1280x640.png b/docs/content/public/banner-light-rect-1280x640.png deleted file mode 100644 index 6938836c0..000000000 Binary files a/docs/content/public/banner-light-rect-1280x640.png and /dev/null differ diff --git a/docs/content/public/banner-light-rect.avif b/docs/content/public/banner-light-rect.avif new file mode 100644 index 000000000..fe7d21df0 Binary files /dev/null and b/docs/content/public/banner-light-rect.avif differ diff --git a/docs/content/public/banner-light-rect.png b/docs/content/public/banner-light-rect.png deleted file mode 100644 index 8c689548e..000000000 Binary files a/docs/content/public/banner-light-rect.png and /dev/null differ diff --git a/docs/content/public/banner-light.avif b/docs/content/public/banner-light.avif new file mode 100644 index 000000000..47833db47 Binary files /dev/null and b/docs/content/public/banner-light.avif differ diff --git a/docs/content/public/banner-light.png b/docs/content/public/banner-light.png deleted file mode 100644 index 1cf8224b5..000000000 Binary files a/docs/content/public/banner-light.png and /dev/null differ diff --git a/docs/content/public/logo-dark.avif b/docs/content/public/logo-dark.avif new file mode 100644 index 000000000..76c3fb7dc Binary files /dev/null and b/docs/content/public/logo-dark.avif differ diff --git a/docs/content/public/logo-dark.png b/docs/content/public/logo-dark.png deleted file mode 100644 index f275a8a7b..000000000 Binary files a/docs/content/public/logo-dark.png and /dev/null differ diff --git a/docs/content/public/logo-light.avif b/docs/content/public/logo-light.avif new file mode 100644 index 000000000..0922ad062 Binary files /dev/null and b/docs/content/public/logo-light.avif differ diff --git a/docs/content/public/logo-light.png b/docs/content/public/logo-light.png deleted file mode 100644 index e0eca85d7..000000000 Binary files a/docs/content/public/logo-light.png and /dev/null differ diff --git a/docs/content/public/maskable_icon_x192.avif b/docs/content/public/maskable_icon_x192.avif new file mode 100644 index 000000000..401228f2e Binary files /dev/null and b/docs/content/public/maskable_icon_x192.avif differ diff --git a/docs/content/public/maskable_icon_x192.png b/docs/content/public/maskable_icon_x192.png deleted file mode 100644 index 106e21b24..000000000 Binary files a/docs/content/public/maskable_icon_x192.png and /dev/null differ diff --git a/docs/content/public/maskable_icon_x512.avif b/docs/content/public/maskable_icon_x512.avif new file mode 100644 index 000000000..fe7d21715 Binary files /dev/null and b/docs/content/public/maskable_icon_x512.avif differ diff --git a/docs/content/public/maskable_icon_x512.png b/docs/content/public/maskable_icon_x512.png deleted file mode 100644 index 97da486e5..000000000 Binary files a/docs/content/public/maskable_icon_x512.png and /dev/null differ diff --git a/docs/content/public/new-bg.avif b/docs/content/public/new-bg.avif new file mode 100644 index 000000000..615d82815 Binary files /dev/null and b/docs/content/public/new-bg.avif differ diff --git a/docs/content/public/new-bg.png b/docs/content/public/new-bg.png deleted file mode 100644 index f3ae62030..000000000 Binary files a/docs/content/public/new-bg.png and /dev/null differ diff --git a/docs/content/public/readme-image-pc-preview.avif b/docs/content/public/readme-image-pc-preview.avif new file mode 100644 index 000000000..053203bff Binary files /dev/null and b/docs/content/public/readme-image-pc-preview.avif differ diff --git a/docs/content/public/readme-image-pc-preview.png b/docs/content/public/readme-image-pc-preview.png deleted file mode 100644 index 7d3e4549d..000000000 Binary files a/docs/content/public/readme-image-pc-preview.png and /dev/null differ diff --git a/docs/content/public/web-app-manifest-192x192.avif b/docs/content/public/web-app-manifest-192x192.avif new file mode 100644 index 000000000..7023c59dd Binary files /dev/null and b/docs/content/public/web-app-manifest-192x192.avif differ diff --git a/docs/content/public/web-app-manifest-192x192.png b/docs/content/public/web-app-manifest-192x192.png deleted file mode 100644 index c046e5331..000000000 Binary files a/docs/content/public/web-app-manifest-192x192.png and /dev/null differ diff --git a/docs/content/public/web-app-manifest-512x512.avif b/docs/content/public/web-app-manifest-512x512.avif new file mode 100644 index 000000000..ea22be598 Binary files /dev/null and b/docs/content/public/web-app-manifest-512x512.avif differ diff --git a/docs/content/public/web-app-manifest-512x512.png b/docs/content/public/web-app-manifest-512x512.png deleted file mode 100644 index e92eb2fd7..000000000 Binary files a/docs/content/public/web-app-manifest-512x512.png and /dev/null differ diff --git a/docs/content/zh-Hans/blog/DevLog-2025.07.18/assets/structure-after.avif b/docs/content/zh-Hans/blog/DevLog-2025.07.18/assets/structure-after.avif new file mode 100644 index 000000000..ebfe724d9 Binary files /dev/null and b/docs/content/zh-Hans/blog/DevLog-2025.07.18/assets/structure-after.avif differ diff --git a/docs/content/zh-Hans/blog/DevLog-2025.07.18/assets/structure-after.png b/docs/content/zh-Hans/blog/DevLog-2025.07.18/assets/structure-after.png deleted file mode 100644 index 75894d5ba..000000000 Binary files a/docs/content/zh-Hans/blog/DevLog-2025.07.18/assets/structure-after.png and /dev/null differ diff --git a/docs/content/zh-Hans/blog/DevLog-2025.07.18/assets/structure-before.avif b/docs/content/zh-Hans/blog/DevLog-2025.07.18/assets/structure-before.avif new file mode 100644 index 000000000..f61038563 Binary files /dev/null and b/docs/content/zh-Hans/blog/DevLog-2025.07.18/assets/structure-before.avif differ diff --git a/docs/content/zh-Hans/blog/DevLog-2025.07.18/assets/structure-before.png b/docs/content/zh-Hans/blog/DevLog-2025.07.18/assets/structure-before.png deleted file mode 100644 index 8fb47da20..000000000 Binary files a/docs/content/zh-Hans/blog/DevLog-2025.07.18/assets/structure-before.png and /dev/null differ diff --git a/docs/content/zh-Hans/blog/DevLog-2025.07.18/index.md b/docs/content/zh-Hans/blog/DevLog-2025.07.18/index.md index 6b7c47952..b1a84b626 100644 --- a/docs/content/zh-Hans/blog/DevLog-2025.07.18/index.md +++ b/docs/content/zh-Hans/blog/DevLog-2025.07.18/index.md @@ -59,9 +59,9 @@ FLE 分为两种模式:
-![之前](./assets/structure-before.png) +![之前](./assets/structure-before.avif) -![之后](./assets/structure-after.png) +![之后](./assets/structure-after.avif)
diff --git a/docs/content/zh-Hans/blog/DreamLog-0x1/index.md b/docs/content/zh-Hans/blog/DreamLog-0x1/index.md index 6770f8a67..5a893f36b 100644 --- a/docs/content/zh-Hans/blog/DreamLog-0x1/index.md +++ b/docs/content/zh-Hans/blog/DreamLog-0x1/index.md @@ -5,16 +5,16 @@ date: '2025-06-16' --- Project AIRI 的幕后故事! diff --git a/docs/content/zh-Hans/docs/chronicles/version-v0.0.1/assets/screenshot-1.avif b/docs/content/zh-Hans/docs/chronicles/version-v0.0.1/assets/screenshot-1.avif new file mode 100644 index 000000000..3d9dab69d Binary files /dev/null and b/docs/content/zh-Hans/docs/chronicles/version-v0.0.1/assets/screenshot-1.avif differ diff --git a/docs/content/zh-Hans/docs/chronicles/version-v0.0.1/assets/screenshot-1.png b/docs/content/zh-Hans/docs/chronicles/version-v0.0.1/assets/screenshot-1.png deleted file mode 100644 index 52955e68e..000000000 Binary files a/docs/content/zh-Hans/docs/chronicles/version-v0.0.1/assets/screenshot-1.png and /dev/null differ diff --git a/docs/content/zh-Hans/docs/chronicles/version-v0.0.1/assets/screenshot-2.avif b/docs/content/zh-Hans/docs/chronicles/version-v0.0.1/assets/screenshot-2.avif new file mode 100644 index 000000000..1a796ccc5 Binary files /dev/null and b/docs/content/zh-Hans/docs/chronicles/version-v0.0.1/assets/screenshot-2.avif differ diff --git a/docs/content/zh-Hans/docs/chronicles/version-v0.0.1/assets/screenshot-2.png b/docs/content/zh-Hans/docs/chronicles/version-v0.0.1/assets/screenshot-2.png deleted file mode 100644 index 9f2f988d8..000000000 Binary files a/docs/content/zh-Hans/docs/chronicles/version-v0.0.1/assets/screenshot-2.png and /dev/null differ diff --git a/docs/content/zh-Hans/docs/chronicles/version-v0.0.1/assets/screenshot-3.avif b/docs/content/zh-Hans/docs/chronicles/version-v0.0.1/assets/screenshot-3.avif new file mode 100644 index 000000000..77c8c207c Binary files /dev/null and b/docs/content/zh-Hans/docs/chronicles/version-v0.0.1/assets/screenshot-3.avif differ diff --git a/docs/content/zh-Hans/docs/chronicles/version-v0.0.1/assets/screenshot-3.png b/docs/content/zh-Hans/docs/chronicles/version-v0.0.1/assets/screenshot-3.png deleted file mode 100644 index a578a8b23..000000000 Binary files a/docs/content/zh-Hans/docs/chronicles/version-v0.0.1/assets/screenshot-3.png and /dev/null differ diff --git a/docs/content/zh-Hans/docs/chronicles/version-v0.0.1/index.md b/docs/content/zh-Hans/docs/chronicles/version-v0.0.1/index.md index 910d24a45..7e0b4cbe6 100644 --- a/docs/content/zh-Hans/docs/chronicles/version-v0.0.1/index.md +++ b/docs/content/zh-Hans/docs/chronicles/version-v0.0.1/index.md @@ -9,7 +9,7 @@ title: 编年史 v0.0.1 - [x] 模型下载 - [x] 桃濑日和(Neuro 第一版本的模型)Pro 版本(中小企业可免费商用) -![](./assets/screenshot-1.png) +![](./assets/screenshot-1.avif) - [x] 通过 Vercel AI SDK 接入 GPT-4o(2024 年 6 月 7 日) - [x] `@ai-sdk/openai` @@ -63,7 +63,7 @@ title: 编年史 v0.0.1 - ✅ Live2D 嘴唇同步(感谢 itorr 的 GitHub 讲解) - ✅ 基本 Prompt -![](./assets/screenshot-2.png) +![](./assets/screenshot-2.avif) ## 多模态 @@ -473,7 +473,7 @@ And the last, do what ever you want! #### 表情 Prompt -![](./assets/screenshot-3.png) +![](./assets/screenshot-3.avif) #### 持续推理 Prompt diff --git a/docs/package.json b/docs/package.json index dd0751120..9f9b15a6d 100644 --- a/docs/package.json +++ b/docs/package.json @@ -8,6 +8,7 @@ "dev": "vitepress dev", "preview": "vitepress preview", "typecheck": "vue-tsc --noEmit", + "to-avif": "tsx scripts/avif.ts", "contributors": "tsx scripts/update-contributors.ts" }, "dependencies": { @@ -44,6 +45,7 @@ "markdown-it-anchor": "^9.2.0", "minisearch": "^7.1.2", "postcss": "^8.5.6", + "sharp": "^0.34.2", "shiki": "^3.7.0", "tsx": "^4.20.3", "uncrypto": "^0.1.3", diff --git a/docs/scripts/avif.ts b/docs/scripts/avif.ts new file mode 100644 index 000000000..8c74b2e45 --- /dev/null +++ b/docs/scripts/avif.ts @@ -0,0 +1,42 @@ +import path from 'node:path' +import process from 'node:process' + +import { readdir, readFile, rm, stat } from 'node:fs/promises' + +import sharp from 'sharp' + +const SOURCE_EXTENSIONS = ['.png', '.jpg', '.jpeg', '.webp'] + +async function transform(filePath: string): Promise { + if ((await stat(filePath)).isDirectory()) { + return await Promise.allSettled( + (await readdir(filePath)).map(file => transform(path.join(filePath, file))), + ) + } + + const ext = path.extname(filePath).toLowerCase() + if (!SOURCE_EXTENSIONS.includes(ext)) + return + const dist = path.join( + path.dirname(filePath), + `${path.basename(filePath, path.extname(filePath))}.avif`, + ) + await sharp(await readFile(filePath)).toFile(dist) + await rm(filePath) + console.info(`√ ${filePath} -> ${dist}`) +} + +async function main() { + const files = process.argv.slice(2).map(f => path.resolve(process.cwd(), f)) + if (files.length === 0) { + console.error('No files provided.') + process.exit(1) + } + + await Promise.all(files.map(f => stat(f))) + await Promise.allSettled( + files.map(file => transform(file)), + ) +} + +main() diff --git a/packages/stage-ui/public/apple-touch-icon.avif b/packages/stage-ui/public/apple-touch-icon.avif new file mode 100644 index 000000000..9f10b88cc Binary files /dev/null and b/packages/stage-ui/public/apple-touch-icon.avif differ diff --git a/packages/stage-ui/public/apple-touch-icon.png b/packages/stage-ui/public/apple-touch-icon.png deleted file mode 100644 index e3bfed969..000000000 Binary files a/packages/stage-ui/public/apple-touch-icon.png and /dev/null differ diff --git a/packages/stage-ui/public/maskable_icon_x192.avif b/packages/stage-ui/public/maskable_icon_x192.avif new file mode 100644 index 000000000..401228f2e Binary files /dev/null and b/packages/stage-ui/public/maskable_icon_x192.avif differ diff --git a/packages/stage-ui/public/maskable_icon_x192.png b/packages/stage-ui/public/maskable_icon_x192.png deleted file mode 100644 index 106e21b24..000000000 Binary files a/packages/stage-ui/public/maskable_icon_x192.png and /dev/null differ diff --git a/packages/stage-ui/public/maskable_icon_x512.avif b/packages/stage-ui/public/maskable_icon_x512.avif new file mode 100644 index 000000000..fe7d21715 Binary files /dev/null and b/packages/stage-ui/public/maskable_icon_x512.avif differ diff --git a/packages/stage-ui/public/maskable_icon_x512.png b/packages/stage-ui/public/maskable_icon_x512.png deleted file mode 100644 index 97da486e5..000000000 Binary files a/packages/stage-ui/public/maskable_icon_x512.png and /dev/null differ diff --git a/packages/stage-ui/public/web-app-manifest-192x192.avif b/packages/stage-ui/public/web-app-manifest-192x192.avif new file mode 100644 index 000000000..7023c59dd Binary files /dev/null and b/packages/stage-ui/public/web-app-manifest-192x192.avif differ diff --git a/packages/stage-ui/public/web-app-manifest-192x192.png b/packages/stage-ui/public/web-app-manifest-192x192.png deleted file mode 100644 index c046e5331..000000000 Binary files a/packages/stage-ui/public/web-app-manifest-192x192.png and /dev/null differ diff --git a/packages/stage-ui/public/web-app-manifest-512x512.avif b/packages/stage-ui/public/web-app-manifest-512x512.avif new file mode 100644 index 000000000..ea22be598 Binary files /dev/null and b/packages/stage-ui/public/web-app-manifest-512x512.avif differ diff --git a/packages/stage-ui/public/web-app-manifest-512x512.png b/packages/stage-ui/public/web-app-manifest-512x512.png deleted file mode 100644 index e92eb2fd7..000000000 Binary files a/packages/stage-ui/public/web-app-manifest-512x512.png and /dev/null differ diff --git a/packages/stage-ui/src/assets/onboarding.avif b/packages/stage-ui/src/assets/onboarding.avif new file mode 100644 index 000000000..407e298ee Binary files /dev/null and b/packages/stage-ui/src/assets/onboarding.avif differ diff --git a/packages/stage-ui/src/assets/onboarding.png b/packages/stage-ui/src/assets/onboarding.png deleted file mode 100644 index 11d7be360..000000000 Binary files a/packages/stage-ui/src/assets/onboarding.png and /dev/null differ diff --git a/packages/stage-ui/src/components/Menu/CharacterCard.story.vue b/packages/stage-ui/src/components/Menu/CharacterCard.story.vue index 34a6fbdd3..f6fdc6396 100644 --- a/packages/stage-ui/src/components/Menu/CharacterCard.story.vue +++ b/packages/stage-ui/src/components/Menu/CharacterCard.story.vue @@ -2,7 +2,7 @@ import { ref } from 'vue' import CharacterCard from './CharacterCard.vue' -import characterImage from './relu.png' +import characterImage from './relu.avif' const primaryColor = ref('#f0f9fe') const secondaryColor = ref('#fef1c9') diff --git a/packages/stage-ui/src/components/Menu/relu.avif b/packages/stage-ui/src/components/Menu/relu.avif new file mode 100644 index 000000000..db8e7d0fb Binary files /dev/null and b/packages/stage-ui/src/components/Menu/relu.avif differ diff --git a/packages/stage-ui/src/components/Menu/relu.png b/packages/stage-ui/src/components/Menu/relu.png deleted file mode 100644 index a994ae801..000000000 Binary files a/packages/stage-ui/src/components/Menu/relu.png and /dev/null differ diff --git a/packages/stage-ui/src/components/Widgets/Dialogs/Onboarding/Onboarding.vue b/packages/stage-ui/src/components/Widgets/Dialogs/Onboarding/Onboarding.vue index 9b5068dea..0960113c8 100644 --- a/packages/stage-ui/src/components/Widgets/Dialogs/Onboarding/Onboarding.vue +++ b/packages/stage-ui/src/components/Widgets/Dialogs/Onboarding/Onboarding.vue @@ -6,7 +6,7 @@ import { storeToRefs } from 'pinia' import { computed, nextTick, onMounted, ref, watch } from 'vue' import { useI18n } from 'vue-i18n' -import onboardingLogo from '../../../../assets/onboarding.png' +import onboardingLogo from '../../../../assets/onboarding.avif' import { Callout } from '../../../Layouts' import { RadioCardDetail, RadioCardManySelect } from '../../../Menu' diff --git a/packages/ui-loading-screens/playground/public/apple-touch-icon.avif b/packages/ui-loading-screens/playground/public/apple-touch-icon.avif new file mode 100644 index 000000000..9f10b88cc Binary files /dev/null and b/packages/ui-loading-screens/playground/public/apple-touch-icon.avif differ diff --git a/packages/ui-loading-screens/playground/public/apple-touch-icon.png b/packages/ui-loading-screens/playground/public/apple-touch-icon.png deleted file mode 100644 index e3bfed969..000000000 Binary files a/packages/ui-loading-screens/playground/public/apple-touch-icon.png and /dev/null differ diff --git a/packages/ui-loading-screens/playground/public/maskable_icon_x192.avif b/packages/ui-loading-screens/playground/public/maskable_icon_x192.avif new file mode 100644 index 000000000..401228f2e Binary files /dev/null and b/packages/ui-loading-screens/playground/public/maskable_icon_x192.avif differ diff --git a/packages/ui-loading-screens/playground/public/maskable_icon_x192.png b/packages/ui-loading-screens/playground/public/maskable_icon_x192.png deleted file mode 100644 index 106e21b24..000000000 Binary files a/packages/ui-loading-screens/playground/public/maskable_icon_x192.png and /dev/null differ diff --git a/packages/ui-loading-screens/playground/public/maskable_icon_x512.avif b/packages/ui-loading-screens/playground/public/maskable_icon_x512.avif new file mode 100644 index 000000000..fe7d21715 Binary files /dev/null and b/packages/ui-loading-screens/playground/public/maskable_icon_x512.avif differ diff --git a/packages/ui-loading-screens/playground/public/maskable_icon_x512.png b/packages/ui-loading-screens/playground/public/maskable_icon_x512.png deleted file mode 100644 index 97da486e5..000000000 Binary files a/packages/ui-loading-screens/playground/public/maskable_icon_x512.png and /dev/null differ diff --git a/packages/ui-loading-screens/playground/public/web-app-manifest-192x192.avif b/packages/ui-loading-screens/playground/public/web-app-manifest-192x192.avif new file mode 100644 index 000000000..7023c59dd Binary files /dev/null and b/packages/ui-loading-screens/playground/public/web-app-manifest-192x192.avif differ diff --git a/packages/ui-loading-screens/playground/public/web-app-manifest-192x192.png b/packages/ui-loading-screens/playground/public/web-app-manifest-192x192.png deleted file mode 100644 index c046e5331..000000000 Binary files a/packages/ui-loading-screens/playground/public/web-app-manifest-192x192.png and /dev/null differ diff --git a/packages/ui-loading-screens/playground/public/web-app-manifest-512x512.avif b/packages/ui-loading-screens/playground/public/web-app-manifest-512x512.avif new file mode 100644 index 000000000..ea22be598 Binary files /dev/null and b/packages/ui-loading-screens/playground/public/web-app-manifest-512x512.avif differ diff --git a/packages/ui-loading-screens/playground/public/web-app-manifest-512x512.png b/packages/ui-loading-screens/playground/public/web-app-manifest-512x512.png deleted file mode 100644 index e92eb2fd7..000000000 Binary files a/packages/ui-loading-screens/playground/public/web-app-manifest-512x512.png and /dev/null differ diff --git a/packages/ui-loading-screens/src/components/LoadingSciFiCircle/CRT.vue b/packages/ui-loading-screens/src/components/LoadingSciFiCircle/CRT.vue index fce514ff7..912e1fa0e 100644 --- a/packages/ui-loading-screens/src/components/LoadingSciFiCircle/CRT.vue +++ b/packages/ui-loading-screens/src/components/LoadingSciFiCircle/CRT.vue @@ -1,7 +1,7 @@