Nyanga

From the source code

This runs Nyanga straight from its code. You get the very newest version, but it doesn't update itself: you pull new code when you want it. It should work on a Mac too, though I haven't tried that.

Setting it up

  1. Get Python and Git

    Nyanga needs Python 3.10 or newer, and Git to download the code. Paste the line for your system:

    Windows (PowerShell)
    winget install Python.Python.3.13 Git.Git
    Ubuntu, Debian, Mint
    sudo apt install python3 python3-venv git
    Fedora
    sudo dnf install python3 git
    Arch, Manjaro
    sudo pacman -S python git
    Mac (with Homebrew)
    brew install python git

    On Windows, close and reopen PowerShell afterwards so it finds them.

  2. Download the code

    This makes a nyanga-app folder wherever your terminal is, and steps into it:

    Terminal
    git clone https://github.com/nyanga-app/nyanga-app.git
    cd nyanga-app
  3. Set it up

    Once only. It makes a private Python folder for Nyanga and installs what it needs (a minute or two):

    Linux and Mac
    python3 -m venv .venv
    .venv/bin/pip install -r requirements.txt
    Windows (PowerShell)
    py -m venv .venv
    .venv\Scripts\pip install -r requirements.txt
  4. Start it

    From the nyanga-app folder, any time you want to use it:

    Linux and Mac
    .venv/bin/python nyanga.py
    Windows (PowerShell)
    .venv\Scripts\python nyanga.py

Getting the newest version

From the nyanga-app folder, pull the new code and catch up on anything new it needs:

Linux and Mac
git pull
.venv/bin/pip install -r requirements.txt
Windows (PowerShell)
git pull
.venv\Scripts\pip install -r requirements.txt

If the window won't open

On Linux, if it says it could not load the Qt platform plugin "xcb", one small library is missing:

Ubuntu, Debian, Mint
sudo apt install libxcb-cursor0
Fedora
sudo dnf install xcb-util-cursor

Running from the code, your settings and library live in the nyanga-app folder itself. Something else not working? Tell me about it.