Product

Your code stays on your computer: where a real Apirex project lives

We built Streakly three times: Android, iPhone and web. All three projects are folders on our Mac. Here is what stays on your computer, what Apirex keeps, and the trade-off.

Apirex Team1 December 20268 min readAndroidiOSWeb
Your code stays on your computer: where a real Apirex project lives
On this page
  1. Connect your computer once
  2. What lives on your computer
  3. What Apirex stores
  4. See the code without leaving the builder
  5. The trade-off, honestly
  6. The three Streakly projects
  7. Frequently asked questions
  8. Try it

On 30 November 2026 we built the same habit tracker, Streakly, three times: a native Android app in Kotlin, an iPhone app in SwiftUI, and a website for it in React. All three projects ended up as ordinary folders on the Mac we built them on. No export step, no download button needed to get our own code back.

This post is the plain version of how that works. How you connect a computer, what lives on it, what Apirex keeps on its side, and the trade-off you accept when the builder works on your machine instead of a server. We use real screens from our own builds and test runs, with tokens, IDs and user names blurred.

Connect your computer once

The first time a project needs your computer, Apirex shows a "Connect your computer" card with one command and three tabs: macOS / Linux (a curl command), Windows (PowerShell) and npx. You open Terminal, paste the command and press Enter. The command carries a connect token for your account, which is why we blurred it.

Apirex Connect your computer card with macOS / Linux, Windows and npx tabs and a curl install command, token blurred
One command, three tabs. The connect token at the end of the command is blurred.

What runs is the Apirex Local Agent. It prints its version, checks Node, npm and git, and tells you which project it has taken on: "Simple Habit Tracker is assigned to this computer", the kind of project (Android here) and the folder it will use. Then it gets the tools that project needs. On this test run it found the Android tools already installed, confirmed the Mac was Apple Silicon and could run the Android emulator, and started downloading the emulator, about 1.3 GB.

Apirex Local Agent v6.0.342 in Terminal connecting a Mac, assigning an Android project to a local folder and downloading the Android emulator
The Local Agent in Terminal: project assigned, folder chosen, Android tools ready, emulator downloading. Project ID and user name blurred.

The Terminal window also says the part that matters most: "Keep this window open: your project runs from here. Closing it turns the project off; run the same command again to turn it back on." The command stays tied to that computer, so next time you run the same line and you are back.

In the browser you do not have to watch Terminal. The card switches to "Connecting your computer" and ticks through Computer detected, starting the Android emulator, Starting your app and Connected. When it reaches the end, the project opens by itself.

Apirex Connecting your computer card with live steps: command received, computer detected, starting the Android emulator, starting your app, connected
Live progress in the browser while the Local Agent sets up the computer.
Apirex builder after the computer connected: the Streakly plan waiting for approval and the built-in Android emulator booted on an Apple Silicon Mac
Connected: the Streakly plan on the left, the built-in Android emulator already running on the right.

What lives on your computer

Everything the app is made of. The Local Agent keeps each project in a folder in your home directory, sorted by kind: Android-Projects and Web-Projects, with a Toolchains folder next to them. Inside an Android project you find exactly what Android Studio would expect: app, gradle, build.gradle.kts, settings.gradle.kts, gradlew and gradle.properties.

Finder showing an Apirex Android project folder on a Mac with app, gradle, build.gradle.kts, settings.gradle.kts and gradlew
An Apirex Android project in Finder on our test Mac: a normal Gradle project. Project folder names and the user name are blurred.
  • Source files. Kotlin for Android, Swift for iPhone, TypeScript for the web. Apirex writes them into that folder.
  • Packages. The Local Agent downloads the libraries and tools a project needs. Packages are installed once per computer and later projects reuse them.
  • Builds. Gradle runs on your computer for Android and xcodebuild runs on your Mac for iPhone. Our Android build printed BUILD SUCCESSFUL in 3m on our Mac, and the iPhone build printed BUILD SUCCEEDED.
  • Preview, inside the builder. Web projects run a local dev server and the builder shows it in its preview panel. Android apps open in the Apirex built-in Android emulator, right in the builder, on Apple Silicon Macs with macOS 13 or later. iPhone apps open in the iOS Simulator, streamed into the same preview panel from your Mac, so you tap and test without leaving Apirex.
What runs where, as of 3 December 2026. The Local Agent connects on all four.
Your computerWeb appsAndroid appsiPhone apps
Apple Silicon Mac (macOS 13+)Build + live preview in the builderBuild + built-in Android emulator in the builderBuild + iOS Simulator in the builder (needs Xcode)
Intel MacBuild + live preview in the builderBuild on your Mac, test the APK on your Android phone (USB, download, or QR link in beta)Build with Xcode; live iPhone preview in the builder is Apple Silicon only for now
Windows PC (PowerShell)Build + live preview in the builderBuild on your PC, test the APK on your Android phone (USB, download, or QR link in beta); built-in emulator coming soonNeeds a Mac
Linux (curl)Build + live preview in the builderBuild on your PC, test the APK on your Android phone (USB, download, or QR link in beta)Needs a Mac

