{"id":16419702,"url":"https://github.com/salaah01/website_pinger","last_synced_at":"2026-03-02T14:36:32.612Z","repository":{"id":104266728,"uuid":"344641747","full_name":"Salaah01/website_pinger","owner":"Salaah01","description":"Pings a website to check if it is alive, failing which send an email","archived":false,"fork":false,"pushed_at":"2021-03-10T17:27:10.000Z","size":15,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-12T22:16:19.086Z","etag":null,"topics":["curl","devops","devops-tools","ping","python","python3","smtp","webdev","webdevelopment","website-pinger"],"latest_commit_sha":null,"homepage":"","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/Salaah01.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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":"2021-03-04T23:55:25.000Z","updated_at":"2021-03-10T17:27:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"41cef4bd-459d-414c-8552-a724feb7935c","html_url":"https://github.com/Salaah01/website_pinger","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/Salaah01/website_pinger","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Salaah01%2Fwebsite_pinger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Salaah01%2Fwebsite_pinger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Salaah01%2Fwebsite_pinger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Salaah01%2Fwebsite_pinger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Salaah01","download_url":"https://codeload.github.com/Salaah01/website_pinger/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Salaah01%2Fwebsite_pinger/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30006602,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-02T14:08:50.421Z","status":"ssl_error","status_checked_at":"2026-03-02T14:08:50.037Z","response_time":60,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["curl","devops","devops-tools","ping","python","python3","smtp","webdev","webdevelopment","website-pinger"],"created_at":"2024-10-11T07:25:38.170Z","updated_at":"2026-03-02T14:36:32.594Z","avatar_url":"https://github.com/Salaah01.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Website Pinger\n\n[![GitHub issues](https://img.shields.io/github/issues/Salaah01/website_pinger)](https://github.com/Salaah01/website_pinger/issues) [![GitHub forks](https://img.shields.io/github/forks/Salaah01/website_pinger)](https://github.com/Salaah01/website_pinger/network) [![GitHub stars](https://img.shields.io/github/stars/Salaah01/website_pinger)](https://github.com/Salaah01/website_pinger/stargazers) [![GitHub license](https://img.shields.io/github/license/Salaah01/website_pinger)](https://github.com/Salaah01/website_pinger/blob/master/LICENSE)\n\nPing a server checking that it is alive. If it is not, then sends an email notifying the server is down.\n\nWould recommend using this along with a cron job which would periodically run the script.\n\n## Requirements\n* Python 3\n\n## Usage\n\n`website_pinger.sh server_address [options]`\n\n```bash  \n  -c, --config-file Path to the config file.\n  -f, --mail-from   Email from address\n  -t, --mail-to     Email to address\n  -i, --host        Email host\n  -j, --port        Email port\n  -u, --user        Email user\n  -p, --password    Email password\n  -s, --subject     Subject\n  -a, --msg-prefix  Text to the added to the beginning of the email body.\n  -z, --msg-suffix  Text to be added to the end of the email body.\n```\n\nAny parameters defined in the config file will be overwritten by any of the other optional arguments.\n\nThe config file should be a JSON file. Example is below. Do note, that not all keys need to be defined, some can be provided via the other arguments.\n\n```json\n{\n  \"HOST\": \"smtp.host\",\n  \"PORT\": 587,\n  \"USER\": \"username\",\n  \"PASSWORD\": \"password\",\n  \"TO\": \"email@email.com\",\n  \"FROM\": \"email@email.com\"\n}\n```\n\nNot all keys need to exist in the the config, those which are not in the config must be at least provided as arguments when calling the script.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsalaah01%2Fwebsite_pinger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsalaah01%2Fwebsite_pinger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsalaah01%2Fwebsite_pinger/lists"}