# saghul/txiki.js

A tiny JavaScript runtime

Repository: https://github.com/saghul/txiki.js
Canonical: https://ross.abutalabs.com/products/txikijs
Homepage: https://txikijs.org
Language: C
License: MIT
License Family: permissive
Topics: libuv, quickjs, javascript, wasm
Last push: 2026-08-24T13:38:32+00:00

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

## Adoption (not part of the score)
Stars 3126, forks 224 (observed 2026-08-28T04:07:44.454383+00:00)

## What it is
txiki.js is a tiny JavaScript runtime built on the QuickJS-ng engine and libuv, targeting modern ECMAScript and WinterTC compliance. It ships Web Platform APIs, sockets, an HTTP server, a standard library (SQLite, FFI, WASI), and can compile scripts into standalone executables.

## Use cases
- run javascript scripts from the command line without node
- build a small http server with websockets in javascript
- compile a javascript app into a standalone executable
- embed a lightweight javascript interpreter in a C project
- run webassembly modules with a javascript runtime
- call native libraries from javascript via ffi

## When to choose
- you want a small, fast-starting JavaScript runtime instead of Node.js
- you need Web Platform APIs like fetch and WebSocket in a lightweight binary
- you want to distribute scripts as self-contained executables
- you need SQLite or FFI access built into the runtime

## When to avoid
- you need the npm ecosystem and Node.js API compatibility
- you require maximum JavaScript execution throughput from a JIT engine like V8
- you need a mature runtime with extensive third-party library support

## Facets
- artifact type: application
- maturity: active
- function: interpreter, http-server, websocket, cli, wasm, file-system, networking
- domain: programming-languages, developer-tools, cross-platform
- platform: windows, cli, cross-platform
- tags: javascript-runtime, quickjs, libuv, wintertc, sqlite, ffi, standalone-executables, command-line, linux, macos

## Member repositories
- saghul/txiki.js (main) score 96

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:44.454383+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:26:22.725572+00:00, confidence not recorded.
  - readme: https://github.com/saghul/txiki.js (fetched 2026-08-28T04:07:44.454383+00:00, sha 5b67e7edb395)
  - homepage: https://txikijs.org (fetched 2026-08-29T09:41:19.305080+00:00, sha f6a350b783ac)
  - site_page: https://txikijs.org/docs/getting-started (fetched 2026-08-29T09:41:19.313955+00:00, sha e587a2850fb4)
  - site_page: https://txikijs.org/docs/api-reference (fetched 2026-08-29T09:41:19.315765+00:00, sha cf28a0e4f226)
- Data as of 2026-08-30T08:39:29.467469+00:00.
