{"id":19798356,"url":"https://github.com/hamdle/takepicture","last_synced_at":"2026-06-11T00:31:59.348Z","repository":{"id":249430352,"uuid":"831487880","full_name":"hamdle/takepicture","owner":"hamdle","description":"Python/PHP scripts to take picture and post to web","archived":false,"fork":false,"pushed_at":"2024-07-21T16:24:44.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"trunk","last_synced_at":"2025-02-28T16:40:55.574Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/hamdle.png","metadata":{"files":{"readme":"readme.txt","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":"2024-07-20T17:40:30.000Z","updated_at":"2024-07-21T16:24:47.000Z","dependencies_parsed_at":"2024-07-20T19:22:10.993Z","dependency_job_id":"65377102-59f1-4d21-9647-2c49754f2a5b","html_url":"https://github.com/hamdle/takepicture","commit_stats":null,"previous_names":["hamdle/takepicture"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hamdle/takepicture","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hamdle%2Ftakepicture","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hamdle%2Ftakepicture/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hamdle%2Ftakepicture/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hamdle%2Ftakepicture/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hamdle","download_url":"https://codeload.github.com/hamdle/takepicture/tar.gz/refs/heads/trunk","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hamdle%2Ftakepicture/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34177445,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-10T02:00:07.152Z","response_time":89,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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-12T07:29:02.668Z","updated_at":"2026-06-11T00:31:59.323Z","avatar_url":"https://github.com/hamdle.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Requirements\n------------\nPHP\nPython, Pip\n\nInstall\n-------\n$ pip install pygame\n$ pip install opencv-python\n\nRun\n---\n$ php run.php\n\n$ php run.php /home/eric/repos/takepicture\n\n$ php run.php /home/eric/repos/takepicture 3\n\nArg 1: Directory that holds takepicture python script.\nArg 2: Number of minutes between running python script.\n\nRaspberryPi\n-----------\nSetup -- run script on boot. Reboot every 60 minutes to reset camera due to\nLenovo camera saturation bug.\n\n1.\n$ vim /etc/rc.local\n\nNote: rc.local runs every time raspberrypi boots\n\n2.\nCurrent:\n$ sh /home/eric/scripts/run.sh \u0026 sleep 60m; reboot\n\nShould work, needs tested:\n$ php /home/eric/repos/takepicture/run.php /home/eric/repos/takepicture \u0026 sleep \u0026 sleep 60m; reboot\n\nNote: place before exit 0\n\nTODO\n----\n- fix post data issue\n- replace key with login token authentication\n- make url configurable in .env file\n- make id configurable in .env file\n- write output to tmp file\n- launch terminal and tail output file on startup\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhamdle%2Ftakepicture","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhamdle%2Ftakepicture","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhamdle%2Ftakepicture/lists"}