{"id":17650307,"url":"https://github.com/speps/grumpy-pi-mjpg","last_synced_at":"2025-10-29T03:03:25.448Z","repository":{"id":145514889,"uuid":"68437376","full_name":"speps/grumpy-pi-mjpg","owner":"speps","description":"Simple HTTP server to provide streams of Raspberry Pi camera using MJPEG codec","archived":false,"fork":false,"pushed_at":"2016-09-25T07:55:24.000Z","size":13,"stargazers_count":17,"open_issues_count":1,"forks_count":5,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-19T18:30:53.500Z","etag":null,"topics":["mjpeg","raspberry-pi","stream"],"latest_commit_sha":null,"homepage":"","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/speps.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,"zenodo":null}},"created_at":"2016-09-17T07:06:15.000Z","updated_at":"2022-05-27T19:16:16.000Z","dependencies_parsed_at":"2023-04-04T21:34:09.981Z","dependency_job_id":null,"html_url":"https://github.com/speps/grumpy-pi-mjpg","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/speps%2Fgrumpy-pi-mjpg","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/speps%2Fgrumpy-pi-mjpg/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/speps%2Fgrumpy-pi-mjpg/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/speps%2Fgrumpy-pi-mjpg/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/speps","download_url":"https://codeload.github.com/speps/grumpy-pi-mjpg/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252811725,"owners_count":21808000,"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":["mjpeg","raspberry-pi","stream"],"created_at":"2024-10-23T11:37:32.297Z","updated_at":"2025-10-29T03:03:25.401Z","avatar_url":"https://github.com/speps.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# grumpy-pi-mjpg [![Build status](https://ci.appveyor.com/api/projects/status/660s288u7re3881f?svg=true)](https://ci.appveyor.com/project/speps/grumpy-pi-mjpg)\n\n### Simple HTTP server to provide streams of Raspberry Pi camera using MJPEG codec\n\nThis server has been designed to be the simplest possible to start streaming video\nfrom your Raspberry Pi camera module. It uses the MJPEG codec so doesn't have sound\nbut supports all options of `raspivid`. The server reads the data using `stdin` which\nmeans you need to use the `-o -` option and pipe it to the server.\n\nThe program `raspivid` can output MJPEG but it doesn't conform to what a browser\nexpects in a webpage. Instead, it outputs a JPEG image back to back. This is easy to\nsplit and prepare each image to be a proper MJPEG which includes the right HTTP headers.\n\n### How to download\n\nType this in your terminal :\n\n    wget https://dl.bintray.com/speps/grumpy-pi-mjpg/mjpg-server\n\n### How to use\n\nType (those options are the minimum required) :\n\n    raspivid -cd MJPEG -t 0 -o - | mjpg-server\n\nOf course, `raspivid` can take any options like so :\n\n    raspivid -cd MJPEG -w 640 -h 360 -fps 10 -t 0 -n -o - | mjpg-server\n\n### How to compile\n\n**NOTE**: prefer binary releases, see how to download above\n\nYou need to install Golang to compile : https://golang.org/doc/install\n\nThere are 2 options :\n\n* Downloading the `linux-armv6l` version and following the instructions\n* Download for another operating system and cross-compiling\n    * For this, set `GOOS=linux` and `GOARCH=arm`\n\nOnce this is done, run this :\n\n    go build grumpy-pi-mjpg/mjpg-server.go\n\nThis generates the `mjpg-server` executable.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspeps%2Fgrumpy-pi-mjpg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspeps%2Fgrumpy-pi-mjpg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspeps%2Fgrumpy-pi-mjpg/lists"}