# pocket-stack/pocketjs

PocketJS is a portable application runtime that turns modern component code into native pixels across radically different hardware.

Repository: https://github.com/pocket-stack/pocketjs
Canonical: https://ross.abutalabs.com/products/pocketjs
Homepage: https://pocketjs.dev
Language: TypeScript
License: MIT
License Family: permissive
Topics: embedded-ui, frontend, jsx, native-ui, psp, quickjs, rust, solidjs, tailwindcss, webassembly, flexbox, vue, vue-vapor
Last push: 2026-09-02T19:53:00+00:00

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

## Adoption (not part of the score)
Stars 1215, forks 73 (observed 2026-09-03T02:15:16.969837+00:00)

## What it is
PocketJS is a portable application runtime that compiles Solid, Vue Vapor, or Octane component code into a native UI tree rendered by a no_std Rust core with QuickJS as the JS guest. It targets radically different hardware - Sony PSP, PS Vita, desktop, browser, and headless hosts - with no DOM, CSS engine, or WebView.

## Use cases
- build native UI apps for PSP and PS Vita with modern JavaScript frameworks
- write cross-platform UI components that run without a browser or WebView
- render flexbox layouts on embedded and retro hardware
- run Solid or Vue components on constrained devices
- develop UI apps with Tailwind-style classes compiled ahead of time
- test the same UI logic in browser, headless, and on-device hosts

## When to choose
- you need one component codebase running on game consoles, desktop, and browser
- you want a DOM-free, WebView-free native rendering pipeline with a Rust core
- you target retro or embedded hardware like PSP, Vita, or Windows CE devices
- you prefer Solid, Vue, or React-style component authoring for non-web targets

## When to avoid
- you need full CSS support, a real DOM, or web platform APIs
- you are building a standard website or web app where a browser is the target
- you need a mature ecosystem with extensive third-party component libraries
- you require production support for mainstream mobile platforms today

## Facets
- artifact type: framework
- maturity: active
- function: frontend-framework, ui-components, graphics, animation, templating, build-tool, cli
- domain: web-development, frontend, cross-platform, embedded-systems, developer-tools
- platform: cross-platform, browser, wasm, rust, cpp, embedded
- tags: quickjs, psp, ps-vita, solidjs, vue-vapor, tailwind, no-dom, native-rendering, flexbox, retro-hardware, jsx, game-development, web, desktop, gpu

## Member repositories
- pocket-stack/pocketjs (main) score 80

## Provenance
- Observed fields: from GitHub, fetched 2026-09-03T02:15:16.969837+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:55:26.426069+00:00, confidence not recorded.
  - readme: https://github.com/pocket-stack/pocketjs (fetched 2026-09-03T02:15:16.969837+00:00, sha 7721d1b34844)
  - homepage: https://pocketjs.dev (fetched 2026-08-29T12:57:26.314913+00:00, sha 1284d7979748)
  - site_page: https://pocketjs.dev/docs/overview (fetched 2026-08-29T12:57:26.324568+00:00, sha 97039bbee955)
  - site_page: https://pocketjs.dev/docs/architecture (fetched 2026-08-29T12:57:26.330354+00:00, sha a39dca421a8b)
  - site_page: https://pocketjs.dev/docs/frameworks (fetched 2026-08-29T12:57:26.332620+00:00, sha 38e325862814)
  - site_page: https://pocketjs.dev/docs/concepts (fetched 2026-08-29T12:57:26.334516+00:00, sha b76685e3913a)
  - site_page: https://pocketjs.dev/docs/platform-contracts (fetched 2026-08-29T12:57:26.336765+00:00, sha e90370719268)
  - site_page: https://pocketjs.dev/docs/native-contract (fetched 2026-08-29T12:57:26.338818+00:00, sha 26d50d0bef64)
  - site_page: https://pocketjs.dev/changelog (fetched 2026-08-29T12:57:26.326955+00:00, sha 00375c2c7181)
- Data as of 2026-08-30T08:39:29.467469+00:00.
