Omegle-clone

◴ 23 November 2023 | ☕ 2 mins

Github Source Code

🗨️ Overview

This is a web-based Omegle clone where two individuals can connect via video calls. It was developed as part of my second-year internship to explore and implement WebRTC. The main objective of the project was to understand peer-to-peer (P2P) connections and real-time communication in browsers.

At a high level:

💻 Software Stack

LayerTechnologies
FrontendReact, socket.io-client
BackendNode.js, Express, CORS, socket.io
ProtocolWebRTC

🛡️ Why this stack?

🛠️ Installation & Usage

To run the app locally, follow these steps:

# Clone the repository
git clone git@github.com:HISHAN03/Omegle.git
cd Omegle

Install Dependencies

# Server
cd server
npm install

# Client
cd ../client
npm install

Run the app

# Start the client
cd client
npm run dev

U can deploy the backend server in locally and update the connection url in the client side

Access the app

Open your browser and go to:
http://localhost:5173

🧠 Peer-to-Peer (P2P) — How it works


🖼️ Screenshots

Home Page

Video Chat