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

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

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
```