https://github.com/shinyoshiaki/openai-realtime-webrtc-nodejs
openai-realtime-webrtc for node.js
https://github.com/shinyoshiaki/openai-realtime-webrtc-nodejs
Last synced: 2 months ago
JSON representation
openai-realtime-webrtc for node.js
- Host: GitHub
- URL: https://github.com/shinyoshiaki/openai-realtime-webrtc-nodejs
- Owner: shinyoshiaki
- License: mit
- Created: 2025-01-10T15:40:55.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2025-03-06T07:16:16.000Z (2 months ago)
- Last Synced: 2025-03-06T07:17:19.754Z (2 months ago)
- Language: TypeScript
- Size: 183 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# openai-realtime-webrtc-nodejs
openai-realtime-webrtc for node.js## Installation
```sh
npm i @werift/openai-webrtc
```## Setup and Run
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
```
3. Set your OpenAI API key in the `.env` file.
- For environment setup, please refer to the `env.template` 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
```