{"id":17045778,"url":"https://github.com/spanglelabs/sleep-pic-updater","last_synced_at":"2026-05-16T13:04:39.804Z","repository":{"id":80635737,"uuid":"195845079","full_name":"SpangleLabs/sleep-pic-updater","owner":"SpangleLabs","description":"A simple little telegram client script which checks my dailys data, and updated my profile photo if I am asleep","archived":false,"fork":false,"pushed_at":"2022-01-04T12:54:32.000Z","size":39,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-06-13T21:05:45.419Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SpangleLabs.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":"2019-07-08T15:58:03.000Z","updated_at":"2022-01-04T12:54:35.000Z","dependencies_parsed_at":null,"dependency_job_id":"e4ea7b38-292d-4f6b-9a91-9f9ced794f49","html_url":"https://github.com/SpangleLabs/sleep-pic-updater","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SpangleLabs/sleep-pic-updater","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpangleLabs%2Fsleep-pic-updater","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpangleLabs%2Fsleep-pic-updater/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpangleLabs%2Fsleep-pic-updater/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpangleLabs%2Fsleep-pic-updater/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SpangleLabs","download_url":"https://codeload.github.com/SpangleLabs/sleep-pic-updater/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpangleLabs%2Fsleep-pic-updater/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267040228,"owners_count":24025877,"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","status":"online","status_checked_at":"2025-07-25T02:00:09.625Z","response_time":70,"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-10-14T09:38:20.769Z","updated_at":"2026-05-16T13:04:34.779Z","avatar_url":"https://github.com/SpangleLabs.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sleep-pic-updater\nA simple little telegram client script which checks my dailys data, and updated my profile photo if I am asleep\n\n\n## Setup\n\nOn the rare case another person wants to use this, add a config.json file like so:\n```json\n{\n  \"api_id\": 12345,\n  \"api_hash\": \"0123456789abcdef0123456789abcdef\",\n  \"dailys_url\": \"http://dailys.example.com/views/sleep_status.json\",\n  \"dailys_auth_key\": \"\",\n  \"awake_pic\": {\n    \"path\": \"./awake.png\"\n  },\n  \"asleep_pic\": {\n    \"path\": \"./asleep.png\"\n  }\n}\n```\nSwapping their api_id and api_hash for the ones available at https://my.telegram.org/and putting the address to your own [dailys API](https://github.com/joshcoales/Dailys-API) instance.\n\ndailys_url needs pointing to your [Dailys API](https://github.com/joshcoales/Dailys-API) instance, and dailys_auth_key should be the view_auth_key.\n\nasleep_pic.path and awake_pic.path need setting to what you want, then they should add an asleep_pic.id and awake_pic.id for later use, rather than re-uploading the same files over and over.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspanglelabs%2Fsleep-pic-updater","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspanglelabs%2Fsleep-pic-updater","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspanglelabs%2Fsleep-pic-updater/lists"}