# TokamakUI/Tokamak

[Looking for active maintainers] SwiftUI-compatible framework for building browser apps with WebAssembly and native apps for other platforms

Repository: https://github.com/TokamakUI/Tokamak
Canonical: https://ross.abutalabs.com/products/tokamak
Language: Swift
License: Apache-2.0
License Family: permissive
Topics: swift, data-binding, swiftui, webassembly, wasi, swiftwasm, dom, ui-components, hacktoberfest
Archived: true
Last push: 2024-03-23T16:00:17+00:00

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

## Adoption (not part of the score)
Stars 2845, forks 126 (observed 2026-08-28T04:07:24.934394+00:00)

## What it is
Tokamak is a SwiftUI-compatible framework that lets developers build browser apps rendered to the DOM via WebAssembly, with a goal of supporting native apps on other platforms. It implements a subset of the SwiftUI API, including an HTML view for arbitrary HTML and inline SVG rendering.

## Use cases
- build browser apps in Swift using SwiftUI syntax
- compile SwiftUI-style UI to WebAssembly
- share SwiftUI code between Apple platforms and the web
- render arbitrary HTML and inline SVG from Swift views
- prototype web UIs with declarative Swift code

## When to choose
- you know SwiftUI and want to target the browser with Swift
- you want to reuse existing SwiftUI view code on the web via SwiftWasm
- you prefer declarative UI in Swift over JavaScript frameworks

## When to avoid
- you need full SwiftUI API coverage - only a subset is implemented
- you need a production web framework with active maintenance - the project is looking for maintainers
- you need native rendering beyond Apple platforms - support is limited to WebAssembly/WASI

## Facets
- artifact type: framework
- maturity: maintenance
- function: ui-components, frontend-framework, wasm, state-management
- domain: web-development, frontend, cross-platform
- platform: wasm, browser, cross-platform
- tags: swiftui, swiftwasm, dom-renderer, declarative-ui, webassembly, swift

## Member repositories
- TokamakUI/Tokamak (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:24.934394+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-30T07:37:04.591553+00:00, confidence not recorded.
  - readme: https://github.com/TokamakUI/Tokamak (fetched 2026-08-28T04:07:24.934394+00:00, sha a18f774f6932)
- Data as of 2026-08-30T08:39:29.467469+00:00.
