Compare commits

..

40 Commits

Author SHA1 Message Date
npease 5d167d58ca feat: remove unused services
Deploy / deploy (push) Failing after 1m8s
2025-09-08 00:00:05 -04:00
npease 3c90812783 Remove hakatime,
Deploy / deploy (push) Successful in 2m31s
2024-05-02 01:10:11 +00:00
npease ac34c4803b Remove Dizque
Deploy / deploy (push) Successful in 2m7s
2024-02-22 17:23:34 +00:00
npease 91bcdef373 Add nicholaspease.com
Deploy / deploy (push) Successful in 2m6s
2024-02-16 04:37:16 +00:00
npease 089bbf4809 Gitea Status Code Update
Deploy / deploy (push) Successful in 2m16s
2024-02-01 06:16:19 +00:00
npease bd377176f5 Reset Radarr History
Deploy / deploy (push) Successful in 2m3s
2024-01-25 19:20:44 +00:00
npease 0776ba8105 Add new services
Deploy / deploy (push) Successful in 2m7s
2024-01-25 19:06:02 +00:00
npease 78bf79e6e5 Update Spotify
Deploy / deploy (push) Successful in 2m15s
2024-01-25 18:21:34 +00:00
npease 039a3cb916 Try Code 401
Deploy / deploy (push) Successful in 2m14s
2024-01-25 18:10:21 +00:00
npease 5aa44522ce Radarr Fix
Deploy / deploy (push) Successful in 2m24s
2024-01-25 16:01:03 +00:00
npease eb5d5c374c Update Radarr status code
Deploy / deploy (push) Successful in 3m24s
2023-11-18 03:50:56 +00:00
npease 25058cce89 Added last of the monitors
Deploy / deploy (push) Successful in 2m12s
2023-10-13 21:16:38 +00:00
npease abd6f6bf11 Add some monitors
Deploy / deploy (push) Successful in 2m15s
2023-10-12 06:17:00 +00:00
npease a4a0f28178 Attempt Run
Deploy / deploy (push) Successful in 4m46s
2023-10-12 06:00:21 +00:00
npease d7e45bcf34 Update Status Codes 2023-10-12 05:27:45 +00:00
npease 69119b35e6 Change Status Codes 2023-10-12 05:09:19 +00:00
npease 2326f1d69e Add Gitea / Coder 2023-09-19 04:21:56 +00:00
npease e6017c5055 Update status codes 2023-09-19 03:57:56 +00:00
npease abd7207054 Add bittorrent, prowlarr, bazarr, petio, tautulli 2023-09-19 03:54:31 +00:00
npease 4f7ab0318d Add favicon 2023-09-19 03:34:50 +00:00
npease 6ea420e34e Trailing Forward Slash? Fix jpeg 2023-09-19 03:30:46 +00:00
npease a0fa2b5077 Icon Update 2023-09-19 03:27:30 +00:00
npease ce25f55742 Merge branch 'main' of https://github.com/LAX18/cf-workers-status-page 2023-09-19 03:21:16 +00:00
npease 35e60cacc3 Add sonarr, fix plex 2023-09-19 03:20:53 +00:00
Nicholas Pease 966fe63acc Update README.md 2023-09-18 23:18:43 -04:00
npease e0a84b0909 Add Plex 2023-09-19 03:16:10 +00:00
npease e23efaa876 Remove Plex 2023-09-05 05:36:21 +00:00
npease 67587753bd Try Follow Redirect 2023-09-05 05:31:40 +00:00
npease 8c97966070 Add Plex 2023-09-05 05:27:34 +00:00
Nicholas Pease 8045ac5d61 Update index.js 2023-09-04 01:39:57 -04:00
Nicholas Pease e6f13e2d21 Update wrangler.toml 2023-09-04 01:35:43 -04:00
Nicholas Pease 563b061b30 Update config.yaml 2023-09-04 01:29:38 -04:00
Nicholas Pease dbc359cf78 Update config.yaml 2023-09-04 01:23:43 -04:00
Nicholas Pease d8531a0fa2 Update wrangler.toml 2023-09-04 01:17:06 -04:00
Nicholas Pease b4bc6e191c Update config.yaml 2023-09-04 01:15:43 -04:00
Nicholas Pease 31d9528e7b Update config.yaml 2023-09-04 01:14:29 -04:00
Vladimir Lazić f5b49dcae7 Fixes recent deployment issues 2023-06-30 11:09:36 +01:00
dependabot[bot] f419b8ad2b chore(deps): bump nanoid from 3.1.23 to 3.3.4
Bumps [nanoid](https://github.com/ai/nanoid) from 3.1.23 to 3.3.4.
- [Release notes](https://github.com/ai/nanoid/releases)
- [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ai/nanoid/compare/3.1.23...3.3.4)

---
updated-dependencies:
- dependency-name: nanoid
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-24 10:51:37 +01:00
dependabot[bot] 8d704ef44c chore(deps-dev): bump postcss from 8.2.10 to 8.2.13
Bumps [postcss](https://github.com/postcss/postcss) from 8.2.10 to 8.2.13.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.2.10...8.2.13)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-24 10:51:26 +01:00
dependabot[bot] 7f58e2673a chore(deps): bump eventsource from 1.0.7 to 1.1.1
Bumps [eventsource](https://github.com/EventSource/eventsource) from 1.0.7 to 1.1.1.
- [Release notes](https://github.com/EventSource/eventsource/releases)
- [Changelog](https://github.com/EventSource/eventsource/blob/master/HISTORY.md)
- [Commits](https://github.com/EventSource/eventsource/compare/v1.0.7...v1.1.1)

---
updated-dependencies:
- dependency-name: eventsource
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-24 10:50:21 +01:00
11 changed files with 112 additions and 64 deletions
@@ -4,7 +4,6 @@ on:
push:
branches:
- main
- e/w2
repository_dispatch:
schedule:
- cron: '0 0 1 * *'
@@ -23,15 +22,12 @@ jobs:
env:
NODE_ENV: production
- name: Publish
uses: WalshyDev/wrangler-action@walshy/pages-996-support-wrangler2
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CF_API_TOKEN }}
command: publish --env production
wranglerVersion: beta
preCommands: |
wrangler kv:namespace create KV_STATUS_PAGE || echo "KV namespace already exists"
apt-get update && apt-get install -y jq
export KV_NAMESPACE_ID=$(wrangler kv:namespace list | jq -c 'map(select(.title | contains("KV_STATUS_PAGE")))' | jq -r ".[0].id")
wrangler kv:namespace create KV_STATUS_PAGE || true
export KV_NAMESPACE_ID=$(npx @cloudflare/wrangler@1 kv:namespace list 2> >(tee stderr.log >&2) | head -1 | node -pe "JSON.parse(fs.readFileSync('/dev/stdin').toString()).find(kv => kv.title.includes('KV_STATUS_PAGE')).id")
echo "[env.production]" >> wrangler.toml
echo "kv_namespaces = [{binding=\"KV_STATUS_PAGE\", id=\"${KV_NAMESPACE_ID}\"}]" >> wrangler.toml
[ -z "$SECRET_SLACK_WEBHOOK_URL" ] && echo "Secret SECRET_SLACK_WEBHOOK_URL not set, creating dummy one..." && SECRET_SLACK_WEBHOOK_URL="default-gh-action-secret" || true
@@ -45,6 +41,7 @@ jobs:
SECRET_TELEGRAM_API_TOKEN
SECRET_TELEGRAM_CHAT_ID
SECRET_DISCORD_WEBHOOK_URL
environment: production
env:
CF_ACCOUNT_ID: ${{ secrets.CF_ACCOUNT_ID }}
SECRET_SLACK_WEBHOOK_URL: ${{secrets.SECRET_SLACK_WEBHOOK_URL}}
-4
View File
@@ -1,4 +0,0 @@
# These are supported funding model platforms
github: eidam
ko_fi: eidam
+1
View File
@@ -1,4 +1,5 @@
# Cloudflare Worker - Status Page
[![Deploy](https://github.com/LAX18/cf-workers-status-page/actions/workflows/deploy.yml/badge.svg)](https://github.com/LAX18/cf-workers-status-page/actions/workflows/deploy.yml)
Monitor your websites, showcase status including daily history, and get Slack notification whenever your website status changes. Using **Cloudflare Workers**, **CRON Triggers,** and **KV storage**. Check [my status page](https://status-page.eidam.dev) out! 🚀
+91 -18
View File
@@ -1,7 +1,7 @@
settings:
title: 'Status Page'
url: 'https://status-page.eidam.dev' # used for Slack messages
logo: logo-192x192.png # image in ./public/ folder
logo: LAX18.jpeg # image in ./public/ folder
daysInHistogram: 90 # number of days you want to display in histogram
collectResponseTimes: true # collects avg response times from CRON locations
@@ -15,25 +15,98 @@ settings:
dayInHistogramNotOperational: ' incident(s)' # xx incident(s) recorded
monitors:
- id: workers-cloudflare-com # unique identifier
name: workers.cloudflare.com
description: 'You write code. They handle the rest.' # default=empty
url: 'https://workers.cloudflare.com/' # URL to fetch
method: GET # default=GET
expectStatus: 200 # operational status, default=200
followRedirect: false # should fetch follow redirects, default=false
linkable: false # allows the title to be a link, default=true
- id: www-cloudflare-com
name: www.cloudflare.com
description: 'Built for anything connected to the Internet.'
url: 'https://www.cloudflare.com'
- id: nicholaspease.com
name: Portfolio
url: 'https://www.nicholaspease.com/'
method: GET
expectStatus: 200
linkable: true # allows the title to be a link, default=true
- id: blog-cloudflare-com
name: The Cloudflare Blog
url: 'https://blog.cloudflare.com/'
- id: server1.nicholaspease.com
name: Server1 Homepage
url: 'https://server1.nicholaspease.com/'
method: GET
expectStatus: 200
- id: plex.nicholaspease.com
name: Plex
url: 'https://plex.nicholaspease.com/'
method: GET
expectStatus: 401
- id: radarr.nicholaspease.com/
name: Radarr
url: 'https://radarr.nicholaspease.com/'
method: GET
expectStatus: 401
- id: sonarr.nicholaspease.com
name: Sonarr
url: 'https://sonarr.nicholaspease.com/'
method: GET
expectStatus: 200
- id: bittorrent.nicholaspease.com
name: qBittorrent
url: 'https://bittorrent.nicholaspease.com/'
method: GET
expectStatus: 200
- id: prowlarr.nicholaspease.com
name: Prowlarr
url: 'https://prowlarr.nicholaspease.com/'
method: GET
expectStatus: 401
- id: bazarr.nicholaspease.com
name: Bazarr
url: 'https://bazarr.nicholaspease.com/'
method: GET
expectStatus: 200
- id: petio.nicholaspease.com
name: Petio
url: 'https://petio.nicholaspease.com/'
method: GET
expectStatus: 200
- id: tautulli.nicholaspease.com
name: Tautulli
url: 'https://tautulli.nicholaspease.com/'
method: GET
expectStatus: 303
- id: gitea.nicholaspease.com
name: Gitea
url: 'https://gitea.nicholaspease.com/explore/repos'
method: GET
expectStatus: 200
- id: coder.nicholaspease.com
name: Coder
url: 'https://coder.nicholaspease.com/'
method: GET
expectStatus: 200
- id: drone.nicholaspease.com
name: Drone CI
url: 'https://drone.nicholaspease.com/'
method: GET
expectStatus: 303
- id: waakaapi.nicholaspease.com
name: WakaAPI
url: 'https://wakaapi.nicholaspease.com/'
method: GET
expectStatus: 200
- id: proxmox.nicholaspease.com
name: Proxmox
url: 'https://proxmox.nicholaspease.com/'
method: GET
expectStatus: 302
- id: netdata.nicholaspease.com
name: Netdata
url: 'https://netdata.nicholaspease.com'
method: GET
expectStatus: 302
+1 -1
View File
@@ -23,7 +23,7 @@
"devDependencies": {
"autoprefixer": "^10.0.2",
"node-fetch": "^2.6.1",
"postcss": "^8.2.10",
"postcss": "^8.2.13",
"postcss-cli": "^8.3.0",
"prettier": "^2.2.0",
"tailwindcss": "^2.0.1",
+1 -20
View File
@@ -88,26 +88,7 @@ export default function Index({ config, kvMonitors, kvMonitorsLastUpdate }) {
/>
)
})}
<div className="flex flex-row justify-between mt-4 text-sm">
<div>
Powered by{' '}
<a href="https://workers.cloudflare.com/" target="_blank">
Cloudflare Workers{' '}
</a>
&{' '}
<a href="https://flareact.com/" target="_blank">
Flareact{' '}
</a>
</div>
<div>
<a
href="https://github.com/eidam/cf-workers-status-page"
target="_blank"
>
Get Your Status Page
</a>
</div>
</div>
</div>
</div>
)
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

+1 -1
View File
@@ -6,7 +6,7 @@ webpack_config = "node_modules/flareact/webpack"
compatibility_date = "2021-07-23"
[triggers]
crons = ["* * * * *"]
crons = ["*/5 * * * *"]
[site]
bucket = "out"
+13 -13
View File
@@ -2874,9 +2874,9 @@ events@^3.0.0:
integrity sha512-/46HWwbfCX2xTawVfkKLGxMifJYQBWMwY1mjywRtb4c9x8l5NP3KoJtnIOiL1hfdRkIuYhETxQlo62IF8tcnlg==
eventsource@^1.0.7:
version "1.0.7"
resolved "https://registry.yarnpkg.com/eventsource/-/eventsource-1.0.7.tgz#8fbc72c93fcd34088090bc0a4e64f4b5cee6d8d0"
integrity sha512-4Ln17+vVT0k8aWq+t/bF5arcS3EpT9gYtW66EPacdj/mAFevznsnyoHLPy2BA8gbIQeIHoPsvwmfBftfcG//BQ==
version "1.1.1"
resolved "https://registry.yarnpkg.com/eventsource/-/eventsource-1.1.1.tgz#4544a35a57d7120fba4fa4c86cb4023b2c09df2f"
integrity sha512-qV5ZC0h7jYIAOhArFJgSfdyz6rALJyb270714o7ZtNnw2WSJ+eexhKtE0O8LYPRsHZHf2osHKZBxGPvm3kPkCA==
dependencies:
original "^1.0.0"
@@ -4609,9 +4609,9 @@ nan@^2.12.1:
integrity sha512-M2ufzIiINKCuDfBSAUr1vWQ+vuVcA9kqx8JJUsbQi6yf1uGRyb7HfpdfUr5qLXf3B/t8dPvcjhKMmlfnP47EzQ==
nanoid@^3.1.12, nanoid@^3.1.22:
version "3.1.23"
resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.1.23.tgz#f744086ce7c2bc47ee0a8472574d5c78e4183a81"
integrity sha512-FiB0kzdP0FFVGDKlRLEQ1BgDzU87dy5NnzjeW9YZNt+/c3+q82EQDUwniSAUxp/F0gFNI1ZhKU1FqYsMuqZVnw==
version "3.3.4"
resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.3.4.tgz#730b67e3cd09e2deacf03c027c81c9d9dbc5e8ab"
integrity sha512-MqBkQh/OHTS2egovRtLk45wEyNXwF+cokD+1YPf9u5VfJiRdAiRwB2froX5Co9Rh20xs4siNPm8naNotSD6RBw==
nanomatch@^1.2.9:
version "1.2.13"
@@ -5862,10 +5862,10 @@ postcss@^7.0.0, postcss@^7.0.1, postcss@^7.0.14, postcss@^7.0.17, postcss@^7.0.2
source-map "^0.6.1"
supports-color "^6.1.0"
postcss@^8.1.6, postcss@^8.2.10:
version "8.2.10"
resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.2.10.tgz#ca7a042aa8aff494b334d0ff3e9e77079f6f702b"
integrity sha512-b/h7CPV7QEdrqIxtAf2j31U5ef05uBDuvoXv6L51Q4rcS1jdlXAVKJv+atCFdUXYl9dyTHGyoMzIepwowRJjFw==
postcss@^8.1.6, postcss@^8.2.13:
version "8.2.13"
resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.2.13.tgz#dbe043e26e3c068e45113b1ed6375d2d37e2129f"
integrity sha512-FCE5xLH+hjbzRdpbRb1IMCvPv9yZx2QnDarBEYSN0N0HYk+TcXsEhwdFcFb+SRWOKzKGErhIEbBK2ogyLdTtfQ==
dependencies:
colorette "^1.2.2"
nanoid "^3.1.22"
@@ -7256,9 +7256,9 @@ urix@^0.1.0:
integrity sha1-2pN/emLiH+wf0Y1Js1wpNQZ6bHI=
url-parse@^1.4.3:
version "1.5.1"
resolved "https://registry.yarnpkg.com/url-parse/-/url-parse-1.5.1.tgz#d5fa9890af8a5e1f274a2c98376510f6425f6e3b"
integrity sha512-HOfCOUJt7iSYzEx/UqgtwKRMC6EU91NFhsCHMv9oM03VJcVo2Qrp8T8kI9D7amFf1cu+/3CEhgb3rF9zL7k85Q==
version "1.5.10"
resolved "https://registry.yarnpkg.com/url-parse/-/url-parse-1.5.10.tgz#9d3c2f736c1d75dd3bd2be507dcc111f1e2ea9c1"
integrity sha512-WypcfiRhfeUP9vvF0j6rw0J3hrWrw6iZv3+22h6iRMJ/8z1Tj6XfLP4DsUix5MhMPnXpiHDoKyoZ/bdCkwBCiQ==
dependencies:
querystringify "^2.1.1"
requires-port "^1.0.0"