{"id":25874279,"url":"https://github.com/pioz/bulldog","last_synced_at":"2025-03-02T09:19:43.120Z","repository":{"id":57600223,"uuid":"108912796","full_name":"pioz/bulldog","owner":"pioz","description":"The http checker","archived":false,"fork":false,"pushed_at":"2017-11-08T11:56:38.000Z","size":6529,"stargazers_count":15,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-06-20T02:09:16.823Z","etag":null,"topics":["bulldog","checker","daemon","golang","http"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pioz.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":"2017-10-30T21:55:45.000Z","updated_at":"2022-09-30T04:40:15.000Z","dependencies_parsed_at":"2022-09-16T18:51:32.579Z","dependency_job_id":null,"html_url":"https://github.com/pioz/bulldog","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/pioz%2Fbulldog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pioz%2Fbulldog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pioz%2Fbulldog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pioz%2Fbulldog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pioz","download_url":"https://codeload.github.com/pioz/bulldog/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241482733,"owners_count":19969969,"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":["bulldog","checker","daemon","golang","http"],"created_at":"2025-03-02T09:19:42.332Z","updated_at":"2025-03-02T09:19:43.107Z","avatar_url":"https://github.com/pioz.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bulldog\n\n\u003cimg src=\"./bulldog-logo.svg\" alt=\"logo\" width=\"64px\" height=\"64px\"/\u003e\n\n__Bulldog__ is an amazing hunting dog that checks for you a list of URLs and\nwarns you by email if one of them returns a http code that is not 200.\n\n## Installation\n\nInstall it yourself\n\n    $ go get github.com/pioz/bulldog\n    $ cd $GOPATH/src/github.com/pioz/bulldog\n    $ go build\n    $ ./bulldog -v\n\nor\n[⬇️ download](https://github.com/pioz/bulldog/blob/master/deb/bulldog_0.2.1-1_amd64.deb?raw=true)\nand install the `.deb` package with\n\n    $ dpkg -i bulldog_0.2.1-1_amd64.deb\n\n## Usage\n\nBulldog loads a list of URLs and for each of them executes a GET http request.\nIf the request fails or returns a different http code than 200, it will send you\nan email to alert you. When the list is over it starts to sleep for a while and\nthen restarts the controls.\n\nBulldog uses a configuration file with various options:\n\n```ini\n[time]\n# After checking the entire list of URLs sleep for these seconds.\ns=60\n# After checking the entire list of URLs and at least a check fail sleep for\n# these seconds. Usually this time is greater to not warn you continuously.\nse=600\n# Http request timeout. If the timeout is reached the check is to be considered\n# as failed.\nt=10\n[logging]\n# Log file path. If empty logs on stdout.\nlogfile=/var/log/bulldog.log\n# Disables logs.\nquiet=false\n[email]\n# Gmail account. If this is present send email using the gmail smtp server. Use\n# -pass flag to specify the gmail account password. If this flag is empty send\n# email using `mail` command line program.\ngmail=account@gmail.com\n# Gmail account password. Only relevant when using -gmail flag.\npass=pa$$w0rd\n# When a check fails send an email on this email address. If is empty the email\n# alert is disabled.\nto=your@email.com\n[urls]\n# Comma-separated list of URLs to check.\nurls=http://google.com,http://twitter.com/\n```\n\nTo unleash Bulldog run the follow command:\n\n    $ bulldog -config /path/to/config/file\n\nYou can pass also the config file options as command arguments:\n\n    $ bulldog -urls http://google.com -to your@email.com -s 10\n\nYou can also perform a check on the list only once and then exit (status code 1\nif at least one check fails):\n\n    $ bulldog -urls http://google.com,http://twitter.com -1\n\nFor the complete list of command line arguments:\n\n    $ bulldog -h\n\n### init.d script\n\n[Instruction here](https://github.com/pioz/bulldog/wiki/init.d-script-for-Debian).\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/pioz/bulldog.\n\n## License\n\nThe package is available as open source under the terms of the [GPL License](https://github.com/pioz/bulldog/blob/master/LICENSE).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpioz%2Fbulldog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpioz%2Fbulldog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpioz%2Fbulldog/lists"}