[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-112413":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":15,"stars7d":16,"stars30d":17,"stars90d":15,"forks30d":15,"starsTrendScore":15,"compositeScore":18,"rankGlobal":10,"rankLanguage":10,"license":19,"archived":20,"fork":20,"defaultBranch":21,"hasWiki":20,"hasPages":20,"topics":22,"createdAt":10,"pushedAt":31,"updatedAt":32,"readmeContent":33,"aiSummary":34,"trendingCount":15,"starSnapshotCount":15,"syncStatus":16,"lastSyncTime":35,"discoverSource":36},112413,"react-native-deploy","react-native-feel\u002Freact-native-deploy","react-native-feel","Ship React Native and Expo apps without a Mac: eas build\u002Fsubmit as rnd, running on your own GitHub Actions. Free and open source.","https:\u002F\u002Freactnativefeel.com\u002Fdeploy\u002Fdocs\u002F",null,"JavaScript",69,8,52,0,2,5,44.36,"MIT License",false,"master",[23,24,25,26,27,28,29,30],"android","cli","eas","expo","github-actions","ios","react-native","testflight","2026-11-09 14:43:55","2026-11-18 17:47:38","# React Native Deploy\n\n[![npm](https:\u002F\u002Fimg.shields.io\u002Fnpm\u002Fv\u002F@react-native-feel\u002Fdeploy?label=%40react-native-feel%2Fdeploy)](https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002F@react-native-feel\u002Fdeploy)\n[![License: MIT](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Flicense-MIT-blue.svg)](.\u002FLICENSE)\n[![Docs](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fdocs-reactnativefeel.com%2Fdeploy%2Fdocs-4f46e5)](https:\u002F\u002Freactnativefeel.com\u002Fdeploy\u002Fdocs\u002F)\n\nShip React Native and Expo apps — builds, TestFlight, and installs on test devices — without\nowning a Mac or paying per build. Free and open source (MIT).\n\n```sh\nnpm install -g @react-native-feel\u002Fdeploy\nrnd build:configure          # writes eas.json + .github\u002Fworkflows\u002Feas-build.yml\nrnd build --platform ios --profile production\nrnd submit --profile production --path build\u002FMyApp.ipa\n```\n\n**Documentation:** [reactnativefeel.com\u002Fdeploy\u002Fdocs](https:\u002F\u002Freactnativefeel.com\u002Fdeploy\u002Fdocs\u002F) ·\n**Getting started:** [guide](https:\u002F\u002Freactnativefeel.com\u002Fdeploy\u002Fdocs\u002Fguide\u002Fgetting-started) ·\n**Commands:** [reference](https:\u002F\u002Freactnativefeel.com\u002Fdeploy\u002Fdocs\u002Freference\u002Fcommands)\n\nThis repository holds two build CLIs that read the same `eas.json`, plus the dashboard and\ninstall service they share.\n\n| | **`rnd`** ([`eas\u002F`](eas\u002FREADME.md)) | **`rn-deploy`** (this directory, [below](#rn-deploy)) |\n|---|---|---|\n| In one line | The same `eas` commands, running on **GitHub Actions** | An EAS-compatible pipeline on **a Mac you point it at** |\n| Where builds run | GitHub-hosted `macos-26` \u002F `ubuntu-latest` runners in your repo | AWS EC2 Mac (provisioned per build), MacinCloud or any SSH-reachable Mac, a cua cloud sandbox, or a GitHub runner (simulator builds) |\n| Command surface | Drop-in for `eas-cli`'s build\u002Fsubmit commands and flags (contract-tested) | `rn-deploy setup` \u002F `build` \u002F `submit` \u002F `infra` \u002F `install` |\n| Signing | Repo secrets; ad-hoc profile regenerated per build from a device registry (`rnd device:create` QR) | `asc` keychain + signing fetch\u002Fsync on the host |\n| Android | Yes (`.apk` \u002F `.aab`) | No |\n| Pay for | GitHub Actions minutes (free on public repos) | the Mac: EC2 host time, a MacinCloud rental, … |\n| Pick it when | you want `eas build` without Expo's servers | you already rent a Mac, or need a full Mac rather than a runner |\n\nBoth read `eas.json` and `app.json`, sign with your App Store Connect API key through\n[`asc`](https:\u002F\u002Fgithub.com\u002Frork\u002Fasc), and upload to TestFlight.\n\n## Shared pieces\n\n| | Where | What |\n|---|---|---|\n| **Dashboard & install service** | [`web\u002F`](web\u002FREADME.md) — live at [react-native-deploy.pages.dev](https:\u002F\u002Freact-native-deploy.pages.dev) | Vite dashboard (builds, build detail, Install QR) and the Cloudflare Pages app that serves it, the public `\u002Finstall\u002F\u003Cid>` pages (itms-services on iOS, APK on Android, QR on desktop) and the R2 upload API |\n| **`rnd` docs** | [`docs-site\u002F`](docs-site\u002F) — [reactnativefeel.com\u002Fdeploy\u002Fdocs](https:\u002F\u002Freactnativefeel.com\u002Fdeploy\u002Fdocs\u002F) | VitePress site; the command reference is generated from the CLI's spec |\n| **rn-deploy docs** | [`rnd-docs\u002F`](rnd-docs\u002FREADME.md) | Fumadocs site |\n| **Release test** | [`docs\u002Frelease-testing\u002F`](docs\u002Frelease-testing\u002F) | End-to-end test of `rnd` as a new user, bugs found and fixed |\n\n```bash\ncd eas && npm install && npm test          # rnd CLI\ncd web && npm install && npm test          # dashboard + install service\nnpm test                                   # rn-deploy (repo root)\n```\n\n## Other tools in this repo\n\nSmaller, independent tools that predate the two CLIs and solve adjacent problems:\n\n| | Where | What |\n|---|---|---|\n| **`rn-build`** | [`gh-build\u002F`](gh-build\u002FREADME.md) | The direct ancestor of `rnd`: GitHub Actions builds with its own `rn-build.config.json` instead of `eas.json` |\n| **`rn-preview`** | [`sim-preview\u002F`](sim-preview\u002FREADME.md) | A booted iOS Simulator on a rented Mac (MacinCloud), streamed to your browser with `baguette` |\n\n---\n\n# rn-deploy\n\nBuild React Native iOS apps on a remote Mac (AWS EC2 Mac or MacinCloud) and ship them to TestFlight, the App Store, or via OTA install pages — without owning a Mac.\n\n`rn-deploy` is a self-hosted, EAS-compatible build pipeline. Point it at a repo, it provisions (or reuses) a Mac, runs your Expo or classic React Native build there, signs with your App Store Connect credentials, and either uploads to TestFlight or publishes a signed `.ipa` to your own R2\u002FS3 bucket with a QR install page.\n\n## Install\n\n```sh\nnpm install -g rn-deploy\n```\n\nRequires Node ≥ 18.17. iOS builds need an [`asc`](https:\u002F\u002Fgithub.com\u002Frork\u002Fasc) install for App Store Connect auth, plus AWS credentials (or an SSH-reachable Mac) for the remote build host.\n\n## Quickstart\n\n```sh\n# 1. One-time interactive setup — writes deploy.config.json\nrn-deploy setup\n\n# 2. Store your App Store Connect API key in the macOS keychain\nrn-deploy credentials configure\n\n# 3. Provision an EC2 Mac (skip if using your own SSH-reachable Mac)\nrn-deploy infra up\n\n# 4. Build + auto-submit to TestFlight\nrn-deploy build --profile production --auto-submit\n\n# 5. Tear down the instance when done\nrn-deploy infra down\n```\n\n## Commands\n\n| Command                       | What it does                                           |\n| ----------------------------- | ------------------------------------------------------ |\n| `rn-deploy setup`             | Interactive first-time setup (`deploy.config.json`)    |\n| `rn-deploy build`             | Build the app on the remote Mac                        |\n| `rn-deploy submit`            | Upload an `.ipa` to TestFlight                         |\n| `rn-deploy builds list`       | List previously published builds from the registry    |\n| `rn-deploy install`           | Install a previously published build (skip rebuilding) |\n| `rn-deploy credentials *`     | Manage App Store Connect API keys (via `asc` keychain) |\n| `rn-deploy infra up\\|down\\|status` | Provision \u002F tear down EC2 Mac infrastructure       |\n\nRun `rn-deploy \u003Ccommand> --help` for full flags.\n\n## Configuration\n\n`rn-deploy` reads `deploy.config.json` from your project root. It follows EAS-style profile inheritance — `preview` and `development` `extends: \"production\"` by default. See `templates\u002Fdeploy.config.json` for the full shape.\n\n### Build host\n\nThe `host` block picks where builds run. Four kinds are supported:\n\n```jsonc\n\u002F\u002F AWS EC2 Mac — provisioned and torn down per build (default)\n\"host\": { \"kind\": \"aws\" }   \u002F\u002F AWS settings live in the \"aws\" block\n\n\u002F\u002F MacinCloud or any SSH-reachable Mac you already own\n\"host\": {\n  \"kind\": \"macincloud\",\n  \"host\": \"TX0XX.macincloud.com\",\n  \"port\": 22,\n  \"user\": \"userXXXXXX\",\n  \"password\": \"${MAC_PASSWORD}\",   \u002F\u002F or \"privateKey\": \"~\u002F.ssh\u002Fid_rsa\"\n  \"workDir\": \"~\u002Frn-deploy-work\"\n}\n\n\u002F\u002F GitHub Actions — build on a macOS runner via a workflow\n\"host\": {\n  \"kind\": \"github-actions\",\n  \"repo\": \"owner\u002Fname\",\n  \"workflow\": \"rn-deploy.yml\",\n  \"ref\": \"main\"\n}\n\n\u002F\u002F cua — a cloud macOS sandbox driven over the @trycua\u002Fcomputer SDK\n\"host\": {\n  \"kind\": \"cua\",\n  \"name\": \"your-cua-sandbox-name\",   \u002F\u002F created via the cua CLI\u002Fdashboard\n  \"osType\": \"macos\",\n  \"apiKey\": \"${CUA_API_KEY}\",        \u002F\u002F defaults to ${CUA_API_KEY}; export it\n  \"workDir\": \"~\u002Frn-deploy-work\"\n}\n```\n\nDifferences with `kind: \"macincloud\"`:\n\n- **No infra lifecycle** — `rn-deploy` never provisions or tears down the machine (`infra up`\u002F`down` are AWS-only). It connects, builds, and disconnects.\n- **No sudo required** — the host is verified rather than provisioned. Xcode, Node, git, and CocoaPods must already be installed; the build fails with guidance if any are missing.\n- **Password or key auth** — set either `password` or `privateKey`.\n- **Secrets stay out of git** — any `${VAR}` in the host block is read from the environment at load time. Keep the literal `${MAC_PASSWORD}` in `deploy.config.json` and export the real value (e.g. from a gitignored `.env`).\n\nWith `kind: \"github-actions\"`:\n\n- `rn-deploy build` dispatches the workflow with `gh`, waits for the run, then prints the published build's links. Requires the [`gh` CLI](https:\u002F\u002Fcli.github.com\u002F) authenticated locally.\n- The build runs on the runner via `rn-deploy run-build` (the build command, but local instead of over SSH). Copy [`templates\u002Fgithub\u002Frn-deploy.yml`](.\u002Ftemplates\u002Fgithub\u002Frn-deploy.yml) into `.github\u002Fworkflows\u002F` and set `R2_ACCESS_KEY_ID` \u002F `R2_SECRET_ACCESS_KEY` as repo secrets.\n- Currently supports `distribution: \"simulator\"` (unsigned, no Apple credentials). Signed device builds on a runner are a follow-up.\n\nWith `kind: \"cua\"`:\n\n- Builds run on a [cua](https:\u002F\u002Fcua.ai) **cloud macOS sandbox**, driven over cua's TypeScript SDK (`@trycua\u002Fcomputer`) instead of SSH. rn-deploy connects, builds, and disconnects — it never provisions or stops the sandbox (manage its lifecycle via the cua CLI\u002Fdashboard).\n- Install the optional SDK (`npm install @trycua\u002Fcomputer`), create a sandbox and note its **name**, then export your `CUA_API_KEY`. Like `macincloud`, the host is verified, not provisioned — Xcode, Node, git, and CocoaPods must already be present in the sandbox image.\n- Pair it with `rn-deploy preview` for a **baguette + Cloudflare quick-tunnel public URL**: it installs the latest `distribution: \"simulator\"` build on the sandbox's simulator and exposes it at a live `*.trycloudflare.com` URL (the tunnel keeps running on the sandbox after the command exits).\n- Heads-up: cua's **cloud macOS** must be available on your plan — iOS builds and baguette both require a Mac, so the Linux\u002FWindows cloud sandboxes can't run this flow.\n\n`rn-deploy setup` can scaffold both workflows into `.github\u002Fworkflows\u002F` for you:\n- [`rn-deploy.yml`](.\u002Ftemplates\u002Fgithub\u002Frn-deploy.yml) — build + publish to R2 (CI).\n- [`preview.yml`](.\u002Ftemplates\u002Fgithub\u002Fpreview.yml) — build → R2 → install on a simulator → **baguette + a Cloudflare quick-tunnel public URL** for live manual testing. Run it from the Actions tab; the URL is live while the job is held open (`minutes` input), then the ephemeral runner is destroyed.\n\nOmitting the `host` block entirely is equivalent to `{ \"kind\": \"aws\" }`, so existing AWS configs keep working unchanged.\n\n## Credentials\n\nCredentials never live in plaintext. `rn-deploy` delegates to [`asc`](https:\u002F\u002Fgithub.com\u002Frork\u002Fasc), which stores App Store Connect API keys encrypted in the macOS keychain. For each build, the key is uploaded to the remote Mac at `\u002Ftmp\u002FAuthKey.p8` (mode `600`), used once, then torn down.\n\n## OTA distribution\n\nIf you configure `storage` in `deploy.config.json` (Cloudflare R2 or S3), `rn-deploy build` publishes the build to your bucket and prints links to a self-hosted install page — useful for ad-hoc\u002Finternal distribution without TestFlight.\n\nWhat's published depends on the profile's `distribution`:\n\n- **`ad-hoc` \u002F `development`** — signed `.ipa` + `manifest.plist` + an install page with an `itms-services:\u002F\u002F` button and a terminal QR code (device install).\n- **`simulator`** — an unsigned `iphonesimulator` build, tarred (`\u003Cscheme>.app.tgz`) and uploaded. No signing, no ASC key, no provisioning needed. The install page shows a `simctl install` one-liner. Great for sharing a runnable build or driving an automated check.\n- **`app-store`** — nothing is published (TestFlight is the install channel).\n\n### Build registry\n\nEvery published build also appends a record to a per-app index at `builds\u002F\u003Cslug>\u002Findex.json` in your bucket (builds are kept forever). That powers two commands:\n\n```bash\nrn-deploy builds list           # table of prior builds for this app\nrn-deploy builds list --all     # across every app in the bucket\n\nrn-deploy install               # interactive picker → install on the host's simulator\nrn-deploy install --latest      # newest build\nrn-deploy install --version 1.0.0\nrn-deploy install --id 8f3e…    # by build id (prefix ok)\n```\n\nFor a `simulator` build, `install` downloads the `.app` from the bucket onto the configured host and runs `xcrun simctl install booted` + `launch` (a simulator must be booted — e.g. via the `baguette` streamer). For an `.ipa` build it prints the device install page + QR instead.\n\n---\n\n## Contributing\n\nIssues and pull requests are welcome — see [CONTRIBUTING.md](.\u002FCONTRIBUTING.md) for the layout,\nhow to run each package's tests, and what a good PR looks like. Report security problems\nprivately, as described in [SECURITY.md](.\u002FSECURITY.md).\n\n## License\n\n[MIT](.\u002FLICENSE) © Rodrigo Figueroa. Part of [React Native Feel](https:\u002F\u002Freactnativefeel.com).\n","React Native Deploy 是一个开源 CLI 工具集，用于在无 Mac 环境下构建、签名和分发 React Native 与 Expo 应用（支持 iOS\u002FAndroid）。它通过 GitHub Actions 托管 EAS 兼容构建流程，复用标准 eas.json 配置，支持 TestFlight 提交、设备 QR 注册安装及自托管安装服务；核心技术基于 GitHub Actions 自动化、asc 签名工具集成与 Cloudflare Pages 提供的轻量级分发门户。适用于中小型团队或个人开发者希望规避 Expo 云构建费用、避免依赖本地 Mac、并实现免费、可审计、自托管的 CI\u002FCD 流程。","2026-11-24 04:43:25","CREATED_QUERY"]