{"id":20840324,"url":"https://github.com/zv3/telegram-uptime-bot","last_synced_at":"2025-05-08T21:47:27.217Z","repository":{"id":40728912,"uuid":"237695587","full_name":"zv3/telegram-uptime-bot","owner":"zv3","description":"AWS Lambda function to monitor a website's availability and alert a Telegram group channel when an outage is detected.","archived":false,"fork":false,"pushed_at":"2022-12-10T16:48:00.000Z","size":53,"stargazers_count":5,"open_issues_count":4,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-31T18:41:47.832Z","etag":null,"topics":["lambda-functions","telegram-bot","uptime-monitor"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zv3.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}},"created_at":"2020-02-02T00:02:38.000Z","updated_at":"2025-01-01T06:10:31.000Z","dependencies_parsed_at":"2023-01-26T09:31:39.983Z","dependency_job_id":null,"html_url":"https://github.com/zv3/telegram-uptime-bot","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/zv3%2Ftelegram-uptime-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zv3%2Ftelegram-uptime-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zv3%2Ftelegram-uptime-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zv3%2Ftelegram-uptime-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zv3","download_url":"https://codeload.github.com/zv3/telegram-uptime-bot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253154846,"owners_count":21862597,"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":["lambda-functions","telegram-bot","uptime-monitor"],"created_at":"2024-11-18T01:15:57.764Z","updated_at":"2025-05-08T21:47:27.175Z","avatar_url":"https://github.com/zv3.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Purpose\n\nThis is an AWS Lambda function that can be used to monitor the availability of a single website by its URL and notify of any downtime to a Telegram channel via a Telegram Bot.\n\nA [CloudWatch event](https://egghead.io/lessons/aws-use-cloudwatch-event-to-execute-an-aws-lambda-function-with-a-fixed-interval) with a rate expression of 1 minute can be set up to run this function on a time interval.\n\n## Environment variables\n\n- `URL`\n  The URL the function should periodically monitor for outages.\n\n- `TELEGRAM_CHAT_ID`\n  The unique ID of the Telegram Bot.\n\n- `TELEGRAM_TOKEN`\n  The authentication token to access the Telegram Bot that will be posting downtime notifications to the channel.\n\n- `EXPECTED_TOKEN`\n  If set, the function will check the presence of the value within the page's HTML.\n  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzv3%2Ftelegram-uptime-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzv3%2Ftelegram-uptime-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzv3%2Ftelegram-uptime-bot/lists"}