{"id":37111033,"url":"https://github.com/cooldarkdryplace/camerabot","last_synced_at":"2026-01-14T13:10:33.203Z","repository":{"id":57579749,"uuid":"61686109","full_name":"cooldarkdryplace/camerabot","owner":"cooldarkdryplace","description":"Telegram bot that makes a photo and sends it to chat.","archived":false,"fork":false,"pushed_at":"2023-10-27T21:12:12.000Z","size":47,"stargazers_count":3,"open_issues_count":1,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-16T01:42:42.522Z","etag":null,"topics":["bot","camera","chatbot","go","kiln","monitoring","photo","raspberry-pi","surveillance","telegram","telegram-bot"],"latest_commit_sha":null,"homepage":"","language":"Go","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/cooldarkdryplace.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":"2016-06-22T03:30:03.000Z","updated_at":"2022-05-19T16:36:31.000Z","dependencies_parsed_at":"2022-09-26T17:50:38.350Z","dependency_job_id":"58b133bf-46e1-43a3-b55f-9d8a00a9a110","html_url":"https://github.com/cooldarkdryplace/camerabot","commit_stats":null,"previous_names":["bilinguliar/camerabot"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/cooldarkdryplace/camerabot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cooldarkdryplace%2Fcamerabot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cooldarkdryplace%2Fcamerabot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cooldarkdryplace%2Fcamerabot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cooldarkdryplace%2Fcamerabot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cooldarkdryplace","download_url":"https://codeload.github.com/cooldarkdryplace/camerabot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cooldarkdryplace%2Fcamerabot/sbom","scorecard":{"id":304141,"data":{"date":"2025-08-11","repo":{"name":"github.com/cooldarkdryplace/camerabot","commit":"8d7bf9b2a5ffc59114e393e6953910a9f40afde7"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Code-Review","score":0,"reason":"Found 0/20 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 12 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-17T21:34:45.293Z","repository_id":57579749,"created_at":"2025-08-17T21:34:45.294Z","updated_at":"2025-08-17T21:34:45.294Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28420834,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T10:47:48.104Z","status":"ssl_error","status_checked_at":"2026-01-14T10:46:19.031Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["bot","camera","chatbot","go","kiln","monitoring","photo","raspberry-pi","surveillance","telegram","telegram-bot"],"created_at":"2026-01-14T13:10:32.707Z","updated_at":"2026-01-14T13:10:33.193Z","avatar_url":"https://github.com/cooldarkdryplace.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# camerabot\n\n[![Build Status](https://travis-ci.org/cooldarkdryplace/camerabot.svg?branch=master)](https://travis-ci.org/cooldarkdryplace/camerabot)\n[![Go Report Card](https://goreportcard.com/badge/github.com/cooldarkdryplace/camerabot)](https://goreportcard.com/report/github.com/cooldarkdryplace/camerabot)\n[![GoDoc](https://godoc.org/github.com/cooldarkdryplace/camerabot?status.svg)](https://godoc.org/github.com/cooldarkdryplace/camerabot)\n\n## Building\n\nYou need to get sources and cross-compile them for ARM architecture. These can be easily done by these commands, assuming you have Go installed.\n\n1. `go get github.com/cooldarkdryplace/camerabot`\n2. `env GOOS=linux GOARCH=arm go build -v github.com/cooldarkdryplace/camerabot/cmd/camerabot`\n\nAs a result you will have binary suitable for running on Raspberry Pi. Copy it on device and proceed.\n\n## Software\nTelegram bot that makes a photo and sends it to chat. \n\nI use this bot to monitor kiln temperature and make sure workshop is not on fire yet.\nGo part is responsible for interacting with Telegram API. Application uses long polling because in my case device is located behind two NATs. \nUses `raspistill` (via `os.exec`) to make photos.\nParametrized commands for raspistill are stored in external bash scripts.\n\n### Running bot\n1. Setup Raspberry Pi and Pi camera.\n2. Set environment variable `TOKEN` with your bot token (Botfather can provide you with the one).\n3. Use systemd config to start as a service or simply run the app from the console.\n4. Start direct conversation with bot or add bot to group chat if you are interested in broadcasting your kiln paranoia.\n\n### Commands\n1. `/pic` sends ordinary photo.\n2. `/zoom` sends zoomed and croped region of interest. Kiln controller in my case.\n\n#### Examples\n![pic processing result](https://cloud.githubusercontent.com/assets/6103939/23331112/898d1204-fb67-11e6-8285-6efc5ba7816b.png)\n![another pic result](https://cloud.githubusercontent.com/assets/6103939/23331113/92065df0-fb67-11e6-9d0f-d8adc245f9a3.png)\n![zoom result](https://cloud.githubusercontent.com/assets/6103939/23331114/9b4fa8e4-fb67-11e6-876e-318642f38dfc.png)\n\n## Hardware\nCurrently runs on a Raspberry Pi. Using onboard V2 camera.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcooldarkdryplace%2Fcamerabot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcooldarkdryplace%2Fcamerabot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcooldarkdryplace%2Fcamerabot/lists"}