[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-178":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":9,"totalLinesOfCode":9,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":9,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":20,"compositeScore":21,"rankGlobal":9,"rankLanguage":9,"license":9,"archived":22,"fork":22,"defaultBranch":23,"hasWiki":22,"hasPages":22,"topics":24,"createdAt":9,"pushedAt":9,"updatedAt":36,"readmeContent":37,"aiSummary":38,"trendingCount":16,"starSnapshotCount":16,"syncStatus":39,"lastSyncTime":40,"discoverSource":41},178,"capacitor","ionic-team\u002Fcapacitor","ionic-team","Build cross-platform Native Progressive Web Apps for iOS, Android, and the Web ⚡️",null,"https:\u002F\u002Fgithub.com\u002Fionic-team\u002Fcapacitor","TypeScript",15861,1205,161,72,0,10,48,211,40,44.24,false,"main",[25,26,27,28,29,30,5,31,32,33,34,35],"javascript","html","css","swift","java","cross-platform","cordova","ionic","ios","android","pwa","2026-06-12 02:00:09","\u003Cbr \u002F>\n\u003Cdiv align=\"center\">\n  \u003Cimg src=\"https:\u002F\u002Fuser-images.githubusercontent.com\u002F236501\u002F105104854-e5e42e80-5a67-11eb-8cb8-46fccb079062.png\" width=\"560\" \u002F>\n\u003C\u002Fdiv>\n\u003Cdiv align=\"center\">\n  ⚡️ Cross-platform apps with JavaScript and the Web ⚡️\n\u003C\u002Fdiv>\n\u003Cbr \u002F>\n\u003Cp align=\"center\">\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fionic-team\u002Fcapacitor\u002Factions?query=workflow%3ACI\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Factions\u002Fworkflow\u002Fstatus\u002Fionic-team\u002Fcapacitor\u002Fci.yml?style=flat-square\" \u002F>\u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002F@capacitor\u002Fcore\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fnpm\u002Fdw\u002F@capacitor\u002Fcore?style=flat-square\" \u002F>\u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002F@capacitor\u002Fcore\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fnpm\u002Fv\u002F@capacitor\u002Fcore?style=flat-square\" \u002F>\u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002F@capacitor\u002Fcore\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fnpm\u002Fl\u002F@capacitor\u002Fcore?style=flat-square\" \u002F>\u003C\u002Fa>\n\u003C\u002Fp>\n\u003Cp align=\"center\">\n  \u003Ca href=\"https:\u002F\u002Fcapacitorjs.com\u002Fdocs\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fstatic\u002Fv1?label=docs&message=capacitorjs.com&color=blue&style=flat-square\" \u002F>\u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Ftwitter.com\u002Fcapacitorjs\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Ftwitter\u002Ffollow\u002Fcapacitorjs\" \u002F>\u003C\u002Fa>\n\u003C\u002Fp>\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\u002Fcore @capacitor\u002Fcli\nnpx cap init\n```\n\nNext, install any of the desired native platforms:\n\n```\nnpm install @capacitor\u002Fandroid\nnpx cap add android\nnpm install @capacitor\u002Fios\nnpx cap add ios\n```\n\n### New App?\n\nFor new apps, we recommend trying the [Ionic Framework](https:\u002F\u002Fionicframework.com\u002F) with Capacitor.\n\nTo begin, install the [Ionic CLI](https:\u002F\u002Fionicframework.com\u002Fdocs\u002Fcli\u002F) (`npm install -g @ionic\u002Fcli`) 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:\u002F\u002Fcapacitorjs.com\u002Fdocs\u002Fcordova#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:\u002F\u002Fionicframework.com\u002Fdocs\u002Fcli\u002Flivereload). See [the docs](https:\u002F\u002Fcapacitorjs.com\u002Fdocs\u002Fgetting-started\u002Fwith-ionic) for more details.\n\n## Contributing\n\nSee [`CONTRIBUTING.md`](.\u002FCONTRIBUTING.md).\n\n## Contributors\n\nMade possible by the [Capacitor community](https:\u002F\u002Fgithub.com\u002Fionic-team\u002Fcapacitor\u002Fgraphs\u002Fcontributors). 💖\n","Capacitor 是一个用于构建跨平台原生渐进式 Web 应用的工具，支持 iOS、Android 和 Web 平台。它提供了一套统一的 API 以及代码执行层，便于从 Web 代码调用原生 SDK，并支持编写自定义插件以满足特定需求。此外，Capacitor 对 PWA（Progressive Web App）有良好的支持，允许开发者使用单一代码库开发应用并同时部署到应用商店和移动网页上。适合希望利用现有 Web 技能快速开发多平台应用的场景，特别是那些需要良好离线体验和支持动态更新的应用。",2,"2026-06-11 02:31:20","trending"]