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
웹 및 앱 개발측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- -1
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalReact 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
관련 프로젝트 살펴보기
불러오는 중…