{"id":20492868,"url":"https://github.com/danman113/gobeet","last_synced_at":"2026-06-06T19:31:29.887Z","repository":{"id":57526945,"uuid":"104432648","full_name":"danman113/gobeet","owner":"danman113","description":"A multi-threaded, lightweight website health-checker written in Go. Easily configured through JSON. Easily personalized with custom email templates.","archived":false,"fork":false,"pushed_at":"2017-10-02T22:53:49.000Z","size":8,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-05T17:47:13.143Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","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/danman113.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-09-22T04:48:34.000Z","updated_at":"2020-12-10T05:09:56.000Z","dependencies_parsed_at":"2022-09-07T03:51:20.826Z","dependency_job_id":null,"html_url":"https://github.com/danman113/gobeet","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/danman113/gobeet","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danman113%2Fgobeet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danman113%2Fgobeet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danman113%2Fgobeet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danman113%2Fgobeet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danman113","download_url":"https://codeload.github.com/danman113/gobeet/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danman113%2Fgobeet/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33997732,"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-06T02:00:07.033Z","response_time":107,"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":"2024-11-15T17:31:31.132Z","updated_at":"2026-06-06T19:31:29.866Z","avatar_url":"https://github.com/danman113.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Gobeet\nGobeet is a simple website health-checker written in go\n\nGobeet takes a configuration file and will consistently ping your website, sending you an email if any route is down for too long.\n\n## Arguments\nGobeet takes two command line arguments:\n\n* `--config=config.json`: Points to the configuration file to use.\n* `--password=******`: The email password for the configured email address.\n\n## Config File\nGobeet configuration files are composed of three main sections\n* [Email Configuration](#email-configuration)\n* [Websites](#sites)\n* [Pages](#pages)\n\n### Email Configuration\nThis is where email is configured. If you don't want to get emails, don't add this section.\n\nA standard email configuration looks like this:\n\n```\n\"email\" : {\n  \"recipients\": [\n    \"recipient1@recipient.com\",\n    \"recipient2@recipient.com\"\n  ],\n  \"template\": \"sampletemplate.tmpl\"\n  \"address\": \"test@sender.com\",\n  \"server\": \"smtp.recipient.com\",\n  \"port\": \"587\",\n}\n```\n* `recipients`: Who gets an alert when your site is down.\n* `template`: Path to a valid [Golang template](#email-template) to use for the email.\n* `address`: The email address to send out the alerts.\n* `server`: SMTP email server.\n* `port`: STMP email server port. Usually 587.\n\n### Sites\nA list of all domains to test.\n\nA typical sites list will look like so:\n\n```\n\"sites\": {\n  \"url\": \"www.github.com\",\n  \"interval\": 60,\n  \"pages\": [\n    ...\n  ]\n}\n```\n* `url`: The URL to test.\n* `interval`: How many seconds to wait before testing all pages in the site again\n* `pages`: A list of pages\n\n### Pages\nA page is simply a part of your site that gets tested at a specified interval.\n\n```\n{\n  \"url\": \"https://github.com/danman113/\",\n  \"method\": \"GET\",\n  \"timeout\": 5000,\n  \"status\": 200,\n  \"duration\": 10\n}\n```\n\n* `url`: The page to test.\n* `method`: The HTTP method to test the page with.\n* `timeout`: The number of milliseconds to wait before deciding if the page is down.\n* `status`: The expected HTTP status code the page is supposed to return. Gobeet will send an error if this result is different than this.\n* `duration`: How many seconds to wait after a page is down before sending an email.\n\n## Email Template\nGobeet uses standard [Golang HTML Templates](https://golang.org/pkg/html/template/). The two exposed variables are:\n* `Site`: The current page that's down.\n* `Error`: The error object.\n\n```\n\u003cdiv class=\"header\"\u003e\n  \u003ch1\u003eYour website, \u003ca href=\"{{.Site.Url}}\"\u003e{{.Site.Url}}\u003c/a\u003e has been down for {{.Site.Duration}} seconds!\u003c/h1\u003e\n\u003c/div\u003e\n\u003cdiv class=\"content\"\u003e\n  \u003ch3\u003eThe error is: \u003c/h3\u003e\n  \u003cdiv class=\"pre\"\u003e\n    {{.Error}}\n  \u003c/div\u003e\n\u003c/div\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanman113%2Fgobeet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanman113%2Fgobeet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanman113%2Fgobeet/lists"}