{"id":19053543,"url":"https://github.com/zwrawr/ldstatus","last_synced_at":"2025-06-23T01:06:30.802Z","repository":{"id":223555754,"uuid":"92690701","full_name":"zwrawr/LDstatus","owner":"zwrawr","description":"Links uptimerobot to gitter, for easy status monitering","archived":false,"fork":false,"pushed_at":"2017-10-13T18:22:01.000Z","size":10,"stargazers_count":1,"open_issues_count":2,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-22T01:16:58.195Z","etag":null,"topics":["bot","gitter","gitter-api","google-cloud-functions","twitter","uptimerobot","uptimerobot-api"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/zwrawr.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}},"created_at":"2017-05-28T22:25:19.000Z","updated_at":"2017-06-02T00:04:37.000Z","dependencies_parsed_at":"2024-02-20T22:05:03.156Z","dependency_job_id":null,"html_url":"https://github.com/zwrawr/LDstatus","commit_stats":null,"previous_names":["zwrawr/ldstatus"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zwrawr/LDstatus","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zwrawr%2FLDstatus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zwrawr%2FLDstatus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zwrawr%2FLDstatus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zwrawr%2FLDstatus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zwrawr","download_url":"https://codeload.github.com/zwrawr/LDstatus/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zwrawr%2FLDstatus/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261392180,"owners_count":23151718,"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":["bot","gitter","gitter-api","google-cloud-functions","twitter","uptimerobot","uptimerobot-api"],"created_at":"2024-11-08T23:32:05.207Z","updated_at":"2025-06-23T01:06:25.774Z","avatar_url":"https://github.com/zwrawr.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LDstatus\n\n## Gitter\n[![Gitter](https://badges.gitter.im/LDstatus/Lobby.svg)](https://gitter.im/LDstatus/Lobby?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=badge)\nSeen as this integrates with Gitter it makes sense that it has it's own Gitter chat.\nI've been using it as a place to test the behaviour of this project, whilst it's being developed.\nBut your welcome to come and chat!\n\n## Config\n\n### config.json\nYou need to create a config.json file in the root directory, this is where you will place your api tokens/keys.\n\nI.E. config.json should be\n```json\n{\n  \"UPTIMEROBOT_TOKEN\" : \"\u003cTOKEN_YOU_GENERATE_FOR_UPTIMEROBOT\u003e\",\n\n  \"GITTER_PAT_TOKEN\" : \"\u003cYOUR_GITTER_BOTS_PERSONAL_ACCESS_TOKEN\u003e\",\n}\n```\n\nUp time robot does not provide you with a token,  so I suggest using [](www.random.org) too generate your own.\nI generated a 16byte token via this [link](https://www.random.org/cgi-bin/randbyte?nbytes=32\u0026format=h).\n\n### uptime robot\n\n#### Alert contact\nTo create a web hook from the uptime robot dashboard you need to go to the settings page, and add an alert contact.\nAn alert contact of type `webhook` is needed.\n\nThe url to notify needs to be to url to wherever your hosting your handler with a `?` on the end.\nI'm using Google Cloud Functions, But Amazon AWS Lambda or another \"Serverless\" provider should work with a little tweaking.\n\nThe POST data should be\n```json\n{\n  \"provider\":\"uptimerobot\",\n  \"token\":\"\u003cTOKEN_YOU_GENERATE_FOR_UPTIMEROBOT\u003e\",\n  \"room\":\"\u003cGIITER_ROOM/NAME\u003e\",\n  \"statuspageurl\":\"status.test.zakwest.tech\"\n}\n```\n\nstatspageurl is an optional param.\n\n#### Enabling the webhook for a monitorURL\n\nTo enable the web hook for a specific monitor, go it it's edit page and tick the box next to the name of your web hook.\n\n## Deployment\nThis will vary depending on whether your using Functions or Lambda.\n\nI am using `\u003egcloud beta functions deploy webhook --stage-bucket \u003cldstatus_staging_bucket\u003e --trigger-http` for Google Cloud Functions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzwrawr%2Fldstatus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzwrawr%2Fldstatus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzwrawr%2Fldstatus/lists"}