{"id":13563645,"url":"https://github.com/rviscarra/webrtc-remote-screen","last_synced_at":"2025-04-03T20:31:19.283Z","repository":{"id":45670052,"uuid":"200696891","full_name":"rviscarra/webrtc-remote-screen","owner":"rviscarra","description":"Stream a remote desktop screen directly to your browser","archived":false,"fork":false,"pushed_at":"2024-04-16T20:05:15.000Z","size":615,"stargazers_count":469,"open_issues_count":11,"forks_count":72,"subscribers_count":15,"default_branch":"master","last_synced_at":"2024-11-04T16:44:55.484Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","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/rviscarra.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":"2019-08-05T17:08:02.000Z","updated_at":"2024-10-30T08:05:13.000Z","dependencies_parsed_at":"2024-06-18T20:11:26.904Z","dependency_job_id":"97e9abe3-757a-414d-8bf4-6387c49e33b4","html_url":"https://github.com/rviscarra/webrtc-remote-screen","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/rviscarra%2Fwebrtc-remote-screen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rviscarra%2Fwebrtc-remote-screen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rviscarra%2Fwebrtc-remote-screen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rviscarra%2Fwebrtc-remote-screen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rviscarra","download_url":"https://codeload.github.com/rviscarra/webrtc-remote-screen/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247074612,"owners_count":20879281,"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":[],"created_at":"2024-08-01T13:01:21.707Z","updated_at":"2025-04-03T20:31:18.959Z","avatar_url":"https://github.com/rviscarra.png","language":"Go","funding_links":[],"categories":["Go","Media API"],"sub_categories":[],"readme":"## WebRTC remote view\n\n### Dependencies\n\n- [Go 1.12](https://golang.org/doc/install)\n- If you want h264 support: libx264 (included in x264-go, you'll need a C compiler / assembler to build it)\n- If you want VP8 support: libvpx\n\n### Architecture\n\n![Architecture](docs/architecture.png)\n\nMore info in [this blog post](https://viscarra.dev/post/webrtc-remote-screen/). \n\n### Running the server\n\nThe server receives the following flags through the command line:\n\n`--http.port` (Optional) \n\nSpecifies the port where the HTTP server should listen, by default the port 9000 is used.\n\n`--stun.server` (Optional)\n\nAllows to speficy a different [STUN](https://wikipedia.org/wiki/STUN) server, by default a Google STUN server is used.\n\nChrome 74+, Firefox 66+, Safari 12.x are supported. Older versions (within reason) should be supported as well but YMMV.\n\n### Building the server\n\nBuild the _deployment_ package by runnning `make`. This should create a tar file with the \nbinary and web directory, by default only support for h264 is included, if you want to use VP8 run `make encoders=vp8`, if you want both then `make encoders=vp8,h264`.\n\nCopy the archive to a remote server, decompress it and run `./agent`. The `agent` application assumes the web dir. is in the same directory. \n\nWebRTC requires a _secure_ domain to work, the recommended approach towards this is to forward the agent port thru SSH tunneling:\n\n```bash\nssh -L YOUR_LOCAL_PORT:localhost:9000 \n```\n\nThen access the application on `http://localhost:YOUR_LOCAL_PORT`, localhost should be considered \nsecure by modern browsers.\n\n### Screenshot\n\n![Demo screenshot](docs/screenshot.png)\n\n### Feature requests\n\nI'll see what I can do! Create an issue.\n\n### License\n\nMIT - see [LICENSE](LICENSE) for the full text.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frviscarra%2Fwebrtc-remote-screen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frviscarra%2Fwebrtc-remote-screen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frviscarra%2Fwebrtc-remote-screen/lists"}