SuperAPI AI Directory

otakit

OtaKit is a fully open-source, self-hostable over-the-air (OTA) update framework for Capacitor apps that lets developers push Web asset updates directly to Capacitor apps without going through app store review. It offers a hosted service, otakit.app, while the entire platform code is in the repository and can be deployed on your own infrastructure, with a minimal stack of a Next.js console, Postgres, and an S3-compatible storage bucket behind a CDN. The core flow includes: creating an app in the console and obtaining an appId, building the Web assets, uploading and releasing a version via the CLI, and the plugin fetching the manifest and downloading the new version when the app starts or resumes, with automatic rollback if it is not confirmed within the timeout. The project also provides MCP and Agent Skills integration, allowing tools such as Claude Code, Codex, or VS Code to read a Capacitor project, check whether changes are suitable for OTA, upload builds, and wait for approval before they reach devices.

Open website

About this tool

OtaKit is an open-source over-the-air (OTA) update framework for Capacitor apps, with the goal of letting developers bypass app store review and push Web asset updates directly to user devices. The project follows a "hosted-first" model: the official hosted service otakit.app runs all components, but the complete platform code is in this repository and can be self-deployed.

Purpose and positioning OtaKit addresses the problem of rapid iteration of the Web layer (HTML, JS, CSS, and other assets) of Capacitor apps. Native code changes still need to go through the app store, but Web asset updates can be released through the OTA channel.

Key capabilities

  • App management: create an app in the console, obtain an appId, and write it into capacitor.config.*.
  • Version release: upload a Web build bundle and release a version via the CLI; the server writes the bundle and manifest to object storage behind a CDN.
  • Runtime updates: the Capacitor plugin fetches the manifest from the CDN when the app next starts or resumes, compares it with the current bundle, and downloads a new version if one exists.
  • Automatic rollback: if notifyAppReady() is called within the timeout to confirm the new bundle, the update takes effect; otherwise the plugin automatically rolls back to the previous version.
  • Channels and runtime versions: supports release channels such as staging, as well as the native-compatible runtime version configured in the plugin.
  • MCP and Agent Skills: allows coding agents such as Claude Code, Codex, or VS Code to read a Capacitor project, determine whether changes are suitable for OTA, upload builds, and pause for human approval before content reaches devices. Claude Code also provides a plugin that includes both the server side and the OtaKit Agent Skill.

Usage

  1. Create an app in the console and copy the appId into capacitor.config.*.
  2. Build the app's Web assets.
  3. Run otakit upload --release to upload the bundle and release a version.
  4. The server writes the bundle and manifest to object storage behind a CDN.
  5. When the app next starts or resumes, the plugin fetches the manifest, compares versions, and downloads the new bundle.
  6. Call notifyAppReady() to confirm within the timeout; otherwise, automatically roll back.

MCP integration can execute a single command in the project directory, automatically detect the client, log in as needed, and before writing print the resolved console, organization, project, app, and the files to be written; --dry-run only shows the plan without writing.

Self-hosting The minimal stack is the console (a standard Next.js app), Postgres, and an S3-compatible bucket behind a CDN. The repository contains capacitor-plugin (mobile runtime), cli (upload and publishing), mcp-core (MCP contract and tool catalog), site (public site and documentation), console (dashboard, API, authentication, billing, and Prisma schema), ingest (Cloudflare Worker device event collection), and tinybird (event analytics data sources and pipelines). Local development requires Node.js 20.9+ and pnpm 9+; the console requires Postgres and R2-compatible storage; device event analytics optionally depends on the ingest service and a Tinybird workspace.

Use cases Suitable for teams that build mobile apps with Capacitor, want to quickly release Web-layer fixes or feature updates, and are willing to self-host or use a hosted service.

Limitations The material does not provide details such as specific pricing, performance metrics, or supported platform version ranges; native code updates still require app store review; self-hosting requires maintaining infrastructure such as Postgres, object storage, and CDN yourself.