Code Monkey home page Code Monkey logo

windowpet's Introduction

WindowPet

WindowPet

Pet overlay app built with tauri and react that lets you have adorable companion such as pets, anime characters on your screen. Available on Windows, Macos, and Linux.

release-version downloads stars fork visitors license
window macos linux
Buy Me A Coffee

✨ Features

image

  • Add pets (45+ pets and characters available to choose from)
  • Add your own custom pet
  • Remove pets
  • Pixel perfect drag pets on your screen
  • Click through pets
  • Auto start up
  • Auto update
  • Allow as many pet/character as you want on your screen without any performance issue
  • Pet above taskbar
  • Settings window
    • Language support: English and Khmer
    • Dark mode and light mode (settings window)
    • Allow user to select state to see pet animation

✨ Demo

WindowPet.demo.mp4

✨ Download

  • Download the latest version here
    • Windows: .exe, .msi
    • MacOS: .dmg
    • Linux: .AppImage, .deb

✨ Development

  • Clone the repo
  • Install rust and tauri refer to this link
  • Install dependencies
npm install

✨ Run & Build

  • Run the project
 npm run tauri dev
  • Build the project
 npm run tauri build --release
  • Notice:
    • for build release we use github actions to build the project and upload the build to github release. You can check the build workflow here
    • for local build you have to generate your own signing key and replace the signing key in tauri.conf.json refer to tauri doc

✨ Contribute

  • Feel free to open an issue or pull request if you have any idea or found any bug
  • If you want to support me, you can buy me a coffee

✨ Inspiration

✨ License

MIT License Copyright (c) 2023 Seakmeng

windowpet's People

Contributors

seakmengs avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

windowpet's Issues

[Option] pets not climbing

Hi,

would be awesome that pets not climbing, web exploration is more complicate for mooving on tabs ...

Provide a Flatpak

Title, basically, also a .rpm would be really good since I'm currently using Fedora, although a flatpak is distro agnostic so that would save some time.

Doesn't work correctly on linux

It works fine on windows(baremetal/vm), however I cannot run on linux.
Env: NixOS(Gnome X11/Wayland AppImage-version baremetal)
, PopOS(Cosmic/Gnome Wayland AppImage-version vm)
, Debian(KDE Wayland deb-version vm)

NixOS derivation
{ lib, fetchurl, appimageTools }:

let
  pname = "window-pet";
  version = "0.0.7";
  name = "${pname}-${version}";

  src = fetchurl {
    url = "https://github.com/SeakMengs/WindowPet/releases/download/v${version}/window-pet_${version}_amd64.AppImage";
    hash = "sha256-Sdyb4+3nPmWu8/6Mb9ZP8N6OclVBIdHcTgqlNOl9sww=";
  };
  appimageContents = appimageTools.extract { inherit name src; };
in appimageTools.wrapType2 rec {
  inherit name src;

  extraInstallCommands = ''
    mv $out/bin/{${name},${pname}}

    install -m 444 \
        -D ${appimageContents}/${pname}.desktop \
        -t $out/share/applications
    substituteInPlace \
        $out/share/applications/${pname}.desktop \
        --replace 'Exec=AppRun' 'Exec=${pname}'
    cp -r ${appimageContents}/usr/share/icons $out/share
  '';

  meta = with lib; {
    description = "Pet overlay app built with tauri and react that lets you have adorable companion such as pets, anime characters on your screen.";
    homepage = "https://github.com/SeakMengs/WindowPet";
    license = licenses.mit;
    platforms = [ "x86_64-linux" ];
    maintainers = [ maintainers.ravenz46 ];
    mainProgram = "window-pet";
  };
}
Error on X11
EGLDisplay Initialization failed: EGL_NOT_INITIALIZED
Cannot create EGL context: invalid display (last error: EGL_SUCCESS)
Error on NixOS wayland
libEGL warning: egl: failed to create dri2 screen
[2024-02-03][06:20:10][INFO][window_pet] app started
libEGL warning: egl: failed to create dri2 screen

(WebKitWebProcess:13037): GStreamer-WARNING **: 15:20:12.036: External plugin loader failed. This most likely means that the plugin loader helper binary was not found or could not be run. You might need to set the GST_PLUGIN_SCANNER environment variable if your setup is unusual. This should normally not be required though.
[2024-02-03][06:20:12][INFO][ih@tauri://localhost/assets/index-uWxEQdZc.js:87:50814] Pets scene loaded
[2024-02-03][06:20:12][INFO][ih@tauri://localhost/assets/index-uWxEQdZc.js:87:50814] Pets scene loaded
Error on PopOS and Debian wayland
libEGL warning: egl: failed to create dri2 screen
libEGL warning: egl: failed to create dri2 screen
[2024-02-03][08:38:23][INFO][window_pet] app started
libEGL warning: egl: failed to create dri2 screen
[2024-02-03][08:38:25][INFO][ih@tauri://localhost/assets/index-uWxEQdZc.js:87:50814] Pets scene loaded
[2024-02-03][08:38:25][INFO][ih@tauri://localhost/assets/index-uWxEQdZc.js:87:50814] Pets scene loaded

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.