openai-realtime-webrtc for node.js
npm i @werift/openai-webrtc
- Ensure you have Node.js installed.
- Clone the repository:
git clone https://github.com/shinyoshiaki/openai-realtime-webrtc-nodejs.git cd openai-realtime-webrtc-nodejs
- Set your OpenAI API key in the
.env
file.- For environment setup, please refer to the
env.template
file.
- For environment setup, please refer to the
- Install dependencies:
npm install
- Start the server:
npm run server
- In another terminal, start the client:
npm run client