DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to use Mobilecode: what you can do with it

What is Mobilecode? MobileCode is an open source fork of opencode, an AI coding agent, that detects iOS and Android projects and previews them in a simulator or emulator beside your session.

How do I use it? Run curl -fsSL https://raw.githubusercontent.com/hsandhu/mobilecode/main/install | bash to install MobileCode; then open the React Native project folder as a session in MobileCode. Projects up to two directories below the session root are detected; Click Play on the iOS control in the session titlebar. The iOS simulator starts, the app builds, installs, and launches. Full steps below.

Trended earlier

View repo on GitHub

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer

3 use cases

  • Preview a React Native app on iOS and Android at once

    Run one React Native project on both simulators from a single MobileCode session.

    View prompt
    Using the MobileCode repo at https://github.com/hsandhu/mobilecode, start the iOS and Android previews for the React Native project at <project-path> through its device-preview HTTP endpoints (POST /api/device-preview/run with platform ios, then android). Report the run status for each platform. Before reporting success, confirm with GET /api/device-preview that both platforms show a running state.
  • Let an agent fix a failing mobile build on its own

    The device_run tool builds, launches, reads the error, and retries the fix.

    View prompt
    In the MobileCode repo at https://github.com/hsandhu/mobilecode, use the device_run tool to build and launch the <platform> app in the project at <project-path>. Read the build error and log tail on failure, fix the code, and rerun. Report the final status and the changed files. Verify that the last run reached Running before stating the build is fixed.
  • Run MobileCode from source to change it

    Clone the repo, install with Bun, and run the backend, web UI, or desktop app.

    View prompt
    Clone https://github.com/hsandhu/mobilecode into a local folder, run bun install, then start the backend with `bun run --cwd packages/opencode src/index.ts serve --port 4096`. Expected output: the backend running on port 4096. Verify by confirming the server responds locally before reporting that the source build works.

Quick start with Mobilecode

  1. Check you have what it needs: macOS with Xcode for iOS previews; Node 20 or newer (serve-sim needs it); Android SDK platform-tools with at least one AVD for Android previews.
  2. Open hsandhu/mobilecode on GitHub and read the README and license.
  3. Run curl -fsSL https://raw.githubusercontent.com/hsandhu/mobilecode/main/install | bash to install MobileCode.
  4. Open the React Native project folder as a session in MobileCode. Projects up to two directories below the session root are detected.
  5. Click Play on the iOS control in the session titlebar. The iOS simulator starts, the app builds, installs, and launches.
  6. Click Play on the Android control. The emulator starts and connects to the same Metro server that iOS already started.

These steps come from our top use case, Preview a React Native app on iOS and Android at once, which also has a copy-paste agent prompt.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for hsandhu/mobilecode

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Best AI repos for Software and DevOps

About this repo

  • Who it is forMobile app developers, especially React Native or Expo teams, who want an AI coding agent that can build and run their app on a simulator or emulator.
  • Why it is hot243 stars, launched 65 days ago
  • LanguageTypeScript
  • Sourcegithub.com/hsandhu/mobilecode · Back to Hot repos

Requirements

  • macOS with Xcode for iOS previews
  • Node 20 or newer (serve-sim needs it)
  • Android SDK platform-tools with at least one AVD for Android previews
  • A JDK that your project's Gradle version supports
  • Bun, for the install from source path

Add this badge to your README

Maintain Mobilecode? Show readers where to find these use cases. Use cases on Deduped

Markdown

[![Use cases on Deduped](https://dedupedai.com/badge/hsandhu/mobilecode.svg)](https://dedupedai.com/use-cases/hsandhu-mobilecode/?utm_source=github&utm_medium=badge&utm_campaign=hsandhu-mobilecode)

HTML

<a href="https://dedupedai.com/use-cases/hsandhu-mobilecode/?utm_source=github&amp;utm_medium=badge&amp;utm_campaign=hsandhu-mobilecode"><img src="https://dedupedai.com/badge/hsandhu/mobilecode.svg" alt="Use cases on Deduped" height="20"></a>

A static image, no tracking script. About the badge

Questions about Mobilecode

What is Mobilecode?

MobileCode is an open source fork of opencode, an AI coding agent, that detects iOS and Android projects and previews them in a simulator or emulator beside your session. It is an open-source project on GitHub: https://github.com/hsandhu/mobilecode.

How do I use Mobilecode?

Run curl -fsSL https://raw.githubusercontent.com/hsandhu/mobilecode/main/install | bash to install MobileCode; then open the React Native project folder as a session in MobileCode. Projects up to two directories below the session root are detected; Click Play on the iOS control in the session titlebar. The iOS simulator starts, the app builds, installs, and launches. The use cases on this page give the full steps and a copy-paste agent prompt for each job.

Who is Mobilecode for?

Mobile app developers, especially React Native or Expo teams, who want an AI coding agent that can build and run their app on a simulator or emulator.

What can I do with Mobilecode?

3 use cases so far, for example: Preview a React Native app on iOS and Android at once; Let an agent fix a failing mobile build on its own; Run MobileCode from source to change it. Each has steps and a copy-paste agent prompt.

What do I need to run Mobilecode?

macOS with Xcode for iOS previews; Node 20 or newer (serve-sim needs it); Android SDK platform-tools with at least one AVD for Android previews; A JDK that your project's Gradle version supports.

What are alternatives to Mobilecode?

Other hot AI repos in Software and DevOps: Skills, Claude Mem, Freellmapi, Andrej Karpathy Skills, Agent Desktop.

Is Mobilecode safe to run?

Deduped does not own, audit or vouch for it. Read the README and license, run it on your own systems first and review every command before you run it.