For the iPhone build that meant the Local Agent first found Xcode on our Mac and fetched the iOS Simulator runtime, 8.32 GB, once. It did not need to send anything to a remote Mac, because there is none involved: the Simulator in the builder is the one on your desk.

Apirex Local Agent detecting Xcode on a Mac and downloading the iOS Simulator runtime
The iPhone side: the Local Agent uses the Xcode already on your Mac.

What Apirex stores

Apirex only stores your AI chat, backend functions and the project name. Your source folder is not copied to an Apirex server for safekeeping.

Two honest details go with that line, and we would rather say them than have you find them later:

  • AI tasks need to read code. When you ask for a change, the relevant files are processed so the AI can write the change. That is how any AI builder works; the difference here is that the project itself stays in your folder.
  • Publishing uploads site files. When we pressed Publish on the Streakly website, the built site went to an apirex.app address so people could visit it. A website has to live somewhere public to be a website.

If your app needs a database, accounts or file storage, you connect your own Supabase project from the Backend tab. The data then lives in your Supabase project, not in a database Apirex runs for you. Backend functions you create are part of what Apirex stores, as listed above.

See the code without leaving the builder

You do not have to open Finder to read what Apirex wrote. The Code tab shows the same project folder as a file tree. For the Android Streakly project that is .apirex, .gradle, app, gradle with its wrapper and libs.versions.toml, build.gradle.kts, gradle.properties, roadmap.md and settings.gradle.kts.

Apirex Code tab showing the Streakly Android project file tree and roadmap.md next to the chat
The Code tab for Streakly: the project tree and roadmap.md, the plan Apirex keeps inside the project.

roadmap.md is a nice example of the idea. The plan we approved for Streakly is saved as a file in the project, with a checkbox per screen. It sits in your folder like everything else, so it travels with the code. The Code tab itself is read-only; you change code by asking Apirex, or by opening the folder in your own editor.

The trade-off, honestly

Building on your own machine has one real cost: the builder needs a connected computer. If the Local Agent stops, because the Terminal window closed or the connection dropped, the project goes offline and the builder waits until it is back.

We hit this during the Streakly website build. Right after we pressed send, the project showed the "Connect your computer" card again: the Local Agent had dropped. Running the command again in Terminal and waiting for Connected took about a minute and a half. Then the build carried on and finished in 4 minutes 36 seconds of building.

There are hardware limits too. Windows and Linux PCs build web and Android apps fully; iPhone builds need a Mac with Xcode. The built-in Android emulator runs on Apple Silicon Macs with macOS 13 or later; on Windows, Linux and Intel Macs you test the same Android app on your own phone: install it over USB, download the APK from the builder, or scan a QR link on the same Wi-Fi (beta). We think a dependency you can see is better than one you cannot.

The three Streakly projects

3 builds, 3 folders on one Mac, 0 export steps. Built on 30 November 2026.
ProjectStackBuilt onWhere it lives
Streakly · AndroidKotlin + Jetpack ComposeGradle on our Mac, 9:24A project folder on our Mac
Streakly · iPhoneSwift + SwiftUIxcodebuild on our Mac, 8:17An Xcode project on our Mac
Streakly websiteReact + Vite, TypeScriptOur Mac, 4:36A project folder on our Mac, published to apirex.app

Frequently asked questions

Does my code go to Apirex's servers?

Your project folder stays on your computer. Apirex stores your AI chat, backend functions and the project name. When you ask for a change, the relevant code is processed by the AI to write it, and when you publish a website, the built site files are uploaded to its address.

Which computers work with Apirex?

Mac, Windows and Linux all connect with one curl, PowerShell or npx command, and all of them build web and Android apps. iPhone builds need a Mac with Xcode. The built-in Android emulator runs inside the builder on Apple Silicon Macs with macOS 13 or later today; the Windows version is coming soon. On Windows, Linux and Intel Macs you test Android apps on your own phone over USB, by downloading the APK, or with a QR link on the same Wi-Fi (beta).

What happens if my computer sleeps or the Terminal window closes?

If the computer sleeps, the window closes or the connection drops, the project goes offline and the builder waits. Run the same command again; reconnecting took us about a minute and a half.

Can I open the project in my own editor?

Yes. It is a normal folder: open an Android project in Android Studio, an iPhone project in Xcode, or any project in your code editor. You can also read every file in the Code tab inside Apirex.

What does Apirex store about my project?

Your AI chat, the backend functions you create and the project name. App data from a backend lives in your own Supabase project, which you connect from the Backend tab.

Try it

Start a project, run the connect command once and keep the Terminal window open while you build. Then open the folder and look around: it is yours. Your code. Your machine. Your build.

Edit anything in your app: click it, describe it, show it an image, or plug in a backend

Build it on your own computer

Describe the app and Apirex writes real source you own, then builds it on your machine.

Streakly running in the Apirex built-in Android emulator on an Apple Silicon MacReal Android result from this post

Opens Apirex with this prompt. Pick the Android · Kotlin tab before you send. The Free plan includes 5 Rex Credits a day.