Compare commits

..

1 Commits

Author SHA1 Message Date
Nicholas Pease 97a832180d Update index.js 2023-09-04 01:39:05 -04:00
9 changed files with 26 additions and 95 deletions
+4
View File
@@ -0,0 +1,4 @@
# These are supported funding model platforms
github: eidam
ko_fi: eidam
@@ -22,7 +22,7 @@ jobs:
env:
NODE_ENV: production
- name: Publish
uses: cloudflare/wrangler-action@v3
uses: cloudflare/wrangler-action@1.3.0
with:
apiToken: ${{ secrets.CF_API_TOKEN }}
preCommands: |
-1
View File
@@ -1,5 +1,4 @@
# 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! 🚀
+18 -91
View File
@@ -1,7 +1,7 @@
settings:
title: 'Status Page'
url: 'https://status-page.eidam.dev' # used for Slack messages
logo: LAX18.jpeg # image in ./public/ folder
logo: logo-192x192.png # 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,98 +15,25 @@ settings:
dayInHistogramNotOperational: ' incident(s)' # xx incident(s) recorded
monitors:
- id: nicholaspease.com
name: Portfolio
url: 'https://www.nicholaspease.com/'
- 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'
method: GET
expectStatus: 200
linkable: true # allows the title to be a link, default=true
- id: server1.nicholaspease.com
name: Server1 Homepage
url: 'https://server1.nicholaspease.com/'
- id: blog-cloudflare-com
name: The Cloudflare Blog
url: 'https://blog.cloudflare.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
+2 -1
View File
@@ -88,7 +88,8 @@ export default function Index({ config, kvMonitors, kvMonitorsLastUpdate }) {
/>
)
})}
</div>
</div>
)
BIN
View File
Binary file not shown.

Before

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.

After

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 = ["*/5 * * * *"]
crons = ["* * * * *"]
[site]
bucket = "out"