- Concision - Use static character illustrations
- Intelligent dialogue - AI conversation function based on Ollama
- Speech synthesis - Optional voice reading with Edge-TTS
- Transparent window - Borderless transparent window, beautify the desktop
- Right-click menu - Right-click to show exit menu
- Python 3.9 or a higher version
- Ollama (For AI conversations)
- Windows operating system (restricted by PyQt6)
- Clone the repository.
git clone https://github.com/PDYAM/KiloSnow.git
cd KiloSnow- Install Python dependencies
pip install -r requirements.txt- Start the Ollama service.
ollama serve- Create or download a model.
ollama pull qwen3
# Or use other models, such as llama3:
# ollama pull llama3- Run the program
python src/main.pyOr simply double-click the start.bat file (Windows)
- Right-click: Display the exit menu.
- Input box: Enter messages to chat with AI
- Send button: Send messages
- Voice button: Enable/Disable voice reading
Edit the config.json file to customize settings:
{
"ollama": {
"model": "kiloSnow" //Modify it to the name of the Ollama model you are using.
},
"tts": {
"enabled": true, //Whether to enable voice.
"voice": "zh-CN-XiaoxiaoNeural" //Voice type
}
}
### Replace the character's illustration.
Place your character image in the `assets/` directory and name it `kiloSnow.jpg`, or modify the image path in `index.html`:
```html
<img src="assets/your-image.jpg" alt="Character" class="character">KiloSnow/
├── src/
│ └── main.py # Main program
├── assets/
│ ├── kiloSnow.jpg # Character illustrations
│ └── audio/ # The generated audio file
├── docs/
│ └── DEVELOPMENT.md # Development documentation
├── index.html # Front-end interface
├── config.json # Configuration file
├── requirements.txt # Python dependencies
├── .gitignore # Git ignore files
├── start.bat # Windows startup script
├── README.md # Project description
└── LICENSE # License
- Desktop framework: PyQt6 + QtWebEngine
- Web framework: Flask
- AI model: Qwen3
- Speech synthesis: Edge-TTS (Optional)
- Front-end: HTML + CSS + JavaScript
Welcome to contribute code, report issues or submit suggestions!
- Fork this repository
- Create a feature branch (
git checkout -b feature/AmazingFeature) - Submit changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open Pull Request
- Add more animation effects
- Support voice recognition input
- Add more custom options
-
Using Live2D models makes characters more three-dimensional
-
Change to other sound sources and use GPT-SoVITS or GLM-TTS, etc
-
Adding local memory function for characters
-
Manage your desktop realistically or observe your real desktop!
- Check whether PyQt6 and PyQt6-WebEngine are installed
- Confirm that the Python version is >= 3.9
- Make sure the Ollama service (
ollama serve) is running - Check if the Ollama model has been downloaded
- Check whether the configuration in config.json is correct
- Make sure that edge-tts is installed (
pip install edge-tts). - Check if the voice function is enabled (click the "Voice" button)
This project is open source under the MIT License.
- Project homepage: https://github.com/PDYAM/KiloSnow
- Problem feedback: GitHub Issues
**If you find this project helpful, please give a star**

