An open API service indexing awesome lists of open source software.

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.

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.