Skip to content

Mascoty is a desktop application created to breathe life into your avatar

License

Notifications You must be signed in to change notification settings

2Delight/mascoty-taurine

Repository files navigation

Mascoty Logo

Format

Statuses

OS Build (Pre-Release) Test Release Bash Setup Perl Setup
Windows Windows Windows Windows Unavailable Currently Unavailable
MacOS MacOS MacOS MacOS MacOS MacOS
Linux Linux Linux Linux Linux Linux

Installation

Windows

  1. Download LibTorch

  2. Unzip it somewhere you like. From now on we'll refer to this place as %TORCH_DIR%

  3. Add it to %PATH%. You can use GUI or insert next command into CMD:

setx PATH "%PATH%;%TORCH_DIR%\libtorch\lib"

Add /M flag to set it for all users (requires super user access)

  1. Download Windows release MSI installer (coming soon)

MacOS/Linux (via script)

  1. Run script via Bash or Perl:
  • ./scripts/setup.sh
  • perl scripts/setup.pl
  1. Download release installer (coming soon)

MacOS (manually)

  1. Install homebrew:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
  1. Install LibTorch:
brew install pytorch
  1. Download MacOS release DMG installer (coming soon)

Linux (manually)

  1. Install all dependencies:
sudo apt-get update

# Basic
sudo apt-get install curl \
                     wget \
                     build-essential

# Tauri
sudo apt-get install libwebkit2gtk-4.0-dev \
                     libssl-dev \
                     libgtk-3-dev \
                     libayatana-appindicator3-dev \
                     librsvg2-dev

# Additional
sudo apt-get install libxcb-shape0-dev \
                     libxcb-xfixes0-dev \
                     libxcb1-dev \
                     libxkbcommon-dev \
                     libwebkit2gtk-4.0 \
                     libudev-dev \
                     libsdl2-dev \
                     libasound2-dev
  1. Install LibTorch
wget https://download.pytorch.org/libtorch/cpu/libtorch-cxx11-abi-shared-with-deps-1.13.0%2Bcpu.zip
unzip libtorch-cxx11-abi-shared-with-deps-1.13.0+cpu.zip
  1. Add shared libraries (we'll refer the place where you have unzipped Torch as $TORCH_DIR)
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$TORCH_DIR/libtorch/lib
sudo sh -c "echo $TORCH_DIR/libtorch/lib >> /etc/ld.so.conf"
sudo ldconfig
sudo ldconfig -p
  1. Download Linux release Deb installer (coming soon)

Developers

  • Simon - TechLead of backend and ML. Software architect
  • Oleg - Main backend developer
  • Michael - Main frontend developer