Skip to content
Game Composer

Game Composer

github.com • December 1, 2026

Kitty is an open-source desktop game composer for retro homebrew. You describe a game session in one gamecomposer.yml file (emulator, game, controls, resources, saves). Kitty checks every file against its SHA-256, runs the session in a Linux sandbox on your own machine through the Kiri runtime, and opens it in its own player window.

One file per session. The desktop app, the kitty CLI and the TypeScript SDK all read and write the same manifest.

Pinned and checked. Every download is pinned by URL and SHA-256. A mismatch stops the launch.

Local only. The player listens on 127.0.0.1 . Nothing is streamed over the internet, and your game files are hashed locally, never uploaded.

No commercial ROMs. 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.

Feature tour · Install · Quickstart · CLI · SDK · How it works · Consoles · Limits · Contributing

The screenshots are captures of the v0.2 desktop app on macOS, light theme with the lime accent.

Studio. base. Runtime and registry status, open projects, and a Three.js voxel island that stays still under reduced motion.

Also in the app: light and dark themes with four accents (0 axe colour-contrast violations across all 16 combinations, see the contrast audit ), English and Spanish copy, an onboarding tour, and a phone controller you pair by QR code on the same local network.

Every channel, with from-source steps, is in docs/INSTALL.md . Release notes are in the changelog and on the releases page .

Host: Linux is the target host. macOS (Apple Silicon) is the development host, where Kiri runs its own Linux VM; that is where sessions have been verified so far. Windows and SteamOS hosts are out of scope for now.

Python 3.10+ with PyYAML and jsonschema (pip installs them). The desktop app uses this Python too.

Kiri CLI installed, started, and on PATH as kiri . Validating a manifest ( kitty config ) does not need Kiri; launching does.

Node.js 18+ only to build the desktop app or use the SDK.

The root gamecomposer.yml runs 8-Bit Table Tennis , an MIT-licensed NES homebrew. Try the ten templates , for example kitty --file templates/06-snes-url-homebrew/gamecomposer.yml up .

From source (CLI and desktop app)

The desktop app finds Python on its own: GAMECOMPOSER_PYTHON , then the repo .venv , then python3 on PATH . After source .venv/bin/activate , kitty is on your PATH .

--file PATH ( -f ) picks a manifest other than ./gamecomposer.yml . Exit codes: 0 ok, 1 runtime error, 2 bad input or manifest. gamecompose and game-compose still work as aliases. Full reference: docs/user-guide.md .

The TypeScript contract for manifests and lifecycle calls is @kitty-game-composer/sdk (MIT, Node.js 18+, ES modules). It is transport-agnostic: you bring the adapter that runs the CLI, an API or your own runtime.

Details in sdk/README.md .

Manifest. One gamecomposer.yml ( apiVersion: gamecomposer.dev/v0.2 ), written by hand, by the desktop app's Create flow, or by the SDK.

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. Keyboard, gamepads and a paired phone feed the same input stream.

The full file is gamecomposer.yml ; the format is specified in docs/GAMECOMPOSER-SPEC.md and the design in docs/architecture.md .

Consoles and the registry

Consoles, games, controllers and templates come from the public registry, game-composer-registry , a separate repo with its own CI. Kitty reads it from a pinned commit (tag 2026.11.29 ) and checks the index and every download against its SHA-256. To add an entry, open an issue or pull request there; see docs/REGISTRY.md .

Registry 2026.11.29 : 15 consoles, 38 games, 14 controllers, 10 templates.

Controllers: a pad per platform, Xbox-style and PlayStation-style gamepads, a phone pad paired by QR, and the keyboard.

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. See docs/N64-URL-SOURCES.md .

Only BIOS-free cores are eligible. Kitty has no legal BIOS distribution path, so consoles that need one are out.

Kitty is alpha software. What it does not do yet, stated plainly:

Linux host sessions are not verified. Sessions have been recorded on the macOS development host. The Linux packages are built and launch in a Linux VM, but no full game session has been recorded on a Linux host ( platform matrix ).

Linux packages are not on a release yet. Build them with docs/LINUX-PACKAGING.md .

The macOS build is not notarized , so Gatekeeper asks before the first launch.

Linux guests only. Windows, macOS and SteamOS guests are recognized by the schema and rejected before launch.

Loopback only. There is no remote streaming; the player is on 127.0.0.1 and a phone controller pairs over the local network.

Controller coverage is partial. The controller matrix lists exactly which engine, browser and device paths are verified.

No BIOS-dependent consoles , and no commercial games in the registry.

Manifest schema, Python validation, SHA-256 checked URL sources

Kiri lifecycle: config , up , ps , logs , stop , down , multiple instances

Desktop app: Studio, Discover, Library, Create, Worlds, Settings, shared player

CLI on PyPI and npm, SDK on npm

Public registry in its own repo

Reproducible Linux AppImage and .deb builds

Linux packages attached to a release, and a recorded Linux-host session

Wider controller verification per browser and device

Remote streaming (not started)

The longer plan, with its gates, is in docs/roadmap.md .

The full index is docs/README.md . The most used pages:

Issues and pull requests are welcome. CONTRIBUTING.md covers setup (build sdk/ before the desktop tests), the test commands for each package, and commit style. Please follow the Code of Conduct .

The one hard rule: only contribute content you may redistribute. Pull requests that add, link or describe how to get commercial ROMs, BIOS files or firmware will be closed. Games, consoles and controllers go to the registry repo .

Please report vulnerabilities privately through the repository's Security tab (Report a vulnerability), not in a public issue. Scope and response times are in SECURITY.md .

If Kitty is useful to you, you can support its development on Ko-fi or through GitHub Sponsors . Questions and bugs go to issues .

Kitty runs its sandboxes on Kiri and builds on open projects: JSNES , EmulatorJS and its libretro cores, gopher64 , three.js , Electron , and the homebrew authors whose games make the examples playable, including Michael Billington ( 8-Bit Table Tennis ), the OpenSNES and PVSnesLib contributors ( Kit's Rooftop Run ) and celerizer ( Tortimer ). Every bundled third-party file and its licence is listed in THIRD_PARTY_NOTICES.md .

MIT

Extracted Entities