{"id":30111175,"url":"https://github.com/limitium/tg-watchdog","last_synced_at":"2025-10-20T05:25:16.172Z","repository":{"id":302492651,"uuid":"1012628410","full_name":"limitium/tg-watchdog","owner":"limitium","description":null,"archived":false,"fork":false,"pushed_at":"2025-07-02T16:50:10.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-02T17:41:45.273Z","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/limitium.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,"zenodo":null}},"created_at":"2025-07-02T16:14:18.000Z","updated_at":"2025-07-02T16:50:14.000Z","dependencies_parsed_at":"2025-07-02T17:52:41.877Z","dependency_job_id":null,"html_url":"https://github.com/limitium/tg-watchdog","commit_stats":null,"previous_names":["limitium/tg-watchdog"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/limitium/tg-watchdog","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/limitium%2Ftg-watchdog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/limitium%2Ftg-watchdog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/limitium%2Ftg-watchdog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/limitium%2Ftg-watchdog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/limitium","download_url":"https://codeload.github.com/limitium/tg-watchdog/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/limitium%2Ftg-watchdog/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269681302,"owners_count":24458595,"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-08-10T02:00:08.965Z","response_time":71,"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":"2025-08-10T05:30:43.640Z","updated_at":"2025-10-20T05:25:16.074Z","avatar_url":"https://github.com/limitium.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Telegram Watchdog Bot\n\n**Why**  \nAuto-monitor HTTP domains and SMTP servers with Telegram alerts.\n\n**What**  \nA Dockerized Python bot configurable via environment variables:\n- Periodic HTTP \u0026 SMTP health checks  \n- Inline **“Check Now”** button  \n- Commands: `/start`, `/id`, `/status`\n\n**How to use**  \n1. Export environment variables:\n   ```bash\n   export TELEGRAM_TOKEN=\"your_token\"\n   export TELEGRAM_CHAT_ID=\"123456\"\n   export DOMAINS_HTTP=\"https://a.com,https://b.org\"\n   export SMTP_SERVERS=\"smtp.example.com:587:user:pass\"\n   export CHECK_INTERVAL=\"60\"  # optional, defaults to 60\n   ```\n2. Build and run with Docker:\n   ```bash\n   docker build -t limitium/watchdog-bot .\n   docker run -d --env-file .env limitium/watchdog-bot\n   ```\n3. Or with Docker Compose:\n   ```yaml\n   # docker-compose.yml\n   version: '3.8'\n   services:\n     watchdog:\n       image: limitium/watchdog-bot:latest\n       env_file: .env\n   ```\n   Then:\n   ```bash\n   docker compose up -d\n   ```\n\n## Commands\n\n- **`/start`**  \n  Shows a welcome message and the **Check Now** button.\n\n- **`/id`**  \n  Replies with your Telegram chat ID.\n\n- **`/status`**  \n  Displays the current up/down status of all monitored services.\n\n- **🔍 Check Now button**  \n  Triggers an immediate health check and returns a summary.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flimitium%2Ftg-watchdog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flimitium%2Ftg-watchdog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flimitium%2Ftg-watchdog/lists"}