https://github.com/thorwebdev/expo-webrtc-openai-realtime
Example using OpenAI Realtime WebRTC with Expo React Native.
https://github.com/thorwebdev/expo-webrtc-openai-realtime
Last synced: about 1 year ago
JSON representation
Example using OpenAI Realtime WebRTC with Expo React Native.
- Host: GitHub
- URL: https://github.com/thorwebdev/expo-webrtc-openai-realtime
- Owner: thorwebdev
- Created: 2025-01-07T14:18:57.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-09T09:02:24.000Z (over 1 year ago)
- Last Synced: 2025-03-31T10:01:34.088Z (about 1 year ago)
- Language: TypeScript
- Size: 719 KB
- Stars: 91
- Watchers: 2
- Forks: 19
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# OpenAI Realtime WebRTC Expo Demo
## Set up Supabase
- `cp supabase/functions/.env.example supabase/functions/.env`
- Set your `OPENAI_API_KEY`
- Run `supabase start` to serve your functions locally
## Prebuild
- `npx expo prebuild`
- `npx expo run:android`
- `npx expo run:ios`
## Deploy (needed to run on physical device)
```bash
supabase link
supabase functions deploy
supabase secrets set --env-file supabase/functions/.env
```
Now update your `EXPO_PUBLIC_SUPABASE_URL` and `EXPO_PUBLIC_SUPABASE_ANON_KEY` in your `.env.local` file.