# ionic-team/capacitor

Build cross-platform Native Progressive Web Apps for iOS, Android, and the Web ⚡️

Repository: https://github.com/ionic-team/capacitor
Canonical: https://ross.abutalabs.com/products/capacitor
Homepage: https://capacitorjs.com
Language: TypeScript
License: MIT
License Family: permissive
Topics: javascript, html, css, swift, java, cross-platform, capacitor, cordova, ionic, ios, android, pwa
Last push: 2026-08-26T17:01:32+00:00

## Health v2 (maintenance only)
Score: 98/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 95, longevity 100
- inputs: {"age_days": 3210, "days_push": 7, "days_rel": 33, "gap_med": 14.5, "n_releases_24m": 37}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 16392, forks 1231 (observed 2026-08-28T04:11:15.146265+00:00)

## What it is
Capacitor is an open-source cross-platform native runtime by the Ionic team that lets developers run web apps (JavaScript, HTML, CSS) natively on iOS, Android, and the Web from a single codebase. It provides cross-platform APIs, a plugin system for accessing native SDKs via Swift/Kotlin/Java, and a CLI for building and deploying apps including Progressive Web Apps.

## Use cases
- build an ios and android app from a single javascript codebase
- convert my existing react or vue web app into a native mobile app
- access native device features like camera and geolocation from web code
- write custom native plugins in swift or kotlin for my mobile app
- deploy one app to both app stores and the web as a pwa
- migrate an existing cordova app to a more modern toolchain
- schedule local notifications and push notifications from javascript

## When to choose
- you have web development skills and want to ship native mobile apps without learning swift or kotlin from scratch
- you want one codebase targeting ios, android, and the web including pwa support
- you need drop-in integration with an existing modern javascript web app
- you are migrating from cordova and want backward compatibility with most cordova plugins
- you need direct access to native sdks with custom plugins

## When to avoid
- you need maximum native performance for graphics-intensive games or heavy computation
- your app requires deep platform-specific ui that fully follows native platform conventions
- you are building a purely native swift or kotlin app with no web stack
- you need a framework that renders native ui components rather than a webview-based approach

## Facets
- artifact type: framework
- maturity: stable
- function: mobile-framework, sdk, plugin-system, cli
- domain: mobile-development, web-development, cross-platform
- platform: cross-platform
- tags: pwa, hybrid-apps, native-runtime, cordova-alternative, ionic, web-native, ios, android, web-server, nodejs

## Member repositories
- ionic-team/capacitor (main) score 98

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:11:15.146265+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:05:07.722959+00:00, confidence not recorded.
  - readme: https://github.com/ionic-team/capacitor (fetched 2026-08-28T04:11:15.146265+00:00, sha 982c9af23021)
  - homepage: https://capacitorjs.com (fetched 2026-08-29T08:02:54.375359+00:00, sha 0c408e27500a)
  - site_page: https://capacitorjs.com/docs (fetched 2026-08-29T08:02:54.384590+00:00, sha 23a301c98e1d)
  - site_page: https://capacitorjs.com/docs/plugins (fetched 2026-08-29T08:02:54.386434+00:00, sha 3d4881ddfbe0)
  - site_page: https://capacitorjs.com/docs/cli (fetched 2026-08-29T08:02:54.387950+00:00, sha 01e1ba4fe2ab)
  - site_page: https://capacitorjs.com/docs/getting-started (fetched 2026-08-29T08:02:54.389486+00:00, sha 64efc30205c3)
  - site_page: https://capacitorjs.com/docs/apis (fetched 2026-08-29T08:02:54.391275+00:00, sha dc8597ba7f03)
- Data as of 2026-08-30T08:39:29.467469+00:00.
