Skip to content

Repository files navigation

Desktop Pet

Preview

A Live2D desktop pet application built with PyQt5 and OpenGL.

Features

  • Interactive Live2D model that follows mouse cursor
  • Customizable size and position
  • Multiple expressions (toggle with right-click menu)
  • Lock/unlock functionality
  • Global hotkey (Ctrl+Space) to hide/show
  • Right-click context menu for controls

Installation

1. Standalone Executable

  • Download the latest demo111.exe
  • Double-click to run, no dependencies required

2. Source Code Version

  1. Clone repository:
git clone https://github.com/SpacervalLam/Deskpet
cd Deskpet
  1. Install dependencies:
pip install -r requirements.txt
  1. Run application:
python demo111.py

Controls

  • Left-click and drag to move
  • Mouse wheel to resize
  • Hold CTRL + Mouse click: Character closes mouth and takes minimum value
  • CTRL+space: Trigger goodbye function (Shows leaving animation then closes the application)

Requirements

  • Python 3.6+
  • PyQt5
  • PyOpenGL
  • keyboard
  • live2d

Model Files

Place your Live2D model files in the model/ directory:

bar

License

Copyright © 2025 SpacervalLam. All rights reserved.

This project is licensed under the MIT License.

About

A desktop pet based on a Qt window created with Live2D.

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages