# MithrilJS/mithril.js

A JavaScript Framework for Building Brilliant Applications

Repository: https://github.com/MithrilJS/mithril.js
Canonical: https://ross.abutalabs.com/products/mithriljs
Homepage: https://mithril.js.org
Language: JavaScript
License: MIT
License Family: permissive
Topics: javascript, framework, virtual-dom, xhr, router, mithril, vdom
Last push: 2026-08-13T09:35:51+00:00

## Health v2 (maintenance only)
Score: 83/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 97, release rhythm 56, longevity 100
- inputs: {"age_days": 4553, "days_push": 20, "days_rel": 298, "gap_med": 16.0, "n_releases_24m": 19}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 14493, forks 923 (observed 2026-08-28T04:11:07.120202+00:00)

## What it is
Mithril.js is a small (~9 KB gzipped) client-side JavaScript framework for building Single Page Applications, with a virtual DOM, routing, and XHR utilities built in. It is used in production by companies like Vimeo and Nike and open-source platforms like Lichess.

## Use cases
- build a single page application without a heavy framework
- lightweight alternative to React or Vue for SPAs
- client-side routing for a JavaScript app
- fetch data from an API with built-in XHR utilities
- small bundle size frontend framework
- fast rendering with a virtual DOM

## When to choose
- you want a tiny, fast framework with routing and XHR included out of the box
- you prefer a minimal API with no build tooling required
- bundle size and performance are critical
- you're building a classic SPA without a large ecosystem dependency

## When to avoid
- you need a large ecosystem of components, plugins, and community tooling
- your team relies on React/Vue-specific libraries or hiring pools
- you need server-side rendering or native mobile support out of the box

## Facets
- artifact type: framework
- maturity: stable
- function: frontend-framework, routing, http-client, templating
- domain: web-development, frontend
- platform: browser, cross-platform
- tags: virtual-dom, single-page-applications, xhr, lightweight, javascript, vdom, spa, nodejs

## Member repositories
- MithrilJS/mithril.js (main) score 83

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:11:07.120202+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-29T17:12:31.626203+00:00, confidence not recorded.
  - readme: https://github.com/MithrilJS/mithril.js (fetched 2026-08-28T04:11:07.120202+00:00, sha b19038f59bf5)
  - homepage: https://mithril.js.org (fetched 2026-08-29T08:06:11.412146+00:00, sha 8cc76eb8e09b)
  - site_page: https://mithril.js.org/installation.html (fetched 2026-08-29T08:06:11.421564+00:00, sha 96bb2bac14f7)
  - site_page: https://mithril.js.org/archives.html (fetched 2026-08-29T08:06:11.423919+00:00, sha 58c1fe0d7f5d)
- Data as of 2026-08-30T08:39:29.467469+00:00.
