# Kode/Kha

Ultra-portable, high performance, open source multimedia framework.

Repository: https://github.com/Kode/Kha
Canonical: https://ross.abutalabs.com/products/kha
Homepage: http://kha.tech
Language: C
License: Zlib
License Family: permissive
Last push: 2026-08-10T20:25:20+00:00

## Health v2 (maintenance only)
Score: 76/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 97, release rhythm 35, longevity 100
- inputs: {"age_days": 4697, "days_push": 23, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1630, forks 171 (observed 2026-08-28T04:05:13.934703+00:00)

## What it is
Kha is an ultra-portable, high-performance multimedia SDK for building games and media applications, written in Haxe with a C core. It provides a unified generational graphics and audio API that cross-compiles to desktop, mobile, web, and console targets, and can even run on top of other game engines.

## Use cases
- build a cross-platform 2D game
- develop high-end 3D graphics applications
- compile a game to html5 webgl
- write shaders in glsl and cross-compile to multiple targets
- run a game on top of unity
- target consoles from a single codebase
- build a multimedia application for desktop and mobile

## When to choose
- you need one codebase across desktop, mobile, web, and consoles
- you want an SDL-like but more powerful low-level SDK
- you prefer writing in Haxe with hardware-accelerated graphics
- you need fallback rendering like html5 canvas

## When to avoid
- you need a full high-level editor-driven engine like Unity or Godot
- your team only works in C++ or C# without Haxe
- you need console backends without registered developer access
- you want a large ecosystem of third-party plugins and assets

## Facets
- artifact type: framework
- maturity: active
- function: game-engine, graphics, audio-processing, sdk, compiler
- domain: graphics, cross-platform, media
- platform: cross-platform, windows, browser, cpp
- tags: haxe, multimedia, 2d-graphics, 3d-graphics, shader-compilation, sdl-alternative, consoles, webgl, game-development, linux, macos, android, ios, nodejs, gpu

## Member repositories
- Kode/Kha (main) score 76

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:13.934703+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:47:52.075435+00:00, confidence not recorded.
  - readme: https://github.com/Kode/Kha (fetched 2026-08-28T04:05:13.934703+00:00, sha b9729b411c74)
  - homepage: http://kha.tech (fetched 2026-08-29T11:20:32.385024+00:00, sha c47541c8060b)
- Data as of 2026-08-30T08:39:29.467469+00:00.
