{"id":37204416,"url":"https://github.com/jumaffre/rpi-webcam-lite","last_synced_at":"2026-01-14T23:33:56.796Z","repository":{"id":103285151,"uuid":"227471668","full_name":"jumaffre/rpi-webcam-lite","owner":"jumaffre","description":"Minimal authenticated webcam server for Raspberry Pi","archived":false,"fork":false,"pushed_at":"2020-12-29T18:52:04.000Z","size":5733,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2023-03-03T21:09:27.034Z","etag":null,"topics":["golang","raspberry-pi","webcam"],"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/jumaffre.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":"2019-12-11T22:23:38.000Z","updated_at":"2024-06-19T12:36:46.797Z","dependencies_parsed_at":null,"dependency_job_id":"75e9d9a2-17bb-4a5a-8643-f737fa35060f","html_url":"https://github.com/jumaffre/rpi-webcam-lite","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"purl":"pkg:github/jumaffre/rpi-webcam-lite","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jumaffre%2Frpi-webcam-lite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jumaffre%2Frpi-webcam-lite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jumaffre%2Frpi-webcam-lite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jumaffre%2Frpi-webcam-lite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jumaffre","download_url":"https://codeload.github.com/jumaffre/rpi-webcam-lite/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jumaffre%2Frpi-webcam-lite/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28438706,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T22:37:52.437Z","status":"ssl_error","status_checked_at":"2026-01-14T22:37:31.496Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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","webcam"],"created_at":"2026-01-14T23:33:56.292Z","updated_at":"2026-01-14T23:33:56.769Z","avatar_url":"https://github.com/jumaffre.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Raspberry Pi Webcam Server :movie_camera: :house_with_garden:\n\nReal-time camera stream for Raspberry Pi, in the browser (written in Go).\n\nMain features:\n- Simple setup and minimal configuration: connect a camera to your Raspberry Pi and start the server in one simple command with Docker\n- Secure HTTPs with Let's Encrypt certificates and Google OAuth authentication\n\n## Setup and Start\n\n- Connect a camera to your Raspberry Pi, e.g. https://www.raspberrypi.org/products/camera-module-v2/\n- Download and install `docker` (see https://phoenixnap.com/kb/docker-on-raspberry-pi)\n- Download and install `docker-compose` (see https://dev.to/rohansawant/installing-docker-and-docker-compose-on-the-raspberry-pi-in-5-simple-steps-3mgl)\n- Create Google OAuth Client ID credentials (see https://developers.google.com/identity/sign-in/web/sign-in), specifying the private (typically `https://localhost`) or public domains of your server\n\nFirst, setup the environment:\n\n```bash\n$ cd rpi-webcam-lite/\n$ export OAUTH_CLIENT_ID=\"\u003cyour_google_oauth_client_id\u003e\"\n$ export ACCOUNTS_FILE_PATH=\u003c/path/to/accounts/file\u003e\n$ export DOMAIN=\u003cyour_domain_name\u003e # Not required if started if service started in dev mode (--dev)\n$ echo \"\u003cyour_trusted_google_account\u003e@gmail.com\" \u003e $ACCOUNTS_FILE_PATH\n```\n\nThen, to start the server:\n\n```bash\n$ docker-compose up\n```\n\nOpen your browser and enjoy! (don't forget to forward the server's port)\n\nAlternatively, the full `docker run` commands is:\n\n```bash\n$ docker run -p 4443:4443 -p 4444:4444 -v $ACCOUNTS_FILE_PATH:/app/accounts:ro --device /dev/video0:/dev/video0 -e OAUTH_CLIENT_ID=$OAUTH_CLIENT_ID rpi-webcam --accounts /app/accounts --domain $DOMAIN\n```\n\nIn development mode (i.e. directly running the server on `localhost`, without Let's Encrypt certificates), run:\n\n```bash\n$ docker run -p 4443:4443 -p 4444:4444 -v $ACCOUNTS_FILE_PATH:/app/accounts:ro --device /dev/video0:/dev/video0 -e OAUTH_CLIENT_ID=$OAUTH_CLIENT_ID rpi-webcam --accounts /app/accounts --dev\n```\n\n## Settings\n\n```bash\n$ ./rpi-webcam --help\nUsage of ./rpi-webcam:\n  -accounts string\n        Path to accounts file (default \"accounts\")\n  -dev\n        Development mode, using self-signed certificate instead of Let\\'s Encrypt (expects server cert/key in certs/ folder)\n  -domain string\n        Domain name of the service\n  -insecure\n        Disable OAuth auth (Warning: Use with caution!)\n  -port int\n        Port to listen on (default 4443)\n  -video string\n        Path to video device (default \"/dev/video0\")\n```\n\n## Building the Docker Image\n\nFirst, clone this repository, then:\n\n```bash\n$ cd rpi-webcam/\n$ docker build -t rpi-webcam .\n```\n\n## TODO\n\n- [ ] Reduce Docker image size\n- [ ] WebRTC\n- [ ] Motion detection\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjumaffre%2Frpi-webcam-lite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjumaffre%2Frpi-webcam-lite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjumaffre%2Frpi-webcam-lite/lists"}