Omegle Clone
- Node.js (Backend Framework)
- Express.js (Server Handling)
- Socket.io (Real-Time Communication)
- EJS (Templating Engine)
- Tailwind CSS (UI Framework)
Features
- ✅ Anonymous Video Chat – Connect with random users instantly.
- ✅ Real-Time Communication – Powered by Socket.io for smooth, low-latency streaming.
- ✅ Responsive UI – Built with Tailwind CSS for a modern, mobile-friendly experience.
- ✅ Secure Sessions – Ensures privacy in chat connections.
Requirements For Initial Setup
Setting Up
1. Clone/Download the Repository
git clone https://github.com/YOUR_USERNAME/omegle-clone.git
cd omegle-clone
2. Install Dependencies
npm install
3. Run the Server
npm start
How It Works
- Users visit the website and get paired with a random stranger.
- The app uses WebSockets (Socket.io) to establish a peer-to-peer video chat connection.
- If a user disconnects, the system will search for a new match.
- Built-in moderation and security measures ensure safe interactions.
Project Structure
/omegle-clone
│── /public # Static assets (CSS, JS)
│── /views # EJS templates
│── /routes # Express routes
│── /socket # WebSocket logic
│── app.js # Main server file
│── package.json # Dependencies & scripts