# karaxnim/karax

Karax. Single page applications for Nim.

Repository: https://github.com/karaxnim/karax
Canonical: https://ross.abutalabs.com/products/karax
Language: Nim
License: MIT
License Family: permissive
Topics: spa, nim-language
Last push: 2026-07-12T15:26:59+00:00

## Health v2 (maintenance only)
Score: 75/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 92, release rhythm 40, longevity 100
- inputs: {"age_days": 3444, "days_push": 52, "days_rel": 510, "gap_med": 0, "n_releases_24m": 2}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1167, forks 94 (observed 2026-08-28T04:03:50.763845+00:00)

## What it is
Karax is a framework for building single page applications in Nim that compiles to JavaScript. It uses a virtual DOM similar to React but is much smaller, with no external dependencies, and leverages Nim's macro system for a boilerplate-free HTML-building DSL.

## Use cases
- build a single page app in Nim
- compile Nim to JavaScript for the browser
- use a virtual DOM framework without React's size
- write a todo app or small web UI in Nim
- generate HTML DOM trees with a Nim DSL
- avoid JavaScript boilerplate when building SPAs

## When to choose
- you already write Nim and want to target the browser
- you want a minimal, dependency-free SPA framework
- you prefer compile-time macros and whole-program optimization for small JS output

## When to avoid
- you need a large ecosystem of components, tooling, and community packages
- your team works primarily in JavaScript or TypeScript
- you need server-side rendering or native mobile support

## Facets
- artifact type: framework
- maturity: active
- function: frontend-framework, web-framework, templating, state-management
- domain: web-development, frontend, cross-platform
- platform: browser
- tags: spa, virtual-dom, nim, javascript, dsl, no-dependencies, web-server

## Member repositories
- karaxnim/karax (main) score 75

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:50.763845+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-30T06:28:51.779995+00:00, confidence not recorded.
  - readme: https://github.com/karaxnim/karax (fetched 2026-08-28T04:03:50.763845+00:00, sha d5b3d9024050)
- Data as of 2026-08-30T08:39:29.467469+00:00.
