From 8044ea56a861ca2affdd70142edbae0fa6569cbe Mon Sep 17 00:00:00 2001 From: Jaemin Choi <1dotolee@gmail.com> Date: Wed, 3 Jan 2024 12:25:39 +0900 Subject: [PATCH] Initial commit --- .gitattributes | 9 + .github/ISSUE_TEMPLATE/bug_report.md | 40 ++ .github/ISSUE_TEMPLATE/config.yml | 8 + .github/ISSUE_TEMPLATE/maintainance-event.md | 17 + .github/workflows/graphs.yml | 32 ++ .github/workflows/response-time.yml | 33 ++ .github/workflows/setup.yml | 65 +++ .github/workflows/site.yml | 41 ++ .github/workflows/summary.yml | 32 ++ .github/workflows/update-template.yml | 32 ++ .github/workflows/updates.yml | 30 + .github/workflows/uptime.yml | 33 ++ .templaterc.json | 3 + .upptimerc.yml | 31 + LICENSE | 21 + README.md | 106 ++++ api/google/response-time-day.json | 1 + api/google/response-time-month.json | 1 + api/google/response-time-week.json | 1 + api/google/response-time-year.json | 1 + api/google/response-time.json | 1 + api/google/uptime-day.json | 1 + api/google/uptime-month.json | 1 + api/google/uptime-week.json | 1 + api/google/uptime-year.json | 1 + api/google/uptime.json | 1 + api/hacker-news/response-time-day.json | 1 + api/hacker-news/response-time-month.json | 1 + api/hacker-news/response-time-week.json | 1 + api/hacker-news/response-time-year.json | 1 + api/hacker-news/response-time.json | 1 + api/hacker-news/uptime-day.json | 1 + api/hacker-news/uptime-month.json | 1 + api/hacker-news/uptime-week.json | 1 + api/hacker-news/uptime-year.json | 1 + api/hacker-news/uptime.json | 1 + api/test-broken-site/response-time-day.json | 1 + api/test-broken-site/response-time-month.json | 1 + api/test-broken-site/response-time-week.json | 1 + api/test-broken-site/response-time-year.json | 1 + api/test-broken-site/response-time.json | 1 + api/test-broken-site/uptime-day.json | 1 + api/test-broken-site/uptime-month.json | 1 + api/test-broken-site/uptime-week.json | 1 + api/test-broken-site/uptime-year.json | 1 + api/test-broken-site/uptime.json | 1 + api/wikipedia/response-time-day.json | 1 + api/wikipedia/response-time-month.json | 1 + api/wikipedia/response-time-week.json | 1 + api/wikipedia/response-time-year.json | 1 + api/wikipedia/response-time.json | 1 + api/wikipedia/uptime-day.json | 1 + api/wikipedia/uptime-month.json | 1 + api/wikipedia/uptime-week.json | 1 + api/wikipedia/uptime-year.json | 1 + api/wikipedia/uptime.json | 1 + assets/upptime-icon.svg | 4 + graphs/google.png | Bin 0 -> 16200 bytes graphs/google/response-time-day.png | Bin 0 -> 3634 bytes graphs/google/response-time-month.png | Bin 0 -> 21606 bytes graphs/google/response-time-week.png | Bin 0 -> 15523 bytes graphs/google/response-time-year.png | Bin 0 -> 74463 bytes graphs/google/response-time.png | Bin 0 -> 73714 bytes graphs/hacker-news.png | Bin 0 -> 12250 bytes graphs/hacker-news/response-time-day.png | Bin 0 -> 11207 bytes graphs/hacker-news/response-time-month.png | Bin 0 -> 20212 bytes graphs/hacker-news/response-time-week.png | Bin 0 -> 22941 bytes graphs/hacker-news/response-time-year.png | Bin 0 -> 28322 bytes graphs/hacker-news/response-time.png | Bin 0 -> 28068 bytes graphs/test-broken-site/response-time-day.png | Bin 0 -> 1196 bytes .../test-broken-site/response-time-month.png | Bin 0 -> 1196 bytes .../test-broken-site/response-time-week.png | Bin 0 -> 1196 bytes .../test-broken-site/response-time-year.png | Bin 0 -> 1196 bytes graphs/test-broken-site/response-time.png | Bin 0 -> 1196 bytes graphs/wikipedia.png | Bin 0 -> 23004 bytes graphs/wikipedia/response-time-day.png | Bin 0 -> 8957 bytes graphs/wikipedia/response-time-month.png | Bin 0 -> 28158 bytes graphs/wikipedia/response-time-week.png | Bin 0 -> 18560 bytes graphs/wikipedia/response-time-year.png | Bin 0 -> 33809 bytes graphs/wikipedia/response-time.png | Bin 0 -> 35697 bytes history/LICENSE | 540 ++++++++++++++++++ history/google.yml | 7 + history/hacker-news.yml | 7 + history/summary.json | 451 +++++++++++++++ history/test-broken-site.yml | 7 + history/wikipedia.yml | 7 + 86 files changed, 1596 insertions(+) create mode 100644 .gitattributes create mode 100644 .github/ISSUE_TEMPLATE/bug_report.md create mode 100644 .github/ISSUE_TEMPLATE/config.yml create mode 100644 .github/ISSUE_TEMPLATE/maintainance-event.md create mode 100644 .github/workflows/graphs.yml create mode 100644 .github/workflows/response-time.yml create mode 100644 .github/workflows/setup.yml create mode 100644 .github/workflows/site.yml create mode 100644 .github/workflows/summary.yml create mode 100644 .github/workflows/update-template.yml create mode 100644 .github/workflows/updates.yml create mode 100644 .github/workflows/uptime.yml create mode 100644 .templaterc.json create mode 100644 .upptimerc.yml create mode 100644 LICENSE create mode 100644 README.md create mode 100644 api/google/response-time-day.json create mode 100644 api/google/response-time-month.json create mode 100644 api/google/response-time-week.json create mode 100644 api/google/response-time-year.json create mode 100644 api/google/response-time.json create mode 100644 api/google/uptime-day.json create mode 100644 api/google/uptime-month.json create mode 100644 api/google/uptime-week.json create mode 100644 api/google/uptime-year.json create mode 100644 api/google/uptime.json create mode 100644 api/hacker-news/response-time-day.json create mode 100644 api/hacker-news/response-time-month.json create mode 100644 api/hacker-news/response-time-week.json create mode 100644 api/hacker-news/response-time-year.json create mode 100644 api/hacker-news/response-time.json create mode 100644 api/hacker-news/uptime-day.json create mode 100644 api/hacker-news/uptime-month.json create mode 100644 api/hacker-news/uptime-week.json create mode 100644 api/hacker-news/uptime-year.json create mode 100644 api/hacker-news/uptime.json create mode 100644 api/test-broken-site/response-time-day.json create mode 100644 api/test-broken-site/response-time-month.json create mode 100644 api/test-broken-site/response-time-week.json create mode 100644 api/test-broken-site/response-time-year.json create mode 100644 api/test-broken-site/response-time.json create mode 100644 api/test-broken-site/uptime-day.json create mode 100644 api/test-broken-site/uptime-month.json create mode 100644 api/test-broken-site/uptime-week.json create mode 100644 api/test-broken-site/uptime-year.json create mode 100644 api/test-broken-site/uptime.json create mode 100644 api/wikipedia/response-time-day.json create mode 100644 api/wikipedia/response-time-month.json create mode 100644 api/wikipedia/response-time-week.json create mode 100644 api/wikipedia/response-time-year.json create mode 100644 api/wikipedia/response-time.json create mode 100644 api/wikipedia/uptime-day.json create mode 100644 api/wikipedia/uptime-month.json create mode 100644 api/wikipedia/uptime-week.json create mode 100644 api/wikipedia/uptime-year.json create mode 100644 api/wikipedia/uptime.json create mode 100644 assets/upptime-icon.svg create mode 100644 graphs/google.png create mode 100644 graphs/google/response-time-day.png create mode 100644 graphs/google/response-time-month.png create mode 100644 graphs/google/response-time-week.png create mode 100644 graphs/google/response-time-year.png create mode 100644 graphs/google/response-time.png create mode 100644 graphs/hacker-news.png create mode 100644 graphs/hacker-news/response-time-day.png create mode 100644 graphs/hacker-news/response-time-month.png create mode 100644 graphs/hacker-news/response-time-week.png create mode 100644 graphs/hacker-news/response-time-year.png create mode 100644 graphs/hacker-news/response-time.png create mode 100644 graphs/test-broken-site/response-time-day.png create mode 100644 graphs/test-broken-site/response-time-month.png create mode 100644 graphs/test-broken-site/response-time-week.png create mode 100644 graphs/test-broken-site/response-time-year.png create mode 100644 graphs/test-broken-site/response-time.png create mode 100644 graphs/wikipedia.png create mode 100644 graphs/wikipedia/response-time-day.png create mode 100644 graphs/wikipedia/response-time-month.png create mode 100644 graphs/wikipedia/response-time-week.png create mode 100644 graphs/wikipedia/response-time-year.png create mode 100644 graphs/wikipedia/response-time.png create mode 100644 history/LICENSE create mode 100644 history/google.yml create mode 100644 history/hacker-news.yml create mode 100644 history/summary.json create mode 100644 history/test-broken-site.yml create mode 100644 history/wikipedia.yml diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 000000000..2a9eb71da --- /dev/null +++ b/.gitattributes @@ -0,0 +1,9 @@ +# Markdown +*.md linguist-detectable=true +*.md linguist-documentation=false + +# JSON +*.json linguist-detectable=true + +# YAML +*.yml linguist-detectable=true diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 000000000..e705887d4 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -0,0 +1,40 @@ +--- +name: Bug report +about: Create a report to help us improve +title: '' +labels: 'bug' +assignees: 'AnandChowdhary' + +--- + + + +**Describe the bug** +A clear and concise description of what the bug is. + +**To Reproduce** +Steps to reproduce the behavior: +1. Go to '...' +2. Click on '....' +3. Scroll down to '....' +4. See error + +**Expected behavior** +A clear and concise description of what you expected to happen. + +**Screenshots** +If applicable, add screenshots to help explain your problem. + +**Desktop (please complete the following information):** + - OS: [e.g. iOS] + - Browser [e.g. chrome, safari] + - Version [e.g. 22] + +**Smartphone (please complete the following information):** + - Device: [e.g. iPhone6] + - OS: [e.g. iOS8.1] + - Browser [e.g. stock browser, safari] + - Version [e.g. 22] + +**Additional context** +Add any other context about the problem here. diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 000000000..5c1e20099 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,8 @@ +blank_issues_enabled: true +contact_links: + - name: Feature requests and ideas + url: https://github.com/upptime/upptime/discussions/new?category=ideas + about: Suggest an idea for this project + - name: Questions + url: https://github.com/upptime/upptime/discussions/new?category=q-a + about: Please ask and answer questions here diff --git a/.github/ISSUE_TEMPLATE/maintainance-event.md b/.github/ISSUE_TEMPLATE/maintainance-event.md new file mode 100644 index 000000000..7abcd2532 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/maintainance-event.md @@ -0,0 +1,17 @@ +--- +name: Maintenance Event +about: Schedule a work window +title: "[Scheduled Maintenance] Site down for Maintenance" +labels: maintenance +assignees: '' + +--- + + + +**Additional context** +Who/what/when/where/why is this maintenance happening diff --git a/.github/workflows/graphs.yml b/.github/workflows/graphs.yml new file mode 100644 index 000000000..c2b9ceb0e --- /dev/null +++ b/.github/workflows/graphs.yml @@ -0,0 +1,32 @@ +# This file was generated by upptime/uptime-monitor@v1.35.0 +# +# =============================== +# Do not edit this file directly! +# =============================== +# +# Your changes will be overwritten when the template updates (daily) +# Instead, change your .upptimerc.yml configuration: https://upptime.js.org/docs + +name: Graphs CI +on: + schedule: + - cron: "0 0 * * *" + repository_dispatch: + types: [graphs] + workflow_dispatch: +jobs: + release: + name: Generate graphs + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + with: + ref: ${{ github.head_ref }} + token: ${{ secrets.GH_PAT || github.token }} + - name: Generate graphs + uses: upptime/uptime-monitor@v1.35.0 + with: + command: "graphs" + env: + GH_PAT: ${{ secrets.GH_PAT || github.token }} diff --git a/.github/workflows/response-time.yml b/.github/workflows/response-time.yml new file mode 100644 index 000000000..d51270a46 --- /dev/null +++ b/.github/workflows/response-time.yml @@ -0,0 +1,33 @@ +# This file was generated by upptime/uptime-monitor@v1.35.0 +# +# =============================== +# Do not edit this file directly! +# =============================== +# +# Your changes will be overwritten when the template updates (daily) +# Instead, change your .upptimerc.yml configuration: https://upptime.js.org/docs + +name: Response Time CI +on: + schedule: + - cron: "0 23 * * *" + repository_dispatch: + types: [response_time] + workflow_dispatch: +jobs: + release: + name: Check status + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + with: + ref: ${{ github.head_ref }} + token: ${{ secrets.GH_PAT || github.token }} + - name: Update response time + uses: upptime/uptime-monitor@v1.35.0 + with: + command: "response-time" + env: + GH_PAT: ${{ secrets.GH_PAT || github.token }} + SECRETS_CONTEXT: ${{ toJson(secrets) }} diff --git a/.github/workflows/setup.yml b/.github/workflows/setup.yml new file mode 100644 index 000000000..162f7b19c --- /dev/null +++ b/.github/workflows/setup.yml @@ -0,0 +1,65 @@ +# This file was generated by upptime/uptime-monitor@v1.35.0 +# +# =============================== +# Do not edit this file directly! +# =============================== +# +# Your changes will be overwritten when the template updates (daily) +# Instead, change your .upptimerc.yml configuration: https://upptime.js.org/docs + +name: Setup CI +on: + push: + paths: + - ".upptimerc.yml" + repository_dispatch: + types: [setup] + workflow_dispatch: +jobs: + release: + name: Setup Upptime + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + with: + ref: ${{ github.head_ref }} + token: ${{ secrets.GH_PAT || github.token }} + - name: Update template + uses: upptime/uptime-monitor@v1.35.0 + with: + command: "update-template" + env: + GH_PAT: ${{ secrets.GH_PAT || github.token }} + - name: Update response time + uses: upptime/uptime-monitor@v1.35.0 + with: + command: "response-time" + env: + GH_PAT: ${{ secrets.GH_PAT || github.token }} + SECRETS_CONTEXT: ${{ toJson(secrets) }} + - name: Update summary in README + uses: upptime/uptime-monitor@v1.35.0 + with: + command: "readme" + env: + GH_PAT: ${{ secrets.GH_PAT || github.token }} + - name: Generate graphs + uses: benc-uk/workflow-dispatch@v1 + with: + workflow: Graphs CI + token: ${{ secrets.GH_PAT || github.token }} + - name: Generate site + uses: upptime/uptime-monitor@v1.35.0 + with: + command: "site" + env: + GH_PAT: ${{ secrets.GH_PAT || github.token }} + - uses: peaceiris/actions-gh-pages@v3.7.3 + name: GitHub Pages Deploy + with: + github_token: ${{ secrets.GH_PAT || github.token }} + publish_dir: "site/status-page/__sapper__/export/" + force_orphan: "false" + user_name: "Upptime Bot" + user_email: "73812536+upptime-bot@users.noreply.github.com" diff --git a/.github/workflows/site.yml b/.github/workflows/site.yml new file mode 100644 index 000000000..8af0bae77 --- /dev/null +++ b/.github/workflows/site.yml @@ -0,0 +1,41 @@ +# This file was generated by upptime/uptime-monitor@v1.35.0 +# +# =============================== +# Do not edit this file directly! +# =============================== +# +# Your changes will be overwritten when the template updates (daily) +# Instead, change your .upptimerc.yml configuration: https://upptime.js.org/docs + +name: Static Site CI +on: + schedule: + - cron: "0 1 * * *" + repository_dispatch: + types: [static_site] + workflow_dispatch: +jobs: + release: + name: Build and deploy site + runs-on: ubuntu-latest + if: "!contains(github.event.head_commit.message, '[skip ci]')" + steps: + - name: Checkout + uses: actions/checkout@v3 + with: + ref: ${{ github.head_ref }} + token: ${{ secrets.GH_PAT || github.token }} + - name: Generate site + uses: upptime/uptime-monitor@v1.35.0 + with: + command: "site" + env: + GH_PAT: ${{ secrets.GH_PAT || github.token }} + - uses: peaceiris/actions-gh-pages@v3.7.3 + name: GitHub Pages Deploy + with: + github_token: ${{ secrets.GH_PAT || github.token }} + publish_dir: "site/status-page/__sapper__/export/" + force_orphan: "false" + user_name: "Upptime Bot" + user_email: "73812536+upptime-bot@users.noreply.github.com" diff --git a/.github/workflows/summary.yml b/.github/workflows/summary.yml new file mode 100644 index 000000000..1d11e9ca8 --- /dev/null +++ b/.github/workflows/summary.yml @@ -0,0 +1,32 @@ +# This file was generated by upptime/uptime-monitor@v1.35.0 +# +# =============================== +# Do not edit this file directly! +# =============================== +# +# Your changes will be overwritten when the template updates (daily) +# Instead, change your .upptimerc.yml configuration: https://upptime.js.org/docs + +name: Summary CI +on: + schedule: + - cron: "0 0 * * *" + repository_dispatch: + types: [summary] + workflow_dispatch: +jobs: + release: + name: Generate README + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + with: + ref: ${{ github.head_ref }} + token: ${{ secrets.GH_PAT || github.token }} + - name: Update summary in README + uses: upptime/uptime-monitor@v1.35.0 + with: + command: "readme" + env: + GH_PAT: ${{ secrets.GH_PAT || github.token }} diff --git a/.github/workflows/update-template.yml b/.github/workflows/update-template.yml new file mode 100644 index 000000000..a6e241f61 --- /dev/null +++ b/.github/workflows/update-template.yml @@ -0,0 +1,32 @@ +# This file was generated by upptime/uptime-monitor@v1.35.0 +# +# =============================== +# Do not edit this file directly! +# =============================== +# +# Your changes will be overwritten when the template updates (daily) +# Instead, change your .upptimerc.yml configuration: https://upptime.js.org/docs + +name: Update Template CI +on: + schedule: + - cron: "0 0 * * *" + repository_dispatch: + types: [update_template] + workflow_dispatch: +jobs: + release: + name: Build + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + with: + ref: ${{ github.head_ref }} + token: ${{ secrets.GH_PAT || github.token }} + - name: Update template + uses: upptime/uptime-monitor@master + with: + command: "update-template" + env: + GH_PAT: ${{ secrets.GH_PAT || github.token }} diff --git a/.github/workflows/updates.yml b/.github/workflows/updates.yml new file mode 100644 index 000000000..f963859a7 --- /dev/null +++ b/.github/workflows/updates.yml @@ -0,0 +1,30 @@ +# This file was generated by upptime/uptime-monitor@v1.35.0 +# +# =============================== +# Do not edit this file directly! +# =============================== +# +# Your changes will be overwritten when the template updates (daily) +# Instead, change your .upptimerc.yml configuration: https://upptime.js.org/docs + +name: Updates CI +on: + schedule: + - cron: "0 3 * * *" + repository_dispatch: + types: [updates] + workflow_dispatch: +jobs: + release: + name: Deploy updates + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + with: + ref: ${{ github.head_ref }} + token: ${{ secrets.GH_PAT || github.token }} + - name: Update code + uses: upptime/updates@master + env: + GH_PAT: ${{ secrets.GH_PAT || github.token }} diff --git a/.github/workflows/uptime.yml b/.github/workflows/uptime.yml new file mode 100644 index 000000000..56ee81be9 --- /dev/null +++ b/.github/workflows/uptime.yml @@ -0,0 +1,33 @@ +# This file was generated by upptime/uptime-monitor@v1.35.0 +# +# =============================== +# Do not edit this file directly! +# =============================== +# +# Your changes will be overwritten when the template updates (daily) +# Instead, change your .upptimerc.yml configuration: https://upptime.js.org/docs + +name: Uptime CI +on: + schedule: + - cron: "*/5 * * * *" + repository_dispatch: + types: [uptime] + workflow_dispatch: +jobs: + release: + name: Check status + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + with: + ref: ${{ github.head_ref }} + token: ${{ secrets.GH_PAT || github.token }} + - name: Check endpoint status + uses: upptime/uptime-monitor@v1.35.0 + with: + command: "update" + env: + GH_PAT: ${{ secrets.GH_PAT || github.token }} + SECRETS_CONTEXT: ${{ toJson(secrets) }} diff --git a/.templaterc.json b/.templaterc.json new file mode 100644 index 000000000..3c6c2a114 --- /dev/null +++ b/.templaterc.json @@ -0,0 +1,3 @@ +{ + "files": [".github/**/*"] +} diff --git a/.upptimerc.yml b/.upptimerc.yml new file mode 100644 index 000000000..ef2951245 --- /dev/null +++ b/.upptimerc.yml @@ -0,0 +1,31 @@ +# Change these first +owner: upptime # Your GitHub organization or username, where this repository lives +repo: upptime # The name of this repository + +sites: + - name: Google + url: https://www.google.com + - name: Wikipedia + url: https://en.wikipedia.org + - name: Hacker News + url: https://news.ycombinator.com + - name: Test Broken Site + url: https://thissitedoesnotexist.koj.co + +status-website: + # Add your custom domain name, or remove the `cname` line if you don't have a domain + # Uncomment the `baseUrl` line if you don't have a custom domain and add your repo name there + cname: demo.upptime.js.org + # baseUrl: /your-repo-name + logoUrl: https://raw.githubusercontent.com/upptime/upptime.js.org/master/static/img/icon.svg + name: Upptime + introTitle: "**Upptime** is the open-source uptime monitor and status page, powered entirely by GitHub." + introMessage: This is a sample status page which uses **real-time** data from our [GitHub repository](https://github.com/upptime/upptime). No server required — just GitHub Actions, Issues, and Pages. [**Get your own for free**](https://github.com/upptime/upptime) + navbar: + - title: Status + href: / + - title: GitHub + href: https://github.com/$OWNER/$REPO + +# Upptime also supports notifications, assigning issues, and more +# See https://upptime.js.org/docs/configuration diff --git a/LICENSE b/LICENSE new file mode 100644 index 000000000..f76bb38c5 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2020 Anand Chowdhary + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.md b/README.md new file mode 100644 index 000000000..1335a3e75 --- /dev/null +++ b/README.md @@ -0,0 +1,106 @@ +# [![Upptime](https://raw.githubusercontent.com/upptime/upptime.js.org/master/static/img/logo.svg)](https://upptime.js.org) + + + +**Upptime** (https://upptime.js.org) is the open-source uptime monitor and status page, powered entirely by GitHub Actions, Issues, and Pages. It's made with 💚 by [Anand Chowdhary](https://anandchowdhary.com), supported by [Pabio](https://pabio.com). + +> I find Upptime an incredible clever usage of \[GitHub Actions]. You essentially get a free configurable uptime monitor for whatever you want. – [CSS Tricks](https://css-tricks.com/upptime/) + +Upptime is used by [**1,000+**](https://github.com/topics/upptime) people and teams to ensure they know when their endpoints go down. + + + +[![Uptime CI](https://github.com/upptime/upptime/workflows/Uptime%20CI/badge.svg)](https://github.com/upptime/upptime/actions?query=workflow%3A%22Uptime+CI%22) +[![Response Time CI](https://github.com/upptime/upptime/workflows/Response%20Time%20CI/badge.svg)](https://github.com/upptime/upptime/actions?query=workflow%3A%22Response+Time+CI%22) +[![Graphs CI](https://github.com/upptime/upptime/workflows/Graphs%20CI/badge.svg)](https://github.com/upptime/upptime/actions?query=workflow%3A%22Graphs+CI%22) +[![Static Site CI](https://github.com/upptime/upptime/workflows/Static%20Site%20CI/badge.svg)](https://github.com/upptime/upptime/actions?query=workflow%3A%22Static+Site+CI%22) +[![Summary CI](https://github.com/upptime/upptime/workflows/Summary%20CI/badge.svg)](https://github.com/upptime/upptime/actions?query=workflow%3A%22Summary+CI%22) + +## [📈 Live Status](https://demo.upptime.js.org): **🟧 Partial outage** + + + + + +| URL | Status | History | Response Time | Uptime | +| --- | ------ | ------- | ------------- | ------ | +| [Google](https://www.google.com) | 🟩 Up | [google.yml](https://github.com/upptime/upptime/commits/HEAD/history/google.yml) | | +| [Wikipedia](https://en.wikipedia.org) | 🟩 Up | [wikipedia.yml](https://github.com/upptime/upptime/commits/HEAD/history/wikipedia.yml) | | +| [Hacker News](https://news.ycombinator.com) | 🟩 Up | [hacker-news.yml](https://github.com/upptime/upptime/commits/HEAD/history/hacker-news.yml) | | +| [Test Broken Site](https://thissitedoesnotexist.koj.co) | 🟥 Down | [test-broken-site.yml](https://github.com/upptime/upptime/commits/HEAD/history/test-broken-site.yml) | | + + + + + +## ⭐ How it works + +- GitHub Actions is used as an uptime monitor + - Every 5 minutes, a workflow visits your website to make sure it's up + - Response time is recorded every 6 hours and committed to git + - Graphs of response time are generated every day +- GitHub Issues is used for incident reports + - An issue is opened if an endpoint is down + - People from your team are assigned to the issue + - Incidents reports are posted as issue comments + - Issues are locked so non-members cannot comment on them + - Issues are closed automatically when your site comes back up + - Slack notifications are sent on updates +- GitHub Pages is used for the status website + - A simple, beautiful, and accessible PWA is generated + - Built with Svelte and Sapper + - Fetches data from this repository using the GitHub API + +_Upptime is not affiliated to or endorsed by GitHub._ + +[![Screenshot of status website](https://raw.githubusercontent.com/upptime/upptime.js.org/master/static/img/screenshot-status.png)](https://upptime.js.org) + +## 👩💻 [Documentation](https://upptime.js.org) + +1. [How it works](https://upptime.js.org/docs) +1. [Getting started](https://upptime.js.org/docs/get-started) +1. [Configuration](https://upptime.js.org/docs/configuration) +1. [Triggers](https://upptime.js.org/docs/triggers) +1. [Notifications](https://upptime.js.org/docs/notifications) +1. [Badges](https://upptime.js.org/docs/badges) +1. [Packages](https://upptime.js.org/docs/packages) +1. [Contributing](https://upptime.js.org/docs/contributing) +1. [Frequently Asked Questions](https://upptime.js.org/docs/faq) + +### Concepts + +#### Issues as incidents + +When the GitHub Actions workflow detects that one of your URLs is down, it automatically opens a GitHub issue ([example issue #67](https://github.com/upptime/upptime/issues/67)). You can add incident reports to this issue by adding comments. When your site comes back up, the issue will be closed automatically as well. + +
+ + | ++ + | +
+ + | ++ + | +
n9s;8Vc4N0}zTFF bQC+d#6Gaj6!c-Zca>NUD*YnDyn5zw^2xWd7&
zLx1@`e^I`SicBY9zcWE7-0j9lIBC=s^O`&AwUt~x18GCl&IHE9rhE&cs>B
zpQ#ePEw7?NkG1GM9p|DSC+e XvfN4hUYxl(nk;p!xp@u_%cHD
z$IAlZ5~Lid=Z{voffLR14wBe&3n|kp&a*PzpB|k)G?lTQRyTr@q0X*+?BUW*Mte$o
z1XDcwz<{aG5NNPlmb8X={7X
zE@DLMKt33j!F=Zx8OguBu(@h@i4Vimc^zohC&F=Yvy)WYh
z$B8y!pm)p|3vs$c{vMl@RBaSAErAx|s#Pg8OkC=aQAT0>Kj!m~g+o?3LZdOZ(dk$m
zphy{#uYW)D6)EX|N7QcWom>7KKb9^0D(?no4}65bz4{%im#Hvp?`D>#L7JS+)>Tfs
z(dzB$(40}Ny2sMZU#5lWi&P57Ezpx`Ef!UyNCH?}>85i{-TIqf%NClp6L?>#V^%-n$>PS6L}#I@3``BF7^Z+*?a5h&At(^^Xh$fvksdTh*9>)
za^6VS5;+qSeHUmc{Kl#@`aVy^%AgZO5Uk2Aw=iKsQM*}1=ef|RVjiyeQl&55=Ld#|
zj=N6ty{gK@OiVA$6okj>{^(gY`q5y$ysCg2k8(VCzVmzs$HisMVo
OM@CONqIPF(EE4Vn0%ixuZl_zhb^|3pS?)%rwK{R$>=}LCz^Ze_j
z11_A74o_Ki8wG$GC^iQ7N|$mOkC+Kt
z^0T++G2NRr{a?m02RGIvL?`RDIi|*V(bQ9MY0UiQ&9N4{P1}3ZTbHQ)FZH@|t3MMB
zdcikm%sd?gy`LuhYWL9Z*pN
@|Pn%E2NuHm#KUK=Z@_+#PREk4Nr>&Mckj)My?7nXBh-Rt0fV2P(+h>hb}
zc`COYc0Abrcr9g(5s#$(?