{"id":24117152,"url":"https://github.com/ruivalim/liveness-check","last_synced_at":"2026-06-16T09:31:36.853Z","repository":{"id":269890353,"uuid":"908770044","full_name":"Ruivalim/liveness-check","owner":"Ruivalim","description":"A configurable service monitoring tool written in Rust that performs HTTP health checks on specified endpoints and sends notifications via Telegram when status changes occur.","archived":false,"fork":false,"pushed_at":"2024-12-30T13:39:45.000Z","size":25,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-28T19:20:32.031Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Rust","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/Ruivalim.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":"2024-12-26T23:29:30.000Z","updated_at":"2025-01-23T11:47:56.000Z","dependencies_parsed_at":null,"dependency_job_id":"4793ce7f-37a6-47cd-91c5-477d85b126c6","html_url":"https://github.com/Ruivalim/liveness-check","commit_stats":null,"previous_names":["ruivalim/liveness-check"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Ruivalim/liveness-check","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ruivalim%2Fliveness-check","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ruivalim%2Fliveness-check/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ruivalim%2Fliveness-check/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ruivalim%2Fliveness-check/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Ruivalim","download_url":"https://codeload.github.com/Ruivalim/liveness-check/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ruivalim%2Fliveness-check/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34400451,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-16T02:00:06.860Z","response_time":126,"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-01-11T07:38:24.650Z","updated_at":"2026-06-16T09:31:36.848Z","avatar_url":"https://github.com/Ruivalim.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Liveness Check\n\nA configurable service monitoring tool written in Rust that performs HTTP health checks on specified endpoints and sends notifications via Telegram when status changes occur.\n\n## Features\n\n- Configurable cron-based health checks\n- Multiple target endpoint monitoring\n- Telegram notifications for status changes\n- In-memory state management\n- Custom HTTP client with cookie support\n\n## Configuration\n\nCreate a `config.json` file in the project root:\n\n```json\n{\n  \"cron\": \"*/20 * * * *\",\n  \"targets\": [\n    {\n      \"url\": \"https://example.com\",\n      \"name\": \"Example Service\"\n    }\n  ],\n  \"notification\": {\n    \"telegram\": {\n      \"bot\": \"your-bot-token\",\n      \"chat\": \"your-chat-id\"\n    }\n  }\n}\n```\n\n### Configuration Options\n\n- `cron`: Schedule for health checks using cron syntax\n- `targets`: Array of services to monitor\n  - `url`: Endpoint URL\n  - `name`: Service identifier\n- `notification`: Optional notification settings\n  - `telegram`: Telegram bot configuration\n    - `bot`: Bot token\n    - `chat`: Chat ID for notifications\n\n## Building\n\n```bash\ncargo build --release\n```\n\n## Running\n\n```bash\nRUST_LOG=info cargo run\n```\n\nEnvironment Variables:\n- `RUST_LOG`: Log level (trace, debug, info, warn, error)\n\n## Notifications\n\nThe service sends notifications when:\n- A service goes down\n- A service recovers\n- Request errors occur\n\n## License\n\nMIT","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fruivalim%2Fliveness-check","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fruivalim%2Fliveness-check","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fruivalim%2Fliveness-check/lists"}