{"id":15197076,"url":"https://github.com/meinside/rpi-camera-youtube-streamer","last_synced_at":"2025-07-28T05:38:14.262Z","repository":{"id":57587007,"uuid":"61697168","full_name":"meinside/rpi-camera-youtube-streamer","owner":"meinside","description":"Raspberry Pi Camera: Youtube Streamer","archived":false,"fork":false,"pushed_at":"2020-05-06T00:58:14.000Z","size":10,"stargazers_count":9,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-26T23:40:13.691Z","etag":null,"topics":["golang","raspberry-pi","raspberry-pi-camera","youtube"],"latest_commit_sha":null,"homepage":null,"language":"Go","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/meinside.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}},"created_at":"2016-06-22T07:11:05.000Z","updated_at":"2023-06-24T13:54:55.000Z","dependencies_parsed_at":"2022-09-18T00:41:33.804Z","dependency_job_id":null,"html_url":"https://github.com/meinside/rpi-camera-youtube-streamer","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/meinside/rpi-camera-youtube-streamer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meinside%2Frpi-camera-youtube-streamer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meinside%2Frpi-camera-youtube-streamer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meinside%2Frpi-camera-youtube-streamer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meinside%2Frpi-camera-youtube-streamer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/meinside","download_url":"https://codeload.github.com/meinside/rpi-camera-youtube-streamer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meinside%2Frpi-camera-youtube-streamer/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261879317,"owners_count":23223739,"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":["golang","raspberry-pi","raspberry-pi-camera","youtube"],"created_at":"2024-09-28T00:41:12.904Z","updated_at":"2025-06-25T13:06:57.258Z","avatar_url":"https://github.com/meinside.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Raspberry Pi Camera: Youtube Streamer\n\n## 0. What is this?\n\nIt's a go application for streaming video through [Youtube Live Stream](https://www.youtube.com/live_dashboard), using [raspivid](https://www.raspberrypi.org/documentation/usage/camera/raspicam/raspivid.md) and [ffmpeg](https://ffmpeg.org/) on [Raspberry Pi](https://www.raspberrypi.org/).\n\n## 1. What do I need before running it?\n\nYou need:\n\n* Raspberry Pi\n* Raspberry Pi Camera Module enabled, and its cable correctly connected\n* [golang installed on Raspberry Pi](https://github.com/meinside/dotfiles/raw/master/bin/install_go.sh)\n* [ffmpeg installed on Raspberry Pi](https://github.com/meinside/dotfiles/raw/master/bin/install_ffmpeg.sh)\n* and this README.md.\n\n## 2. How can I configure it?\n\nYou need to create your own config file.\n\nSample file is included, so feel free to copy it and change values as you want.\n\n```bash\n$ cp config.json.sample config.json\n$ vi config.json\n```\n\nAt least you have to change the **youtube_stream_key** value for running it.\n\nYou can get your key in your [Live Stream Dashboard](https://www.youtube.com/live_dashboard), which is labeled as 'Stream name/key'.\n\n## 3. How can I build it?\n\n### A. Manually,\n\n```bash\n$ git clone https://github.com/meinside/rpi-camera-youtube-streamer.git\n$ cd rpi-camera-youtube-streamer\n$ go build\n```\n\n### B. Or with docker-compose\n\n#### a. Raspberry Pi 3B, 3B+, 4\n\n```bash\n$ docker-compose build\n```\n\n#### b. Raspberry Pi 2\n\n```bash\n$ docker-compose build --build-arg RPI=raspberry-pi2\n```\n\n#### c. Raspberry Pi B / Zero\n\n```bash\n$ docker-compose build --build-arg RPI=raspberry-pi\n```\n\n## 4. How can I run it?\n\n### A. Manually,\n\nJust execute the binary:\n\n```bash\n$ ./rpi-cameera-youtube-streamer\n```\n\nIf nothing goes wrong, you'll see your live streaming in your dashboard in several seconds.\n\n\n### B. Or with docker-compose\n\n```bash\n$ docker-compose up\n```\n\n## 5. How can I run it as a service?\n\n### A. With systemd\n\n```bash\n$ sudo cp systemd/rpi-camera-youtube-streamer.service /lib/systemd/system/\n$ sudo vi /lib/systemd/system/rpi-camera-youtube-streamer.service\n```\n\nand edit **User**, **Group**, **WorkingDirectory**, and **ExecStart** values.\n\nYou can simply start/stop it with:\n\n```\n$ sudo systemctl start rpi-camera-youtube-streamer.service\n$ sudo systemctl stop rpi-camera-youtube-streamer.service\n```\n\nIf you want to launch it automatically on boot:\n\n```bash\n$ sudo systemctl enable rpi-camera-youtube-streamer.service\n```\n\n### B. Or with docker-compose\n\n```bash\n$ docker-compose up -d\n```\n\n## 998. Any trouble?\n\nPlease open an issue.\n\n## 999. License?\n\nMIT\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmeinside%2Frpi-camera-youtube-streamer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmeinside%2Frpi-camera-youtube-streamer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmeinside%2Frpi-camera-youtube-streamer/lists"}