{"id":20784895,"url":"https://github.com/emad-elsaid/restreamer","last_synced_at":"2025-05-05T03:23:22.798Z","repository":{"id":66682042,"uuid":"268238072","full_name":"emad-elsaid/restreamer","owner":"emad-elsaid","description":"A personal restreamer nginx server to stream to multiple sources ","archived":false,"fork":false,"pushed_at":"2020-06-05T18:54:30.000Z","size":4,"stargazers_count":19,"open_issues_count":0,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-30T21:41:28.182Z","etag":null,"topics":["facebook-live","mixer","nginx","rtmp","streaming","twitch","youtube-live"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","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/emad-elsaid.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}},"created_at":"2020-05-31T08:21:44.000Z","updated_at":"2025-02-22T03:09:24.000Z","dependencies_parsed_at":"2023-03-11T00:13:50.251Z","dependency_job_id":null,"html_url":"https://github.com/emad-elsaid/restreamer","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/emad-elsaid%2Frestreamer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emad-elsaid%2Frestreamer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emad-elsaid%2Frestreamer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emad-elsaid%2Frestreamer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/emad-elsaid","download_url":"https://codeload.github.com/emad-elsaid/restreamer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252430494,"owners_count":21746670,"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":["facebook-live","mixer","nginx","rtmp","streaming","twitch","youtube-live"],"created_at":"2024-11-17T14:34:17.453Z","updated_at":"2025-05-05T03:23:22.788Z","avatar_url":"https://github.com/emad-elsaid.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"RESTREAMER\n==========\n\nThis docker container does the following\n\n1. Start nginx with RTMP module that restream to many RTMP servers including Facebook with stunnel\n1. Runs stunnel with facebook live server tunneling configuration\n1. Reads SRTMP push servers from the environment variables so no need to change nginx configuration\n1. Uses RTMP application name from environment variables so you can change it easily to some long random token\n\n## Starting from dockerhub\n\n1. Prepare a `.env` file, use `.env.sample` file as a reference\n1. run the container\n  ```\n  docker run -it --rm -p 1935:1935 --env-file .env --name restreamer emadelsaid/restreamer\n  ```\n\n## Setup\n\n1. Copy `.env.sample` content to `.env` on your machine\n1. Change values in `.env` to set your secret token\n1. PLATFORMS environment variable is a comma separated names of other environment variables that hold the RTMP values\n1. to stream to FACEBOOK use `rtmp://127.0.0.1:1936/rtmp/` instead of `rtmps://live-api-s.facebook.com:443/rtmp/`\n\n## STREAMING URLS Pages\n\n1. Facebook: `https://www.facebook.com/live/producer/`\n1. Youtube: `https://www.youtube.com/live_dashboard`\n1. Twitch `https://dashboard.twitch.tv/u/internalerr/settings/channel` servers list `https://stream.twitch.tv/ingests/`\n1. Mixer `https://mixer.com/dashboard/channel/broadcast` servers list `https://watchbeam.zendesk.com/hc/en-us/articles/209659883-How-to-Change-Your-Ingest-Server`\n\n\n## Starting from source\n\n```\ndocker build . -t restreamer\ndocker run -it --rm -p 1935:1935 --env-file .env --name restreamer restreamer\n```\n\n## OBS config\n\n1. stream server url `rtmp://127.0.0.1/\u003cTOKEN VALUE\u003e`\n\n# CONSTRIBUTORS\n\nMost of the dockerfile code is from https://github.com/tiangolo/nginx-rtmp-docker so many thanks for him\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femad-elsaid%2Frestreamer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Femad-elsaid%2Frestreamer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femad-elsaid%2Frestreamer/lists"}