{"id":17779506,"url":"https://github.com/anshuthopsee/webrtc-file-sharing","last_synced_at":"2025-03-15T20:31:01.598Z","repository":{"id":151729846,"uuid":"613621652","full_name":"anshuthopsee/WebRTC-File-Sharing","owner":"anshuthopsee","description":"A simple experiment with WebRTC by using it to transfer files, peer to peer with the help of a custom WebSocket server to do signalling between the peers.","archived":false,"fork":false,"pushed_at":"2024-06-15T10:33:55.000Z","size":2005,"stargazers_count":8,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-27T04:11:30.213Z","etag":null,"topics":["file-sharing","file-transfer","peer-to-peer","signaling-server","signalling","webrtc","websocket"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/anshuthopsee.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2023-03-13T23:53:21.000Z","updated_at":"2025-01-04T14:54:14.000Z","dependencies_parsed_at":null,"dependency_job_id":"fe4ae326-8444-4978-8509-840c224a8604","html_url":"https://github.com/anshuthopsee/WebRTC-File-Sharing","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anshuthopsee%2FWebRTC-File-Sharing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anshuthopsee%2FWebRTC-File-Sharing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anshuthopsee%2FWebRTC-File-Sharing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anshuthopsee%2FWebRTC-File-Sharing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/anshuthopsee","download_url":"https://codeload.github.com/anshuthopsee/WebRTC-File-Sharing/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243790952,"owners_count":20348378,"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","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":["file-sharing","file-transfer","peer-to-peer","signaling-server","signalling","webrtc","websocket"],"created_at":"2024-10-27T01:04:24.252Z","updated_at":"2025-03-15T20:31:01.090Z","avatar_url":"https://github.com/anshuthopsee.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WebRTC-File-Sharing\n\nA simple experiment with WebRTC by using it to transfer files, peer to peer with the help of a custom WebSocket server to do signalling between the peers. Chrome-to-Chrome, Firefox-to-Firefox and also cross-browser transfers tested. \n\nYou can locally host the website and use it to share files between your devices (Devices need to be on the same Wi-Fi network as the server).\n\nTo access the site from another device, which is not your server, find out your IP Address and use that to access the site. Also in the __index.js__ file, change the WebSocket connection url with your IP Address, like so.\n```javascript\nconst ws = new WebSocket(`ws://${IP_ADDRESS}:8895`);\n```\n## Demo\n\n![File sharing demo](demo/file_sharing.gif)\n\n## Dependencies\n\n- websocket\n```\nnpm i websocket\n```\n## References\n- https://developer.mozilla.org/en-US/docs/Web/API/WebRTC_API\n- https://developer.mozilla.org/en-US/docs/Web/API/WebRTC_API/Signaling_and_video_calling\n- https://developer.mozilla.org/en-US/docs/Web/API/WebRTC_API/Using_data_channels\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanshuthopsee%2Fwebrtc-file-sharing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanshuthopsee%2Fwebrtc-file-sharing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanshuthopsee%2Fwebrtc-file-sharing/lists"}