{"id":30659224,"url":"https://github.com/rayiumir/vidoor","last_synced_at":"2025-08-31T12:44:38.847Z","repository":{"id":305781402,"uuid":"1023298156","full_name":"Rayiumir/Vidoor","owner":"Rayiumir","description":null,"archived":false,"fork":false,"pushed_at":"2025-07-22T00:02:53.000Z","size":2435,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-22T02:28:43.297Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"EJS","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/Rayiumir.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-21T00:10:41.000Z","updated_at":"2025-07-22T00:02:56.000Z","dependencies_parsed_at":"2025-07-22T02:29:13.411Z","dependency_job_id":"273f0c8b-a929-4212-8a73-1358f5c8815e","html_url":"https://github.com/Rayiumir/Vidoor","commit_stats":null,"previous_names":["rayiumir/vidoor"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/Rayiumir/Vidoor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rayiumir%2FVidoor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rayiumir%2FVidoor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rayiumir%2FVidoor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rayiumir%2FVidoor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Rayiumir","download_url":"https://codeload.github.com/Rayiumir/Vidoor/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rayiumir%2FVidoor/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272982771,"owners_count":25025984,"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-31T02:00:09.071Z","response_time":79,"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":[],"created_at":"2025-08-31T12:44:38.265Z","updated_at":"2025-08-31T12:44:38.802Z","avatar_url":"https://github.com/Rayiumir.png","language":"EJS","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n    \u003cpicture\u003e\n        \u003cimg alt=\"TaskSquad Logo\" src=\"./logo/vidoor.png\" style=\"width: 200px;\"\u003e\n    \u003c/picture\u003e\n\u003c/p\u003e\n\n# Vidoor\n\nA Video Chat Application Built with Node.js, Express, Socket.io, and PeerJS\n\n## Features\n\n- **Real-time Video Chat**: Connect with others in private video chat rooms.\n- **Unique Room Links**: Each session has a unique URL for easy sharing and joining.\n- **Peer-to-Peer Media**: Uses WebRTC via PeerJS for direct video/audio streaming between users.\n- **Mute/Unmute \u0026 Video On/Off**: Toggle your microphone and camera during a call.\n- **Invite Others**: Share your room link to invite others to join your video chat.\n\n## Prerequisites\n\n- [Node.js](https://nodejs.org/) (v14 or higher recommended)\n- [npm](https://www.npmjs.com/)\n\n## Getting Started\n\n### 1. Clone the Repository\n\n```bash\ngit clone https://github.com/Rayiumir/Vidoor.git\ncd Vidoor/\n```\n\n### 2. Install Dependencies\n\n```bash\nnpm install\n```\n\n#### Using the PeerJS CLI (Recommended for Development)\n\nFirst, install PeerJS globally if you haven't already:\n\n```bash\nnpm install -g peer\n```\n\nThen start the PeerJS server (default port 3001):\n\n```bash\npeerjs --port 3001\n```\n\n### 3. Start the Application\n\nIn a new terminal, run:\n\n```bash\nnpm run dev\n```\n\nThe server will start on [http://localhost:3000](http://localhost:3000).\n\n### 5. Open in Browser\n\nVisit [http://localhost:3000](http://localhost:3000). You will be redirected to a unique room URL. Share this URL with others to invite them to your video chat room.\n\n# Demo\n\nhttps://github.com/user-attachments/assets/29d59a07-03d4-47b2-b903-fed00699a027\n\n## How It Works\n\n- When you visit the app, you are redirected to a unique room (UUID-based URL).\n- The server uses Express for routing and EJS for templating.\n- Socket.io manages real-time signaling for joining/leaving rooms.\n- PeerJS handles peer-to-peer video/audio streaming between users.\n- The client (`public/script.js`) manages media devices, UI controls, and PeerJS connections.\n\n## Troubleshooting\n\n- **PeerJS server not running**: Make sure you have started the PeerJS server on port 3001 before using the app.\n- **Camera/Microphone not working**: Ensure your browser has permission to access your camera and microphone.\n- **Firewall/Network issues**: Peer-to-peer connections may be blocked by strict firewalls or NAT. Try using a TURN server for better connectivity in production.\n\n## Credits\n\n- [PeerJS](https://peerjs.com/)\n- [Socket.io](https://socket.io/)\n- [Express](https://expressjs.com/)\n- [uuid](https://www.npmjs.com/package/uuid)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frayiumir%2Fvidoor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frayiumir%2Fvidoor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frayiumir%2Fvidoor/lists"}