VirtualWife is an open-source virtual digital human project that combines a live2D-style animated character with large language model conversation. Hosted on GitHub, it has gathered around 2,920 stars and was last actively updated in 2024. The project is built for interactive live streaming, with native support for Bilibili broadcasts, and it can connect to OpenAI models or local Ollama models for its dialogue brain.
The system pairs a React and Node.js web interface with speech and character-animation components so the virtual character can listen, respond, and perform in real time. Streamers can place the character in a live room, let it react to audience comments, and carry on spoken conversations powered by an LLM. Because it supports Ollama, the character can also run fully on local models, keeping streams self-contained and free of per-token API costs.
The project is organized as a full-stack application: a web front end for the character display and chat, a Node.js service coordinating model calls, and Docker files that bring the whole stack up together. Its documentation walks through configuring model providers, character settings, and the Bilibili live connection, so streamers can get a basic setup running before customizing the personality, voice, and appearance. Community forks have extended it with additional model providers and character assets.
VirtualWife is free and open source under the MIT license. Your only costs are hosting and any commercial model API usage; running it on local Ollama models can make it entirely free.
VTubers and live streamers who want an AI-driven virtual companion on stream, and hobbyists experimenting with digital humans, voice interaction, and LLM-powered characters.