{"id":13491052,"url":"https://github.com/tiger2380/simple_sfu","last_synced_at":"2025-03-28T07:31:47.954Z","repository":{"id":41442707,"uuid":"354881445","full_name":"tiger2380/simple_sfu","owner":"tiger2380","description":"A simple SFU. Just for educational purposes only. ","archived":false,"fork":false,"pushed_at":"2023-08-17T04:10:57.000Z","size":21,"stargazers_count":61,"open_issues_count":1,"forks_count":15,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-31T04:35:02.229Z","etag":null,"topics":["html-css","javascript","nodejs","sfu","simple","webrtc"],"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/tiger2380.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}},"created_at":"2021-04-05T15:30:18.000Z","updated_at":"2024-10-28T00:04:01.000Z","dependencies_parsed_at":"2024-01-16T09:18:55.810Z","dependency_job_id":null,"html_url":"https://github.com/tiger2380/simple_sfu","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/tiger2380%2Fsimple_sfu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiger2380%2Fsimple_sfu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiger2380%2Fsimple_sfu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiger2380%2Fsimple_sfu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tiger2380","download_url":"https://codeload.github.com/tiger2380/simple_sfu/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245989262,"owners_count":20705793,"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":["html-css","javascript","nodejs","sfu","simple","webrtc"],"created_at":"2024-07-31T19:00:53.143Z","updated_at":"2025-03-28T07:31:47.942Z","avatar_url":"https://github.com/tiger2380.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# Simple SFU\n\nSimple SFU is a very simple SFU (Selective Forwarding Unit) application that allows you to exchange media streams with other clients using WebRTC (Web Real-Time Communication) technology.\n\n## Features\n\n- Exchange media streams with other clients using WebRTC technology\n- Selectively forward media streams using the SFU server\n- Automatically adjust the layout of remote video streams based on the number of active streams\n\n## Installation\n\nTo install Simple SFU, run the following command:\n\n```\nnpm install\n```\n\nThis will install all the required dependencies.\n\n## Usage\n\nTo start the Simple SFU server, run the following command:\n\n```\nnpm start\n```\n\nThis will start the server on port 5000.\n\nTo use Simple SFU, open your browser and navigate to the following URL:\n\n```\nhttp://localhost:5000\n```\n\nThis will open the Simple SFU client in your browser.\n\n## How it works\n\nSimple SFU uses WebRTC technology to establish peer-to-peer connections between clients and exchange media streams. The SFU server receives media streams from multiple clients and selectively forwards them to other clients.\n\nWhen a client joins the SFU server, it sends its media stream to the server. The server creates a new media consumer for the client's stream and sends it to all other clients. The other clients subscribe to the media consumer and receive the client's media stream.\n\nWhen a client leaves the SFU server, its media stream is removed from the server and all other clients stop receiving the stream.\n\n## Contributing\n\nContributions are welcome! If you find a bug or have a feature request, please open an issue or submit a pull request.\n\n## License\n\nSimple SFU is licensed under the [MIT License](https://opensource.org/licenses/MIT).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftiger2380%2Fsimple_sfu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftiger2380%2Fsimple_sfu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftiger2380%2Fsimple_sfu/lists"}