This contains everything you need to run your app locally.
View your app in AI Studio: https://ai.studio/apps/drive/1by-0Qj4wCymjFqJM1eo0nCYFbfi9W9Zp
Prerequisites: Node.js
- Install dependencies:
npm install - Set the
GEMINI_API_KEYin .env.local to your Gemini API key - Run the app:
npm run dev
The same web app can run as a native iOS app via Capacitor (one codebase, one UI).
Prerequisites: Xcode and CocoaPods (for iOS simulator or device).
- Build the web app and sync to the iOS project:
npm run ios(This runsnpm run build,npx cap sync ios, and opens the project in Xcode.) - Or step by step:
npm run build, thennpm run cap:sync, then openios/App/App.xcworkspacein Xcode. - In Xcode, select a simulator or device, configure signing if needed, and run.
Auth session is stored with Capacitor Preferences on iOS and localStorage on web.
