Docs / README
Python core + CLI
Source: README.md
Kitty is a desktop game composer. You describe a retro game session in one gamecomposer.yml (emulator, game, controls, resources, saves) and Kitty runs it in a Linux sandbox through the local Kiri runtime, then opens it in its own player window.
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. The registry lists only games whose licence allows redistribution.
Get Kitty · Feature tour · Quickstart · SDK · How it works · Consoles · Roadmap · Contributing
🎮 Feature tour
All screenshots are captures of the v0.2.0 desktop app on macOS, light theme with the lime accent.
Studio. Home base. Runtime and registry status, open projects, and a Three.js voxel island that stays still under reduced motion.
Discover. Browse the registry: templates, consoles, games and controllers, each with its licence and size before anything downloads. |
Library. Your consoles, games and controllers. Games can be any file from your disk; Kitty hashes it locally and never uploads it. |
Create. Three stages: pick a console, game and controller, configure, then review the generated manifest before launch. |
Review. The exact gamecomposer.yml that will run, validated by the Python core. Nothing starts until you press Create.
|
Worlds. One card per project. Actions follow each sandbox's live state from Kiri, and destructive ones ask first. |
Settings. Shows the values Kitty actually uses, detected or yours, with Re-detect. Controllers get a live input test. |
Player, overlay on. Pause and reset, save slots, volume, fullscreen, screenshot, speed, keymap, on-screen pad and gamepad status. |
Player, overlay off. Press H. The game fills a window sized to a whole multiple of the console's native resolution. |
Also in v0.2.0: light and dark themes with four accents (0 axe colour-contrast violations across all 16 combinations, see the audit), EN/ES copy, an onboarding tour, and a phone controller you pair by QR code on the same local network.
⬇️ Get Kitty
| Channel | Install / download | Status |
|---|---|---|
| Desktop — macOS arm64 | Kitty-0.2.1-arm64.dmg | available on v0.2.1 |
| Desktop — Linux | releases | builds verified in a Linux VM, not attached to a release yet |
| CLI — Python | pipx install kitty-game-composer (PyPI) |
published 0.2.0 |
| CLI — npm launcher | npx @kitty-game-composer/cli --help (npm) |
published 0.2.0 |
| SDK — TypeScript | @kitty-game-composer/sdk on npm |
published 0.2.0 |
The registry is its own repo for templates, consoles, games and controllers; open an issue or pull request there to contribute, as described in docs/REGISTRY.md. Full detail, including the from-source steps, is in docs/INSTALL.md.
⚡ Quickstart
You need: a Linux host (or macOS as a dev host, with Kiri in its VM), Python 3.10+, and the Kiri CLI running and on PATH as kiri. The desktop app also needs Node.js 18+.
CLI
Install the kitty command from Get Kitty above or from source below. The npm launcher only finds and runs the Python CLI; it does not install Python or the CLI for you. If it cannot find kitty-game-composer, it prints the pipx command and exits. Details in cli-npm/README.md.
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 # the SNES homebrew example
kitty ps && kitty logs nes
kitty down # remove containers, keep saves
gamecompose and game-compose still work as aliases for kitty.
From source (CLI and desktop app)
The desktop builds are listed in Get Kitty; the macOS arm64 build is available on v0.2.0, and until the Linux assets land you can run from source:
git clone https://github.com/EnzoVezzaro/game-composer.git
cd game-composer
# Python core + CLI
python3 -m venv .venv
.venv/bin/python -m pip install -e .
# Desktop app
npm --prefix sdk ci && npm --prefix sdk run build
npm --prefix desktop ci
npm --prefix desktop start
The desktop app finds Python on its own: GAMECOMPOSER_PYTHON, then the repo .venv, then python3 on PATH. After source .venv/bin/activate, the kitty command above is on your PATH.
up --new starts a second copy of the same manifest and -i ID addresses it. ls --json lists every Kiri-managed instance. Exit codes: 0 ok, 1 runtime error, 2 bad input or manifest. Full CLI reference: docs/user-guide.md.
📦 SDK
The TypeScript contract for manifests and lifecycle calls is on npm as @kitty-game-composer/sdk (MIT, Node.js 18+, ES modules).
npm install @kitty-game-composer/sdk
import { parseConfig, createGameComposerClient } from '@kitty-game-composer/sdk';
const source = await (await import('node:fs/promises')).readFile('gamecomposer.yml', 'utf8');
const config = parseConfig(source, { sourceName: 'gamecomposer.yml' });
const client = createGameComposerClient({
async invoke({ operation, projectDirectory, configPath, signal }) {
// Delegate to your CLI, API, or runtime adapter.
return runtime.invoke({ operation, projectDirectory, configPath, signal });
},
});
await client.up({ projectDirectory: process.cwd(), services: ['nes'], instance: '1' });
The SDK is transport-agnostic: you bring the adapter. Details in sdk/README.md.
🧩 How it works
- Manifest. The desktop app, the CLI and the SDK all work from one
gamecomposer.yml(apiVersion: gamecomposer.dev/v0.2). - Validation. The Python core checks it against the JSON Schema, resolves paths inside the project, and downloads each URL source to a content-addressed cache. A digest mismatch stops the launch.
- Kiri. Kitty calls the Kiri CLI with an argument vector (never a shell string, never
docker). Kiri builds and runs the Linux guest; assets mount read-only and only declared save folders are writable. - Player. The guest serves its player on loopback and Kitty opens it in a native window. Nothing is streamed over the internet.
A manifest, trimmed:
apiVersion: gamecomposer.dev/v0.2
services:
nes:
environment:
os: linux
build: ./examples/nes/image
emulator:
source:
url: https://unpkg.com/jsnes@2.1.0/dist/jsnes.min.js
sha256: 84946f0dae4bcf3b2dfebe84ad3bfeb1dbcb413bd9b1a69e1f45910a95fd7b41
game:
title: 8-Bit Table Tennis
platform: nes
source:
url: https://github.com/mike42/8bit-table-tennis/releases/download/v1.0/table_tennis_v1.0.nes
sha256: 05122457672f95fcf2ee518c3f37e506617725c2d031100b1b1c8b7785068ea3
The full file is gamecomposer.yml; the format is specified in docs/GAMECOMPOSER-SPEC.md.
🕹️ Consoles
Consoles, games and controllers come from the public registry, a separate repo with its own releases and CI: game-composer-registry. Kitty reads it from a pinned commit and checks every download against its SHA-256. To add a console, game or controller, open a pull request there. See docs/REGISTRY.md.
Public registry (10 templates, 15 consoles, 38 games, 14 controllers):
| Platform | Emulator (core) | Homebrew games |
|---|---|---|
| NES | JSNES 2.1.0, EmulatorJS fceumm and nestopia | 13 |
| SNES | EmulatorJS snes9x | 2 |
| Game Boy | EmulatorJS gambatte and mGBA | 10 |
| Game Boy Color | EmulatorJS gambatte and mGBA | 3 |
| Game Boy Advance | EmulatorJS mGBA | 6 |
| Atari 2600 | EmulatorJS Stella | 3 |
| Master System | EmulatorJS SMS Plus | 1 |
| Neo Geo Pocket, WonderSwan, Virtual Boy | EmulatorJS Mednafen and Beetle VB | bring your own |
Controllers: a pad per platform, Xbox-style and PlayStation-style gamepads, a phone pad paired by QR, and the keyboard. Browse it from the terminal with kitty registry ls --platform gba.
Built in: N64 through gopher64 1.2.4 (GPL-3.0) with Tortimer (MIT homebrew). Its image lives in examples/n64, so the app adds it to the catalog itself instead of reading it from the registry.
Only BIOS-free cores are eligible. Kitty has no legal BIOS distribution path, so consoles that need one are out.
🗺️ Roadmap
Windows and SteamOS hosts are out of scope for now. The longer plan, with its gates, is in docs/roadmap.md.
📚 Docs
| Doc | What it covers |
|---|---|
| Get Kitty / install | Desktop downloads, CLI, SDK, registry and project links |
| User guide | Setup, manifests, lifecycle, troubleshooting |
| Architecture | Runtime boundaries and Kiri support |
| Manifest spec · schema | The gamecomposer.yml contract |
| Interfaces | CLI, SDK, desktop and browser boundaries |
| Registry | Registry format, library, sandbox creation |
| Instances | Instance identity and ls --json records |
| Templates | The 10 starter manifests |
| Controller verification matrix | Exactly which controller paths, engines and browsers are verified, and what is not |
| Desktop app · SDK | Package-level notes |
| Changelog | Release history |
🛠️ Contributing
Issues and pull requests are welcome. Read CONTRIBUTING.md for setup, the three test suites and commit style, and CODE_OF_CONDUCT.md. Found a vulnerability? Report it privately as described in SECURITY.md.
The one hard rule: only contribute content you may redistribute. 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. Pull requests that add, link or describe how to get commercial ROMs, BIOS files or firmware will be closed.
💚 Support
If Kitty is useful to you, you can support its development on Ko-fi or through GitHub Sponsors.
License
MIT © 2026 Enzo Vezzaro. Emulators, games and other third-party assets keep their own licences; notices sit next to each example and in the registry's licenses folder.
![]()

