Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

The kitty-that-follows-your-mouse-pointer but in python. With some extra features.

Notifications You must be signed in to change notification settings

Soulhackzlol/onekoPy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

8 Commits

Repository files navigation

image (7)

 ____ ____ ___ / /______ / __ \__ __
 / __ \/ __ \/ _ \/ //_/ __ \/ /_/ / / / /
/ /_/ / / / / __/ ,< / /_/ / ____/ /_/ / 
\____/_/ /_/\___/_/|_|\____/_/ \__, / 
 /____/ 

onekoPy ๐Ÿฑ

A Python-based virtual desktop cat that follows your cursorโ€”with extra features and modes for more interactivity!

The latest update introduces:
โœ… A draggable feeder in Chill Mode
โœ… An improved eating cycle where the cat sleeps until every 5 minutes when it moves, "eats," and returns to its spot


๐ŸŽฎ Features

๐Ÿƒ Follow Mode

  • The cat follows your mouse cursor across the screen.

๐Ÿ˜ด Wait Mode

  • The cat stays idle (in a sleeping state) but can be repositioned via drag-and-drop.

๐Ÿ’ค Chill Mode

  • The cat remains in a sleeping pose without random movement.
  • Every 5 minutes, an eating cycle is triggered:
    1. The cat moves smoothly to a draggable feeder.
    2. Performs an eating animation for ~5 seconds.
    3. Returns precisely to its original sleeping spot.

๐ŸŽ›๏ธ System Tray Menu

  • Easily switch between modes or exit the application via a tray icon.

๐Ÿ–ฑ๏ธ Draggable Elements

  • In Wait and Chill modes, you can manually reposition the cat (and the feeder in Chill mode).

๐ŸŽญ Idle Animations

  • The cat occasionally performs idle animations in Follow Mode.

๐Ÿ› ๏ธ Enhanced Debug Logging

  • Optional logging helps troubleshoot behavior and verify resource loading.

๐Ÿ–ฅ๏ธ PyInstaller Compatibility

  • Designed to be compiled into a standalone executable for Windows.

๐Ÿ“ฅ Download & Run (No Installation Required)

  1. Go to Releases .
  2. Download the latest version.
  3. Run it! ๐ŸŽ‰

๐Ÿ”ง Installation (For Developers)

๐Ÿ”น Requirements

Ensure you have Python 3 installed along with the following dependencies:

pip install pyautogui PyQt5

๐Ÿš€ Running the Program

To start the cat, simply run:

python main.py

If you want to compile it as an executable (optional):

pip install pyinstaller
pyinstaller --onefile --windowed --add-data "oneko.gif;." --add-data "gatito.ico;." --add-data "feeder.png;." --icon=gatito.ico main.py

This will create an executable in the dist folder.

๐Ÿ•น๏ธ Usage and Controls

Upon running, the cat will appear on your screen and start following your mouse. You can change its behavior via the system tray menu.

  • Right-click on the tray icon to switch modes or exit the program.
  • Left-click and drag the cat when in wait/chill mode.

๐ŸŽจ Customization

Want a different look? Replace these files with your own images:

  • oneko.gif (cat sprite)
  • gatito.ico (icon)
  • feeder.png (feeder) โš ๏ธ Ensure images maintain the correct dimensions (e.g., the sprite sheet should be ร—ใฐใค128 pixels).

๐Ÿ“œ License

This project is open-source and available under the MIT License.


Enjoy your virtual pet! ๐Ÿฑ

About

The kitty-that-follows-your-mouse-pointer but in python. With some extra features.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

AltStyle ใซใ‚ˆใฃใฆๅค‰ๆ›ใ•ใ‚ŒใŸใƒšใƒผใ‚ธ (->ใ‚ชใƒชใ‚ธใƒŠใƒซ) /