Skip to content

React app for inspecting, building and debugging with the Realtime API

License

Notifications You must be signed in to change notification settings

simonbeirouti/openai-realtime-console

 
 

Repository files navigation

Rafiki OS

Rafiki OS is a voice-first operating system built on top of the OpenAI Realtime API. This will enable those in Kenya to interact with their devices and services using voice.

Landing Page

Chat Conversation

You can watch the demo video here.

ToDos

  • Show chat conversation
  • Upload images

Starting the console

$ npm i

Start your server with:

$ npm start

It should be available via localhost:3000.

Now start the relay server with:

$ npm run relay

It will start automatically on localhost:8081.

You will need to create a .env file with the following configuration:

OPENAI_API_KEY=YOUR_API_KEY
REACT_APP_LOCAL_RELAY_SERVER_URL=http://localhost:8081

You will need to restart both your React app and relay server for the .env. changes to take effect. The local server URL is loaded via ConsolePage.tsx. To stop using the relay server at any time, simply delete the environment variable or set it to empty string.

About

React app for inspecting, building and debugging with the Realtime API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 67.7%
  • TypeScript 23.8%
  • SCSS 5.9%
  • HTML 2.1%
  • CSS 0.5%