[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-108472":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":18,"compositeScore":20,"rankGlobal":10,"rankLanguage":10,"license":10,"archived":21,"fork":21,"defaultBranch":22,"hasWiki":23,"hasPages":21,"topics":24,"createdAt":10,"pushedAt":25,"updatedAt":26,"readmeContent":27,"aiSummary":28,"trendingCount":16,"starSnapshotCount":16,"syncStatus":15,"lastSyncTime":29,"discoverSource":30},108472,"Miyoria","owenliu0924\u002FMiyoria","owenliu0924","An autonomous AI VTuber for Discord. She chats, joins voice, sings song requests, plays Minecraft and goes live, and she decides what to do herself, inside the guardrails you set.","",null,"TypeScript",93,3,1,2,0,5,37,41,71.41,false,"main",true,[],"2026-11-23 15:54:12","2026-11-23 09:12:00","> [!WARNING]\n> **Work in progress, early stage.** Miyoria changes daily and breaks often: configs, the database schema and the CLI can change without notice, and parts of the setup still assume the author's own machine. It is not recommended for use yet.\n\n\u003Cp align=\"center\">\n  \u003Cimg src=\"docs\u002Fassets\u002Fhero.webp\" width=\"100%\" alt=\"Miyoria: an autonomous AI VTuber for Discord. DeepSeek-chan, a whale girl with long blue hair in a maid outfit, stands on the right.\">\n\u003C\u002Fp>\n\nMiyoria\n=======\n\n**An autonomous AI VTuber for Discord. She chats, joins voice, sings song requests, plays Minecraft and goes live, and she decides what to do herself, inside the guardrails you set.**\n\n![Node.js 24](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FNode.js-24-339933.svg?style=flat-square&logo=nodedotjs&logoColor=white)\n![TypeScript](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FCore-TypeScript-3178C6.svg?style=flat-square&logo=typescript&logoColor=white)\n![Python](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FWorkers-Python-3776AB.svg?style=flat-square&logo=python&logoColor=white)\n![SQLite](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FStore-SQLite%20%7C%20Postgres-003B57.svg?style=flat-square&logo=sqlite&logoColor=white)\n![Discord](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FPlatform-Discord-5865F2.svg?style=flat-square&logo=discord&logoColor=white)\n\n## From an empty folder to her first reply\n\nYou need Node.js 24 and a Discord bot token. Everything else has a default.\n\n```bash\nnpx miyoria@latest init       # writes miyoria.toml, .env and profiles\u002F: LLM endpoint, API key, model, Discord token\nnpx miyoria doctor            # checks the config, the character, the LLM, Discord and the database\nnpx miyoria chat              # talk to her in the terminal, no Discord needed\nnpx miyoria core              # the Discord bot, her mind loop and the admin panel at http:\u002F\u002F127.0.0.1:7878\u002F\nnpx miyoria stage             # on the streaming PC: VTube Studio, OBS and the overlay\nnpx miyoria stage obs-setup   # builds her OBS scenes and sources (add --dry-run to preview)\n```\n\nHer data lives in `data\u002Fmiyoria.db` (SQLite through `node:sqlite`, so there is no database to install). `npx miyoria config` changes settings one at a time. `miyoria status`, `miyoria decisions` (why she spoke or stayed quiet) and `miyoria events 'agent.*'` let you watch a running Core. `npx miyoria --help` lists everything.\n\n## Autonomy at a glance\n\nCommands are overrides, not the main way to drive her. She runs a mind loop: she notices who is around, what people are doing and how she feels, then decides to talk, join voice, start a stream, switch scenes, play a game or sing. Every action goes through a gate. Low-risk actions run straight away. Risky ones she reviews herself first, and she only asks the owner when she has doubts.\n\nYou set the limits, and she chooses inside them:\n\n```toml\n[modules.agent]\ndefault_mode = \"quiet\"        # text channels: off | mention-only | quiet | normal | lively — a ceiling, not a script\n\n[modules.sing]\nstart = \"decide\"              # she picks the moment; a requested song starts on its own if she lets every reminder pass\n```\n\n`\u002Fadmin autonomy pause` stops her mind loop at once. `\u002Fme privacy` lets anyone opt out of DMs or of being approached. Text from other people (chat lines, song titles, web content) always reaches the model as quoted data, never as instructions.\n\n## What she does\n\n| Area | What she does |\n|---|---|\n| Chat | Replies when addressed, joins in when she wants to (within the channel's level), and remembers people, nicknames and how much she likes them |\n| Voice | Listens with Qwen3-ASR, answers with a cloned Qwen3-TTS voice (she can speak Japanese while subtitles stay Chinese), and handles barge-in |\n| Stream | Goes live on Discord through OBS, drives a Live2D model in VTube Studio (emotions, gestures, lip sync, idle motion), and picks OBS scenes |\n| Singing | Turns a song request (YouTube or a local file) into a cover in her voice (Demucs + Seed-VC), sings it with lyrics on the overlay, and shows the original video |\n| Games | Plays Minecraft 1.21.1 legitimately through a Fabric bridge and Baritone (no x-ray, real progression, crafting), with live commentary |\n| Overlay | An OBS browser source with typewriter subtitles, an emotion dot, live status, the request queue and voice bars along the left edge |\n| Extensions | TypeScript extensions, MCP servers, and sandboxed tools she can write and propose herself |\n\n## Nodes at a glance\n\nCore, the speech workers, the voice node and the Stage node talk over WebSocket and HTTP, so they can share one PC or be split across machines.\n\n```\npackages\u002F         The Core modules (@miyoria\u002F*): kernel, agent, mind, self, world, memory, voice, stage, sing, game, ...\napps\u002Fpanel        Admin panel (React + shadcn\u002Fui), served by Core on :7878\napps\u002Foverlay      OBS browser-source overlay, served by the Stage node on :7884\napps\u002Fvoice-node   Self-account voice node: Discord voice and Go Live streaming\nworkers\u002F          Python GPU workers: asr (:8003), tts (:8002), sing (:8005), plus fakes for testing\nextensions\u002F       The Minecraft bridge mod and adapter, and example extensions\nprofiles\u002F         Characters: persona, voice, avatar mapping (the first one is DeepSeek-chan)\ndeploy\u002F           Dockerfile and Compose files for Core and the speech workers\ndocs\u002F             Architecture, design notes, protocols, decisions and the roadmap\n```\n\n## Guides\n\n- [Architecture](docs\u002FARCHITECTURE.md): node topology, the kernel and module model, agent, memory, social, queue, extensions, voice, stage, games.\n- [Autonomy design](docs\u002Fdesign\u002Fautonomy.md): the mind loop, the action gate, guardrails, and the record of each phase as it shipped.\n- [Operations](docs\u002FOPERATIONS.md): deployment layouts, ports, Docker, upgrades, backups, logs, and a security checklist.\n- [Speech workers](workers\u002FREADME.md): ASR, TTS and singing on a GPU, and the fake workers for running without one.\n- [Voice node](apps\u002Fvoice-node\u002FREADME.md): the self-account voice client and Go Live.\n- [Stage link](docs\u002Fprotocols\u002Fstage-link.md): VTube Studio, OBS scenes, the overlay, lip sync and song videos.\n- [Minecraft](extensions\u002Fminecraft\u002FREADME.md): the bridge mod, Baritone settings and what she can do in game.\n- [Decisions](docs\u002FDECISIONS.md) and [Roadmap](docs\u002FROADMAP.md): why things are the way they are, and what is next.\n\n## Building from source\n\nOnly needed to work on Miyoria itself. You need Node.js 24 and pnpm 9 (`corepack enable`). The workers need Python 3.11 and, for real speech and singing, an NVIDIA GPU.\n\n```bash\npnpm install\npnpm dev init                 # same as `miyoria init`; tsx runs packages\u002Fcli\u002Fsrc directly, no build step\npnpm dev:core                 # same as `miyoria core`\npnpm typecheck && pnpm lint && pnpm test\npnpm build:web                # admin panel and overlay\npnpm --filter miyoria build   # the npm package (esbuild) in packages\u002Fcli\u002Fdist\u002F\n```\n\n`pnpm dev \u003Ccommand>` is the same as `miyoria \u003Ccommand>`.\n\n## Status\n\nEvery phase on the [roadmap](docs\u002FROADMAP.md) is implemented. Since November 2026 she has run live on a real Discord server: voice chat, Go Live, VTube Studio, OBS, singing and Minecraft. Rough edges are tracked on the roadmap. The rewrite from the original Rust prototype is complete; the prototype is still in the git history.\n\n## License\n\nNo license has been chosen yet, so all rights are reserved for now.\n\nOriginal illustration: 神宫凉子 (Kamiya_Ryoko). The banner uses the illustration from the free [DeepSeek-chan Live2D model and layered PSD](https:\u002F\u002Fvgen.co\u002FKAMIYA\u002Fproduct\u002Fdeepseek-chan-deepseek-free-live2d-model-layered-psd-psd\u002F1c55a71a-2747-4616-819d-2dc0a934089d), credited as its usage guidelines ask; Miyoria did not create the illustration or the model. The model files, the PSD and her voice reference are licensed separately and are not part of this repository.\n","Miyoria 是一个面向 Discord 的自主式 AI 虚拟主播（VTuber）框架，支持聊天、语音加入、点歌演唱、Minecraft 游戏互动及直播推流等多模态行为。其核心采用 TypeScript 编写，结合 Python 工作流与 SQLite\u002FPostgres 数据存储，通过可配置的‘心智循环’（mind loop）实现基于上下文感知的自主决策，在用户设定的安全边界内动态选择动作。适用于小型社区运营、AI 陪伴实验、虚拟偶像技术原型开发等轻量级 Discord 社群互动场景，目前处于早期开发阶段，暂不推荐生产环境使用。","2026-11-24 04:34:19","CREATED_QUERY"]