{"id":22742113,"url":"https://github.com/tiagordc/go-apt-reboot","last_synced_at":"2025-03-30T04:21:22.839Z","repository":{"id":99154181,"uuid":"555888409","full_name":"tiagordc/go-apt-reboot","owner":"tiagordc","description":"Reboot Apple TV on a schedule","archived":false,"fork":false,"pushed_at":"2022-10-26T18:24:37.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-05T06:36:42.244Z","etag":null,"topics":["apple-tv","tp-link"],"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/tiagordc.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":"2022-10-22T15:14:44.000Z","updated_at":"2022-10-22T17:24:54.000Z","dependencies_parsed_at":"2023-04-08T22:45:16.902Z","dependency_job_id":null,"html_url":"https://github.com/tiagordc/go-apt-reboot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiagordc%2Fgo-apt-reboot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiagordc%2Fgo-apt-reboot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiagordc%2Fgo-apt-reboot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiagordc%2Fgo-apt-reboot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tiagordc","download_url":"https://codeload.github.com/tiagordc/go-apt-reboot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246274542,"owners_count":20751098,"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","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":["apple-tv","tp-link"],"created_at":"2024-12-11T00:34:20.186Z","updated_at":"2025-03-30T04:21:22.820Z","avatar_url":"https://github.com/tiagordc.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Apple TV rebooter\n\nSimple application to reboot an Apple TV Homekit hub connected with a smart plug.\n\nWill reboot on the defined schedule or when the Apple TV is not responding.\n\n## Limitations\n\nOnly works with smart plugs that support the [TP-Link Tapo](https://www.tapo.com/) API.\n\nHas to be disabled when the Apple TV is updating.\n\n## Environment variables\n\nATV_ADDRESS: address of the Apple TV\\\nPING_TIME: time in seconds to run ping command\\\nCRON: Cron schedule expression\\\nTAPO_IP: IP of your Tapo device\\\nTAPO_USERNAME: Your Tapo username\\\nTAPO_PASSWORD: Your Tapo password\n\n## Docker reference\n\n * docker build -t go-apt-reboot . --no-cache\n * docker run --env-file ./.env go-apt-reboot\n * docker rm -f $(docker ps -aq)\n * docker rmi $(docker images -q)\n\n## References\n\n * [P100-go Library](https://github.com/artemvang/p100-go)\n * [Cron Expressions](https://crontab.guru/every-day-at-2am)\n * [Smallest Golang Docker Image](https://klotzandrew.com/blog/smallest-golang-docker-image)\n \n## Disclaimer\n\nGitHub Copilot was used to write part of the code and documentation.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftiagordc%2Fgo-apt-reboot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftiagordc%2Fgo-apt-reboot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftiagordc%2Fgo-apt-reboot/lists"}