[PR #1593] [CLOSED] Add React Native mobile app for opencode #9987

Closed
opened 2026-02-16 18:14:30 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/anomalyco/opencode/pull/1593
Author: @nitishxyz
Created: 8/4/2025
Status: Closed

Base: devHead: nitishxyz/opencode-mobile


📝 Commits (10+)

  • f002923 docs: share test
  • 7438a36 ```
  • 25f9bcb Feat: Add react-native-sse package
  • d92f8fd Feat: Add API services for local and remote data
  • 92a1ec0 Feat: Add basic app navigation with tabs and chat
  • 146015a Feat: Implement home page and server connection setup
  • 7ffb388 Feat: Display and send messages in chat page
  • 84054c5 Refactor: Integrate streaming service for real-time updates
  • 004bcba Refactor: Improve chat streaming and local storage
  • 6b1c506 Chore: Upgrade bun version in EAS config

📊 Changes

164 files changed (+24526 additions, -195 deletions)

View changed files

📝 bun.lock (+2047 -194)
packages/mobile/.gitignore (+41 -0)
packages/mobile/.watchmanconfig (+0 -0)
packages/mobile/README.md (+325 -0)
packages/mobile/app.config.ts (+103 -0)
packages/mobile/app/(app)/_layout.tsx (+15 -0)
packages/mobile/app/(app)/chat/[sessionId]/index.tsx (+14 -0)
packages/mobile/app/(app)/tabs/_layout.tsx (+33 -0)
packages/mobile/app/(app)/tabs/home/index.tsx (+38 -0)
packages/mobile/app/(app)/tabs/settings/index.tsx (+3 -0)
packages/mobile/app/_layout.tsx (+12 -0)
packages/mobile/app/index.tsx (+23 -0)
packages/mobile/assets/fonts/SpaceMono-Regular.ttf (+0 -0)
packages/mobile/assets/images/adaptive-icon.png (+0 -0)
packages/mobile/assets/images/favicon.png (+0 -0)
packages/mobile/assets/images/icon.png (+0 -0)
packages/mobile/assets/images/splash-icon.png (+0 -0)
packages/mobile/babel.config.js (+11 -0)
packages/mobile/bun.lock (+2274 -0)
packages/mobile/drizzle.config.ts (+8 -0)

...and 80 more files

📄 Description

Summary

• Add comprehensive React Native mobile application with Expo framework
• Implement chat interface with real-time messaging and session management
• Integrate with opencode API for seamless mobile access to AI assistant functionality
• Add README with instructions to run the app.

More Info

  • This is a work in progress, a lot of performance optimizations are to be made.
  • Some dumb decisions were also made with or without the help of ai, so have to fix them yet.
  • one thing i missed to add was multiple servers, as i missed to relate serverIds to the sessions, which would allow to switch servers. (will work on it next maybe)

What is done

  • Connecting to a server
  • Listing sessions
  • Creating new sessions
  • Response streaming
  • Markdown rendering
  • Costs
  • Tool call specific UI
  • Swipe up to switch mode (plan, build)


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/anomalyco/opencode/pull/1593 **Author:** [@nitishxyz](https://github.com/nitishxyz) **Created:** 8/4/2025 **Status:** ❌ Closed **Base:** `dev` ← **Head:** `nitishxyz/opencode-mobile` --- ### 📝 Commits (10+) - [`f002923`](https://github.com/anomalyco/opencode/commit/f00292376f09f90732c7dd012ca4aeafedde2d59) docs: share test - [`7438a36`](https://github.com/anomalyco/opencode/commit/7438a36347a69578fb7191480007d0e9b7a63478) ``` - [`25f9bcb`](https://github.com/anomalyco/opencode/commit/25f9bcb85efd3862138b4e90f5dc92aed6ae4cdc) Feat: Add react-native-sse package - [`d92f8fd`](https://github.com/anomalyco/opencode/commit/d92f8fd94fccf5eb4e57b9010a5ef788c4760fc5) Feat: Add API services for local and remote data - [`92a1ec0`](https://github.com/anomalyco/opencode/commit/92a1ec02646719a23f0a56a1cfcb08c9680a4856) Feat: Add basic app navigation with tabs and chat - [`146015a`](https://github.com/anomalyco/opencode/commit/146015ad6874cbfcf4620e480d1614b70ee16558) Feat: Implement home page and server connection setup - [`7ffb388`](https://github.com/anomalyco/opencode/commit/7ffb3889b908de8bd1239430d6c66a3251d8bbec) Feat: Display and send messages in chat page - [`84054c5`](https://github.com/anomalyco/opencode/commit/84054c57a2eaee35698efe220b189c39842f6864) Refactor: Integrate streaming service for real-time updates - [`004bcba`](https://github.com/anomalyco/opencode/commit/004bcba7e91239e7ef89905a7684a139792b2506) Refactor: Improve chat streaming and local storage - [`6b1c506`](https://github.com/anomalyco/opencode/commit/6b1c506146841df29e35efb3cca224c0d3c7f1bf) Chore: Upgrade bun version in EAS config ### 📊 Changes **164 files changed** (+24526 additions, -195 deletions) <details> <summary>View changed files</summary> 📝 `bun.lock` (+2047 -194) ➕ `packages/mobile/.gitignore` (+41 -0) ➕ `packages/mobile/.watchmanconfig` (+0 -0) ➕ `packages/mobile/README.md` (+325 -0) ➕ `packages/mobile/app.config.ts` (+103 -0) ➕ `packages/mobile/app/(app)/_layout.tsx` (+15 -0) ➕ `packages/mobile/app/(app)/chat/[sessionId]/index.tsx` (+14 -0) ➕ `packages/mobile/app/(app)/tabs/_layout.tsx` (+33 -0) ➕ `packages/mobile/app/(app)/tabs/home/index.tsx` (+38 -0) ➕ `packages/mobile/app/(app)/tabs/settings/index.tsx` (+3 -0) ➕ `packages/mobile/app/_layout.tsx` (+12 -0) ➕ `packages/mobile/app/index.tsx` (+23 -0) ➕ `packages/mobile/assets/fonts/SpaceMono-Regular.ttf` (+0 -0) ➕ `packages/mobile/assets/images/adaptive-icon.png` (+0 -0) ➕ `packages/mobile/assets/images/favicon.png` (+0 -0) ➕ `packages/mobile/assets/images/icon.png` (+0 -0) ➕ `packages/mobile/assets/images/splash-icon.png` (+0 -0) ➕ `packages/mobile/babel.config.js` (+11 -0) ➕ `packages/mobile/bun.lock` (+2274 -0) ➕ `packages/mobile/drizzle.config.ts` (+8 -0) _...and 80 more files_ </details> ### 📄 Description ## Summary • Add comprehensive React Native mobile application with Expo framework • Implement chat interface with real-time messaging and session management • Integrate with opencode API for seamless mobile access to AI assistant functionality • Add README with instructions to run the app. ## More Info - This is a work in progress, a lot of performance optimizations are to be made. - Some dumb decisions were also made with or without the help of ai, so have to fix them yet. - one thing i missed to add was multiple servers, as i missed to relate serverIds to the sessions, which would allow to switch servers. (will work on it next maybe) ## What is done - Connecting to a server - Listing sessions - Creating new sessions - Response streaming - Markdown rendering - Costs - Tool call specific UI - Swipe up to switch mode (plan, build) <p float="left"> <img src="https://github.com/user-attachments/assets/4d6c89d7-ecc2-44ce-ba10-3d2c15b14fa8" width="300" /> <img src="https://github.com/user-attachments/assets/b729a26e-6298-43fb-b146-363c914fa17c" width="300" /> <img src="https://github.com/user-attachments/assets/83c6e17f-69fb-4106-8b3a-429b98b0f84d" width="300" /> </p> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 18:14:30 -05:00
yindo closed this issue 2026-02-16 18:14:30 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#9987