{"id":29543100,"url":"https://github.com/krishangoyal12/video-chat-application","last_synced_at":"2026-05-07T00:35:33.177Z","repository":{"id":302811651,"uuid":"1013697341","full_name":"krishangoyal12/Video-Chat-Application","owner":"krishangoyal12","description":"Our very own personal video chat application to connect seamlessly with family and friends","archived":false,"fork":false,"pushed_at":"2025-07-13T06:17:07.000Z","size":48,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-13T08:31:58.947Z","etag":null,"topics":["socket-io","webrtc"],"latest_commit_sha":null,"homepage":"https://krishan-video-call-app.netlify.app/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/krishangoyal12.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-07-04T10:12:31.000Z","updated_at":"2025-07-13T06:17:11.000Z","dependencies_parsed_at":"2025-07-04T11:30:59.550Z","dependency_job_id":"3c087455-3989-47f6-9396-4953e361ac45","html_url":"https://github.com/krishangoyal12/Video-Chat-Application","commit_stats":null,"previous_names":["krishangoyal12/video-chat-application"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/krishangoyal12/Video-Chat-Application","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krishangoyal12%2FVideo-Chat-Application","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krishangoyal12%2FVideo-Chat-Application/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krishangoyal12%2FVideo-Chat-Application/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krishangoyal12%2FVideo-Chat-Application/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/krishangoyal12","download_url":"https://codeload.github.com/krishangoyal12/Video-Chat-Application/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krishangoyal12%2FVideo-Chat-Application/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272160241,"owners_count":24883779,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-26T02:00:07.904Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["socket-io","webrtc"],"created_at":"2025-07-17T13:02:33.010Z","updated_at":"2026-05-07T00:35:33.154Z","avatar_url":"https://github.com/krishangoyal12.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Real-Time Video Chat Application\n\nThis is a full-stack, real-time video and audio chat application built with modern web technologies. It allows multiple users to join a room and communicate via peer-to-peer connections, facilitated by a central signaling server.\n\n## Live Demo\n\nA live version of the application is deployed here: **[https://krishan-video-call-app.netlify.app](https://krishan-video-call-app.netlify.app)**\n\n## Features\n\n- **Real-Time Communication**: High-quality, low-latency video and audio streaming using WebRTC.\n- **Room-Based System**: Users can create new, unique rooms or join existing ones using a room ID or a direct link.\n- **Dynamic Video Grid**: The layout automatically adjusts to the number of participants in the call for an optimal viewing experience.\n- **Media Controls**: Users can mute/unmute their microphone and enable/disable their camera at any time.\n- **Active Speaker Detection**: The participant who is currently speaking is highlighted with a visual indicator.\n- **Connection Status**: A clear indicator shows the current connection status to the signaling server.\n- **Video-Off Avatars**: When a user's video is turned off, an avatar is displayed with their status.\n- **Responsive Design**: The UI is fully responsive and works seamlessly on both desktop and mobile devices.\n\n## Tech Stack\n\nThe project is a monorepo divided into a `Client` (frontend) and a `Server` (backend).\n\n### Client (Frontend)\n\n- **Framework**: [React 19](https://react.dev/)\n- **Build Tool**: [Vite](https://vitejs.dev/)\n- **Routing**: [React Router](https://reactrouter.com/)\n- **Real-Time Engine**: [Socket.IO Client](https://socket.io/docs/v4/client-api/)\n- **Icons**: [Lucide React](https://lucide.dev/)\n- **Unique IDs**: [UUID](https://github.com/uuidjs/uuid)\n\n### Server (Backend)\n\n- **Runtime**: [Node.js](https://nodejs.org/)\n- **Framework**: [Express.js](https://expressjs.com/)\n- **Real-Time Engine**: [Socket.IO](https://socket.io/)\n- **CORS**: [node-cors](https://github.com/expressjs/cors)\n- **Environment Variables**: [dotenv](https://github.com/motdotla/dotenv)\n- **Development**: [Nodemon](https://nodemon.io/)\n\n## Project Structure\n\n```\nVideo-Call-Application/\n├── Client/\n│   ├── public/\n│   ├── src/\n│   │   ├── Pages/\n│   │   │   ├── LandingPage.jsx\n│   │   │   ├── Room.css\n│   │   │   └── Room.jsx\n│   │   ├── App.jsx\n│   │   └── main.jsx\n│   ├── .env\n│   ├── netlify.toml\n│   ├── package.json\n│   └── vite.config.js\n│\n└── Server/\n    ├── .env\n    ├── package.json\n    ├── server.js\n    └── socket.js\n```\n\n## Getting Started\n\nFollow these instructions to set up and run the project on your local machine.\n\n### Prerequisites\n\n- [Node.js](https://nodejs.org/en/download/) (v18 or later recommended)\n- [npm](https://www.npmjs.com/get-npm) (comes with Node.js)\n\n### Installation \u0026 Setup\n\n1.  **Clone the repository:**\n\n    ```sh\n    git clone https://github.com/krishangoyal12/Video-Chat-Application\n    cd Video-Call-Application\n    ```\n\n2.  **Set up the Backend Server:**\n\n    ```\n    cd Server\n    npm install\n    ```\n\n    Create a `.env` file in the `Server` directory and add the following variables:\n\n    ```env\n    # Server port\n    PORT=8000\n    # The URL of your running frontend client\n    FRONTEND_URL=http://localhost:5173\n    ```\n\n    Now, start the server:\n\n    ```\n    npm start\n    ```\n\n    The server should now be running at `http://localhost:8000`.\n\n3.  **Set up the Frontend Client:**\n    Open a new terminal window.\n    ```sh\n    cd Client\n    npm install\n    ```\n    Create a `.env` file in the `Client` directory and add the following:\n    ```env\n    # The URL of your running backend server\n    VITE_BACKEND_URL=http://localhost:8000\n    ```\n    Now, start the client development server:\n    ```sh\n    npm run dev\n    ```\n    The application should now be running at `http://localhost:5173`.\n\n## How It Works\n\nThe application leverages WebRTC for peer-to-peer media streaming, with a Node.js server acting as a **signaling server** to coordinate connections.\n\n1.  **Joining a Room**: When a user joins a room, the client connects to the Socket.IO server and emits a `join-room` event.\n2.  **Signaling**: The server adds the user to a room and notifies them of existing participants. For each existing participant, a new `RTCPeerConnection` is created.\n3.  **Peer Connection**: The new user exchanges signaling messages (SDP offers/answers and ICE candidates) with other users in the room via the Socket.IO server. This process, known as the \"handshake,\" establishes a direct peer-to-peer connection.\n4.  **Media Streaming**: Once the connection is established, video and audio data are streamed directly between the users' browsers, minimizing latency and server load.\n5.  **Disconnection**: When a user leaves, a `disconnect` event is fired, and the server notifies all other room participants to close the corresponding peer connection.\n\n## Deployment\n\n- **Client**: The frontend is deployed on **Netlify**.\n- **Server**: The backend server is deployed to **Render**.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkrishangoyal12%2Fvideo-chat-application","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkrishangoyal12%2Fvideo-chat-application","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkrishangoyal12%2Fvideo-chat-application/lists"}