The first open-source IDE that creates mobile apps with AI. Build React Native and Expo applications through natural language.
Try it on reactnativevibecode.com
- Frontend: Next.js 14, shadcn/ui, TailwindCSS
- Mobile: React Native, Expo
- AI: Anthropic Claude (via Claude Code)
- Sandboxing: E2b and Daytona SDK for secure code execution
- Database: PostgreSQL (Neon)
- Auth: Better Auth
- Node.js 18+
- npm or pnpm
- Anthropic Claude Code (currently required for AI functionality)
- E2B API key for sandboxing (Daytona integration coming soon)
git clone https://github.com/react-native-vibe-code/react-native-vibe-code-sdk.git react-native-vibe-code
cd react-native-vibe-codepnpm installCreate a .env.local file:
# Required
E2B_API_KEY="your-daytona-api-key"
ANTHROPIC_API_KEY="your-anthropic-api-key"
# Database
DATABASE_URL="your-postgresql-connection-string"
BETTER_AUTH_SECRET="your-auth-secret"
# Optional
NEXT_PUBLIC_APP_URL="http://localhost:3000"The project uses a monorepo structure. Next.js loads environment variables from its app directory (apps/web/), not from the root. Create a symlink to make the root .env.local accessible:
ln -s "$(pwd)/.env.local" apps/web/.env.localpnpm run devOpen http://localhost:3000 to start building mobile apps with AI.
-
Fork/Clone the repository to your GitHub account
-
Deploy to Vercel:
- Connect your GitHub repository to Vercel
- Import the project
-
Configure Environment Variables in Vercel::
Required Variables:
DATABASE_URL=your-postgresql-connection-string BETTER_AUTH_SECRET=your-auth-secret-min-32-chars ANTHROPIC_API_KEY=your-anthropic-api-key E2B_API_KEY=your-daytona-api-keyFor Google OAuth (if using):
GOOGLE_CLIENT_ID=your-google-client-id GOOGLE_CLIENT_SECRET=your-google-client-secretImportant: Do NOT set
NEXT_PUBLIC_APP_URLin production. The app will automatically detect the correct URL. -
Update OAuth Redirect URLs:
- Google OAuth Console: Add
https://your-domain.vercel.app/api/auth/callback/google - Update any other OAuth providers similarly
- Google OAuth Console: Add
-
Deploy and your app should be live!
- Mixed Content Errors: The app automatically uses HTTPS in production. If you see mixed content errors, ensure you're not hardcoding HTTP URLs.
- Authentication Issues: Verify your
BETTER_AUTH_SECRETis set correctly and OAuth redirect URLs match your production domain.
- Open the app in your browser
- Describe the mobile app you want to build
- Watch as the AI generates React Native/Expo code
- Preview (web and native pp options) and test your app in the IDE
As an open-source project, we welcome contributions from the community. If you are experiencing any bugs or want to add some improvements, please feel free to open an issue or pull request.
- Created by ROFI
- This codebase was initialized with the e2b fragments project.
Follow us for latest updates on X RNVIBECODE