# yysun/apprun

AppRun is a JavaScript library for developing high-performance and reliable web applications using the elm inspired architecture, events and components.

Repository: https://github.com/yysun/apprun
Canonical: https://ross.abutalabs.com/products/apprun
Homepage: https://apprun.js.org
Language: TypeScript
License: MIT
License Family: permissive
Topics: javascript, typescript, framework, state-management, router, component, virtual-dom, event-driven
Last push: 2026-07-15T02:47:43+00:00

## Health v2 (maintenance only)
Score: 74/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 92, release rhythm 35, longevity 100
- inputs: {"age_days": 3618, "days_push": 49, "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 1176, forks 56 (observed 2026-08-28T04:03:52.677600+00:00)

## What it is
AppRun is a lightweight (~6KB) JavaScript/TypeScript library for building web applications using an Elm-inspired architecture of state, view, and update functions. It bundles state management, a virtual DOM renderer, event publish-subscribe, and routing, and can run directly in the browser or with a bundler, including alongside React.

## Use cases
- build an SPA without hooks or reducers
- manage state in a React app with a simpler pattern
- create a small web app that runs directly from a CDN script tag
- build event-driven components with pub-sub messaging
- add client-side routing to a lightweight frontend
- server-side render web applications

## When to choose
- you want a minimal, low-boilerplate Elm-style architecture
- you need state management and routing included in one tiny library
- you prefer event-driven pub-sub over hooks/signals
- you want apps runnable directly in the browser without a build step

## When to avoid
- you need a large ecosystem of UI components and tooling
- your team is standardized on React, Vue, or Angular conventions
- you rely on niche ecosystem integrations common in bigger frameworks

## Facets
- artifact type: library
- maturity: active
- function: frontend-framework, state-management, routing, templating, web-framework
- domain: web-development, frontend
- platform: browser
- tags: elm-architecture, virtual-dom, event-pubsub, jsx, web-components, ssr, lightweight, nodejs, web-server

## Member repositories
- yysun/apprun (main) score 74

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:52.677600+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:27:01.825617+00:00, confidence not recorded.
  - readme: https://github.com/yysun/apprun (fetched 2026-08-28T04:03:52.677600+00:00, sha bccdfdaf3961)
  - homepage: https://apprun.js.org (fetched 2026-08-29T12:33:05.555903+00:00, sha 54d17bfc63ee)
  - site_page: https://apprun.js.org/docs (fetched 2026-08-29T12:33:05.565590+00:00, sha 2da725808cc2)
- Data as of 2026-08-30T08:39:29.467469+00:00.
