Skip to content

okdargy/proximity-hill

Repository files navigation

proximity-hill

A node-hill script that integrates PeerJS voice chat that has proximity volume.

View Demo View Demo

Setup

Install all necessary packages

npm install

Create your super secret .env file

First, insert your server port to host proximity-hill:

PORT=3000

Now, create a secure 64 character token using Node.js's built in crypto library.

require('crypto').randomBytes(64).toString('hex')

Then insert that token into your .env file just like this:

JWT_SECRET=super_secret_token
PORT=3000

Run your server

To start your server, type in this command:

npm start

Thanks to:

Meshiest/demo-voice

Meshiest/demo-proximity-voice

About

A node-hill script that integrates PeerJS voice chat with proximity volume.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages