react-native-vibe-code/react-native-vibe-code-sdk
حول
The React Native Vibe Code SDK lets you build text to mobile & web apps in seconds. A full suite of packages to run your your own vibe coding features or platform. Try cloud version at https://reactnativevibecode.com
تطوير الويب والتطبيقاتالنمو المقاس للنجوم
- خلال 24 ساعة
- ٠
- خلال 7 أيام
- ٠
- خلال 15 يومًا
- -١
- خلال شهر
- جارٍ جمع السجل
تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.
README.md
الأصلReact Native Vibe Code
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
Stack
- 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
Requirements
- Node.js 18+
- npm or pnpm
- Anthropic Claude Code (currently required for AI functionality)
- E2B API key for sandboxing (Daytona integration coming soon)
Installation
1. Clone the repository
git clone https://github.com/react-native-vibe-code/react-native-vibe-code-sdk.git react-native-vibe-code
cd react-native-vibe-code
2. Install dependencies
pnpm install
3. Configure environment variables
Create 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"
4. Set up environment variables for monorepo
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.local
5. Run the development server
pnpm run dev
Open http://localhost:3000 to start building mobile apps with AI.
Deployment
Vercel Deployment
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!
Troubleshooting
- 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.
Usage
- 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
Contributing
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.
Credits
- Created by ROFI
- This codebase was initialized with the e2b fragments project.
Socials
Follow us for latest updates on X RNVIBECODE
استكشف مشاريع مشابهة ومرتبطة
جارٍ التحميل…