{"id":21721185,"url":"https://github.com/danielearwicker/picam","last_synced_at":"2026-04-11T10:36:42.164Z","repository":{"id":141892327,"uuid":"97974457","full_name":"danielearwicker/PiCam","owner":"danielearwicker","description":"A very low-tech thing for taking/storing pictures from usb cameras","archived":false,"fork":false,"pushed_at":"2017-12-30T11:29:55.000Z","size":240,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-06T23:34:19.512Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/danielearwicker.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":"2017-07-21T18:04:00.000Z","updated_at":"2018-06-13T10:33:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"9f2e2695-e35b-4adc-931f-c25131bcf0b7","html_url":"https://github.com/danielearwicker/PiCam","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/danielearwicker/PiCam","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielearwicker%2FPiCam","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielearwicker%2FPiCam/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielearwicker%2FPiCam/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielearwicker%2FPiCam/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danielearwicker","download_url":"https://codeload.github.com/danielearwicker/PiCam/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielearwicker%2FPiCam/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31677819,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-11T08:18:19.405Z","status":"ssl_error","status_checked_at":"2026-04-11T08:17:08.892Z","response_time":54,"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":[],"created_at":"2024-11-26T02:14:35.438Z","updated_at":"2026-04-11T10:36:42.128Z","avatar_url":"https://github.com/danielearwicker.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PiCam\nA very low-tech thing for taking/storing pictures from usb cameras\n\nThe server and client parts are largely separate projects.\n\nCurrently it assumes you have a USB camera plugged into your Pi and so it has the device name:\n\n    /dev/video0\n\nThe UI currently sucks.\n\n## Prerequisites\n\nYou need Node on your Pi and [this is a very thorough guide](http://thisdavej.com/beginners-guide-to-installing-node-js-on-a-raspberry-pi/) to get you to that point.\n\nI prefer Raspian Lite to leave as much space as possible for images. Get a good (Samsung) 128 GB \nmicro SD card. Put Raspian Lite on it, boot it up and run `raspi-config`. Change the `pi` password\nand switch on SSH. Finally get Wifi working by editing this config file:\n\n    sudo nano /etc/wpa_supplicant/wpa_supplicant.conf\n\nAnd add:\n\n    network={\n            ssid=\"YourNetworkName\"\n            psk=\"YourPassword\"\n    }\n\nIf you need the IP address of your Pi, run `ifconfig` and look at the `wlan0` section of the output.\n\nYou also need ffmpeg. Again [this guide is very simple](https://github.com/tgogos/rpi_ffmpeg) - you can\nbasically paste that script into a file and run it.\n\n## Client\n\nIn `client`, do:\n\n    npm install\n    npx webpack\n\n(If you have an old version of Node, you'll need to `npm install -g npx`.)\n\nThe server statically servers the client bundle.\n\n## Server\n\nIn `server`, do:\n\n    npm install\n    npx tsc\n\nNow you can fire up the server temporarily with:\n\n    node built/server/index.js\n\nAnd look at `http://\u003cyourserver\u003e:3030`.\n\nTo get it running properly (i.e. as a daemon that starts automatically) \nuse [forever-service](https://github.com/zapty/forever-service):\n\n    sudo npm install -g forever\n    sudo npm install -g forever-service\n    cd built/server\n    sudo forever-service install PiCam --script index.js\n\nYou can now start it with:\n\n    sudo service PiCam start\n\nOr just restart your Pi.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielearwicker%2Fpicam","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanielearwicker%2Fpicam","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielearwicker%2Fpicam/lists"}