| back-end | Migrate back-end to vite, update dependencies & configure new deployment commands | |
| front-end | Update front-end dependencies & format code | |
| .gitignore | Migrate sibiu-web-meetup demo | |
| LICENSE | Initial commit | |
| package-lock.json | Update README & add app-level deployment commands | |
| package.json | Update README & add app-level deployment commands | |
| README.md | Update README & add app-level deployment commands | |
phony
A phone-like app showcasing real-time communication through WebRTC
phony provides peer-to-peer, encrypted, anonymous communication between a reasonable number of users (recommended under 10, due to direct p2p topology)
The first version was implemented as a support for the WebRTC: start here talk
The talk was adapted later on into an article that you can check to understand better how the application works (and what you need to do if p2p connection is not possible)
Installation
-
Install dependencies
cd phony npm install -
Run the app
-
- Development
cd phony/front-end npm run devcd phony/back-end npm run dev -
- Production
cd phony npm run prod
-
Notes on p2p connections
-
The app uses, by default, the STUN protocol to determine if a peer-to-peer connection is possible
- The default STUN server is provided by Google at the address:
stun.l.google.com:19302 - You can test your STUN connectivity here
- The default STUN server is provided by Google at the address:
-
Depending on the NAT type of the users, a TURN server might be needed to relay traffic
- Learn more about NAT types and find out what type your network has here
-
Because TURN servers are used to relay traffic actively, they are usually not available for free, so you might need to deploy one yourself