mirror of
https://github.com/PazdnikOFF/First.git
synced 2026-08-26 22:07:00 -07:00
No description
- JavaScript 64.9%
- HTML 31.7%
- CSS 3.4%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| .gitignore | ||
| client.js | ||
| favicon.ico | ||
| index.html | ||
| LICENSE | ||
| manifest.webmanifest | ||
| offline.html | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| server.js | ||
| style.css | ||
| sw.js | ||
webrtc-p2p-chat
Messing around with WebRTC - initial code taken from https://www.youtube.com/watch?v=ieBtXwHvoNk
Screenshot
Instructions
Requirements
- NPM
- Nodejs
Setup
# Clone directory to webrtc-p2p-chat/
git clone https://github.com/4rChon/webrtc-p2p-chat.git
# Navigate to cloned directory
cd webrtc-p2p-chat
# Install dependencies listed in package.json
npm install
Initialising
npm start
node server
Use
Open a browser tab at localhost:9966 to connect a peer to your local server.