Skip to content

nickyvanurk/moshi-moshi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Talk with strangers around the world in real-time.

Moshi Moshi Demo

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Installing

Clone Git repository

git clone https://github.com/nickyvanurk/moshi-moshi.git

Install required npm modules

npm install

Start the client and server

npm run start:client
npm run start:server

Surf to localhost:8080!

Built With

  • WebRTC - Real-time communication for the web
  • Node A JavaScript runtime
  • ws - Node WebSocket implementation

How it Works

When a client is ready to match someone it will open a WebSocket connection to the Node back-end. After it finds a match to partner with it will exchange the required WebRTC data with this partner through the now two open WebSocket connections. Once the required WebRTC data is exchanged the peer to peer WebRTC connection will be established and the two clients will be able to talk to each other. The following diagram depicts this architecture.

Architecture diagram

License

This project is licensed under the MIT License.

About

Talk with strangers around the world in real-time.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •