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