Skip to content

Latest commit

 

History

History
39 lines (24 loc) · 1.49 KB

File metadata and controls

39 lines (24 loc) · 1.49 KB

Expo Router AI App Generator

Watch the stream where I built this.

app-builder.mp4

Build an app that makes apps with Expo Router! Also functions as a React website that generates React websites!

Use Expo Router with AI SDK and Nativewind styling.

◆ Builds websites and native apps ◆ 100% code sharing ◆ Fully streamed responses ◆ Auto installs missing dependencies ◆ Supports swapping AI models ◆ DOM components for code blocks ◆ React Server Actions for bundling

🚀 How to use

Add an OpenAI API key to .env:

OPENAI_API_KEY=sk-proj-...

Finally you can start the app with npx expo.

Deploy

This project uses the local Metro bundler to evaluate React code, this won't work in production without a remote Metro instance running.

Ensure you set the EXPO_UNSTABLE_DEPLOY_SERVER=1 environment variable to enable parallel deployments to the server.

Deploy on all platforms with Expo Application Services (EAS).

  • Deploy the website: npx eas-cli deployLearn more
  • Deploy on iOS and Android using: npx eas-cli buildLearn more