Docs / README

kitty-game-composer

Source: docs/pypi/README.md

Kitty, the game composer: a pixel tuxedo cat with lime headphones on a console, over voxel cubes

kitty-game-composer

The command-line core of Kitty, the game composer. You describe a retro game session in one gamecomposer.yml (emulator, game, controls, resources, saves) and the kitty command validates it and runs it in a Linux sandbox through the local Kiri runtime.

Every asset is pinned by URL and SHA-256, and the player listens on 127.0.0.1 only. Kitty does not bundle or link commercial ROMs, BIOS files or firmware; you can load any game file from your own computer, and the registry lists only games whose licence allows redistribution.

Install

Not published on PyPI yet — kitty-game-composer returns 404 today. Until it is published, install from source using the steps in Get Kitty.

pipx install kitty-game-composer

Plain pip install kitty-game-composer inside a virtual environment works too. You need Python 3.10 or newer. To launch games you also need the Kiri CLI running and on PATH as kiri; validating a manifest does not.

There is also a thin npm launcher, @kitty-game-composer/cli, that finds this package and runs it. It is not published on npm yet either, and it does not install Python for you.

Use

kitty config                                   # validate gamecomposer.yml, print normalized JSON
kitty up                                       # check digests, build the guest on Kiri, open the player
kitty --file examples/snes/gamecomposer.yml up # a specific manifest
kitty ps
kitty logs nes
kitty down                                     # remove containers, keep saves
kitty ls --json                                # every Kiri-managed instance

up --new starts a second copy of the same manifest and -i ID addresses it. Exit codes: 0 ok, 1 runtime error, 2 bad input or manifest.

MIT licence. Emulators, games and other third-party assets keep their own licences.

Back to all docs