{"id":3722,"url":"https://github.com/ionic-team/capacitor","last_synced_at":"2026-03-06T11:09:26.676Z","repository":{"id":37405514,"uuid":"111241370","full_name":"ionic-team/capacitor","owner":"ionic-team","description":"Build cross-platform Native Progressive Web Apps for iOS, Android, and the Web ⚡️","archived":false,"fork":false,"pushed_at":"2025-05-01T19:34:14.000Z","size":74970,"stargazers_count":13160,"open_issues_count":233,"forks_count":1053,"subscribers_count":168,"default_branch":"main","last_synced_at":"2025-05-01T20:02:48.716Z","etag":null,"topics":["android","capacitor","cordova","cross-platform","css","html","ionic","ios","java","javascript","pwa","swift"],"latest_commit_sha":null,"homepage":"https://capacitorjs.com","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ionic-team.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2017-11-18T21:38:09.000Z","updated_at":"2025-05-01T18:50:10.000Z","dependencies_parsed_at":"2022-07-08T19:02:06.714Z","dependency_job_id":"9c3d29fb-4094-4707-a4c5-fe307e79088c","html_url":"https://github.com/ionic-team/capacitor","commit_stats":{"total_commits":3987,"total_committers":304,"mean_commits":"13.115131578947368","dds":0.6671682969651367,"last_synced_commit":"d3bdeb40c3c29d739639035bc8ed856a86d96002"},"previous_names":["ionic-team/avocado"],"tags_count":333,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ionic-team%2Fcapacitor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ionic-team%2Fcapacitor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ionic-team%2Fcapacitor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ionic-team%2Fcapacitor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ionic-team","download_url":"https://codeload.github.com/ionic-team/capacitor/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252126776,"owners_count":21698966,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","capacitor","cordova","cross-platform","css","html","ionic","ios","java","javascript","pwa","swift"],"created_at":"2024-01-05T20:16:49.569Z","updated_at":"2026-03-06T11:09:26.467Z","avatar_url":"https://github.com/ionic-team.png","language":"TypeScript","readme":"\u003cbr /\u003e\n\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"https://user-images.githubusercontent.com/236501/105104854-e5e42e80-5a67-11eb-8cb8-46fccb079062.png\" width=\"560\" /\u003e\n\u003c/div\u003e\n\u003cdiv align=\"center\"\u003e\n  ⚡️ Cross-platform apps with JavaScript and the Web ⚡️\n\u003c/div\u003e\n\u003cbr /\u003e\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/ionic-team/capacitor/actions?query=workflow%3ACI\"\u003e\u003cimg src=\"https://img.shields.io/github/actions/workflow/status/ionic-team/capacitor/ci.yml?style=flat-square\" /\u003e\u003c/a\u003e\n  \u003ca href=\"https://www.npmjs.com/package/@capacitor/core\"\u003e\u003cimg src=\"https://img.shields.io/npm/dw/@capacitor/core?style=flat-square\" /\u003e\u003c/a\u003e\n  \u003ca href=\"https://www.npmjs.com/package/@capacitor/core\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/@capacitor/core?style=flat-square\" /\u003e\u003c/a\u003e\n  \u003ca href=\"https://www.npmjs.com/package/@capacitor/core\"\u003e\u003cimg src=\"https://img.shields.io/npm/l/@capacitor/core?style=flat-square\" /\u003e\u003c/a\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://capacitorjs.com/docs\"\u003e\u003cimg src=\"https://img.shields.io/static/v1?label=docs\u0026message=capacitorjs.com\u0026color=blue\u0026style=flat-square\" /\u003e\u003c/a\u003e\n  \u003ca href=\"https://twitter.com/capacitorjs\"\u003e\u003cimg src=\"https://img.shields.io/twitter/follow/capacitorjs\" /\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n---\n\nCapacitor lets you run web apps natively on iOS, Android, Web, and more with a single codebase and cross-platform APIs.\n\nCapacitor provides a cross-platform API and code execution layer that makes it easy to call Native SDKs from web code and to write custom native plugins that your app may need. Additionally, Capacitor provides first-class Progressive Web App support so you can write one app and deploy it to the app stores _and_ the mobile web.\n\nCapacitor comes with a Plugin API for building native plugins. Plugins can be written inside Capacitor apps or packaged into an npm dependency for community use. Plugin authors are encouraged to use Swift to develop plugins in iOS and Kotlin (or Java) in Android.\n\n## Getting Started\n\nCapacitor was designed to drop-in to any existing modern web app. Run the following commands to initialize Capacitor in your app:\n\n```\nnpm install @capacitor/core @capacitor/cli\nnpx cap init\n```\n\nNext, install any of the desired native platforms:\n\n```\nnpm install @capacitor/android\nnpx cap add android\nnpm install @capacitor/ios\nnpx cap add ios\n```\n\n### New App?\n\nFor new apps, we recommend trying the [Ionic Framework](https://ionicframework.com/) with Capacitor.\n\nTo begin, install the [Ionic CLI](https://ionicframework.com/docs/cli/) (`npm install -g @ionic/cli`) and start a new app:\n\n```\nionic start --capacitor\n```\n\n## FAQ\n\n#### What are the differences between Capacitor and Cordova?\n\nIn spirit, Capacitor and Cordova are very similar. Capacitor offers backward compatibility with a vast majority of Cordova plugins.\n\nCapacitor and Cordova differ in that Capacitor:\n\n- takes a more modern approach to tooling and plugin development\n- treats native projects as source artifacts as opposed to build artifacts\n- is maintained by the Ionic Team 💙😊\n\nSee [the docs](https://capacitorjs.com/docs/cordova#differences-between-capacitor-and-cordova) for more details.\n\n#### Do I need to use Ionic Framework with Capacitor?\n\nNo, you do not need to use Ionic Framework with Capacitor. Without the Ionic Framework, you may need to implement Native UI yourself. Without the Ionic CLI, you may need to configure tooling yourself to enable features such as [livereload](https://ionicframework.com/docs/cli/livereload). See [the docs](https://capacitorjs.com/docs/getting-started/with-ionic) for more details.\n\n## Contributing\n\nSee [`CONTRIBUTING.md`](./CONTRIBUTING.md).\n\n## Contributors\n\nMade possible by the [Capacitor community](https://github.com/ionic-team/capacitor/graphs/contributors). 💖\n","funding_links":[],"categories":["TypeScript","Uncategorized","Development Alternatives","Resources","前端开发框架及项目","Development","Java","android","swift","Platforms","Tooling— Frontend","Libraries"],"sub_categories":["Uncategorized","HTML, CSS and Javascript","其他_文本生成、文本对话","VoIP","JavaScript"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fionic-team%2Fcapacitor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fionic-team%2Fcapacitor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fionic-team%2Fcapacitor/lists"}