Bootstrap status page
This commit is contained in:
commit
0d734a6753
13 changed files with 401 additions and 0 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
public
|
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
[submodule "themes/cstate"]
|
||||
path = themes/cstate
|
||||
url = https://github.com/cstate/cstate.git
|
24
LICENSE
Normal file
24
LICENSE
Normal file
|
@ -0,0 +1,24 @@
|
|||
This is free and unencumbered software released into the public domain.
|
||||
|
||||
Anyone is free to copy, modify, publish, use, compile, sell, or
|
||||
distribute this software, either in source code form or as a compiled
|
||||
binary, for any purpose, commercial or non-commercial, and by any
|
||||
means.
|
||||
|
||||
In jurisdictions that recognize copyright laws, the author or authors
|
||||
of this software dedicate any and all copyright interest in the
|
||||
software to the public domain. We make this dedication for the benefit
|
||||
of the public at large and to the detriment of our heirs and
|
||||
successors. We intend this dedication to be an overt act of
|
||||
relinquishment in perpetuity of all present and future rights to this
|
||||
software under copyright law.
|
||||
|
||||
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 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.
|
||||
|
||||
For more information, please refer to <http://unlicense.org/>
|
16
README.md
Normal file
16
README.md
Normal file
|
@ -0,0 +1,16 @@
|
|||
# Status
|
||||
|
||||
This is the source code of my status page
|
||||
|
||||
## Build
|
||||
|
||||
This status page is powered by [cstate](https://github.com/cstate/cstate)
|
||||
|
||||
Use the following commands to generate all the pages
|
||||
|
||||
```bash
|
||||
git clone
|
||||
git submodule init
|
||||
git submodule update
|
||||
hugo
|
||||
```
|
6
archetypes/default.md
Normal file
6
archetypes/default.md
Normal file
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
title: "{{ replace .Name "-" " " | title }}"
|
||||
date: {{ .Date }}
|
||||
draft: true
|
||||
---
|
||||
|
318
config.yml
Normal file
318
config.yml
Normal file
|
@ -0,0 +1,318 @@
|
|||
############################################################
|
||||
# +------------------------------------------------------+ #
|
||||
# | Basic metadata | #
|
||||
# +------------------------------------------------------+ #
|
||||
############################################################
|
||||
|
||||
# What is your status page called?
|
||||
# Shows up in the browser bar and meta tags
|
||||
title: ️Status Page️
|
||||
|
||||
# Should posts, which have a publish date
|
||||
# from the future, be built? Useful for
|
||||
# sharing upcoming maintenance, etc.
|
||||
#
|
||||
# We recommend to keep this at `true`.
|
||||
# BOOLEAN; `true`, `false`
|
||||
buildFuture: true
|
||||
|
||||
# What language do you want to use for the
|
||||
# html[lang] definition?
|
||||
#
|
||||
# Does not change language of site
|
||||
# itself.
|
||||
#
|
||||
# Default: `en`
|
||||
# ISO 639-1 defines abbreviations.
|
||||
#
|
||||
# See: https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes
|
||||
# Also: https://www.w3schools.com/tags/ref_language_codes.asp
|
||||
languageCode: en
|
||||
|
||||
# What translation file should cState use?
|
||||
# You can also define whether missing
|
||||
# translations should get placeholders.
|
||||
#
|
||||
# For defaultContentLanguage—
|
||||
# Default: `en`
|
||||
#
|
||||
# For enableMissingTranslationPlaceholders—
|
||||
# do not set it to true for languages other
|
||||
# than English! When tested with Lithuanian,
|
||||
# it would add unnecesary placeholders to
|
||||
# values that were intentionally empty.
|
||||
defaultContentLanguage: en
|
||||
|
||||
# What is the hostname or path to the root?
|
||||
# Where is the site hosted?
|
||||
#
|
||||
# ❗ cState & Hugo don’t support '/' in
|
||||
# production use. It will break RSS
|
||||
# feeds and breaks permalinks since
|
||||
# version 3. If you are just testing,
|
||||
# localhost should automatically work.
|
||||
#
|
||||
# Example: https://status.example.com/
|
||||
baseURL: https://status.papey.fr
|
||||
|
||||
############################################################
|
||||
# +------------------------------------------------------+ #
|
||||
# | Preferences | #
|
||||
# +------------------------------------------------------+ #
|
||||
############################################################
|
||||
|
||||
params:
|
||||
# Before setting up your systems, you need
|
||||
# to first define at least one category.
|
||||
#
|
||||
# Categories are shown in the order that
|
||||
# you define in this config file.
|
||||
#
|
||||
# Categories can have a:
|
||||
# - name
|
||||
# - description
|
||||
# - closed boolean `closed: true`
|
||||
# That would collapse the category upon first load
|
||||
# and the user can expand by clicking on the category
|
||||
# (Requires JavaScript.)
|
||||
# - untitled boolean `untitled: true`
|
||||
# This would complerely hide the name of the category.
|
||||
# This is useful, if you do not want to use categories
|
||||
# because you need to set an 'Uncategorized' category.
|
||||
# Or it can be used alongside other categories.
|
||||
#
|
||||
# For help, see the wiki:
|
||||
# https://github.com/cstate/cstate/wiki/Customization
|
||||
categories:
|
||||
- name: Fediverse
|
||||
- name: Bots
|
||||
- name: Services
|
||||
- name: Blogs
|
||||
- name: Sites
|
||||
- name: Servers
|
||||
closed: true
|
||||
|
||||
# These are your systems. Change them to
|
||||
# change the amount of components.
|
||||
#
|
||||
# For help, see the wiki:
|
||||
# https://github.com/cstate/cstate/wiki/Customization
|
||||
systems:
|
||||
# Servers
|
||||
- name: bilbo
|
||||
description: scw.papey.fr
|
||||
category: Servers
|
||||
- name: balrog
|
||||
description: scw2.papey.fr
|
||||
category: Servers
|
||||
# Bots
|
||||
- name: gamble-bot
|
||||
description: Gamble-bot instance deployed on Val & PL Twitch channel
|
||||
category: Bots
|
||||
- name: trostani
|
||||
description: Trostani instance deployed on Val & PL Discord guild
|
||||
category: Bots
|
||||
- name: o2m-metalorgie
|
||||
description: o2m instance deployed on Metalorgie Discord guild
|
||||
category: Bots
|
||||
- name: o2m-lebruit
|
||||
description: o2m instance deployed on Le Bruit Discord guild
|
||||
category: Bots
|
||||
# Services
|
||||
- name: pbin.papey.fr
|
||||
description: Private Bin instance
|
||||
category: Services
|
||||
- name: bobuncer.papey.fr
|
||||
description: ZNC IRC Bouncer
|
||||
category: Services
|
||||
- name: drone.github.papey.fr
|
||||
description: Personnal Drone CI instance
|
||||
category: Services
|
||||
# Fediverse
|
||||
- name: mastodon.papey.fr
|
||||
category: Fediverse
|
||||
- name: metrics.papey.fr
|
||||
description: Public instance used to present Fediwatcher capabilities
|
||||
category: Fediverse
|
||||
- name: palom.be
|
||||
description: Plume instance focused on novels
|
||||
category: Fediverse
|
||||
# Blogs
|
||||
- name: kancer.club
|
||||
description: Personnal blog
|
||||
category: Blogs
|
||||
- name: blog.papey.fr
|
||||
description: Tech blog
|
||||
category: Blogs
|
||||
# Sites
|
||||
- name: papey.fr
|
||||
description: Main homepage
|
||||
category: Sites
|
||||
- name: brain.papey.fr
|
||||
description: A place to store all my notes
|
||||
category: Sites
|
||||
|
||||
# What date format to use?
|
||||
#
|
||||
# Hugo formatting docs:
|
||||
# https://gohugo.io/functions/format/#hugo-date-and-time-templating-reference
|
||||
#
|
||||
# Technical: GOLANG/HUGO .Date.Format & dateFormat
|
||||
#
|
||||
# dateFormat Default: "January 2, 2006 at 3:04 PM"
|
||||
# shortDateFormat Default: "15:04 — Jan 2"
|
||||
dateFormat: January 2, 2006 at 3:04 PM
|
||||
shortDateFormat: 15:04 — Jan 2
|
||||
|
||||
# What header design should we use?
|
||||
#
|
||||
# Default: true
|
||||
# BOOLEAN; `true`, `false`
|
||||
useLargeHeaderDesign: false
|
||||
|
||||
# Should incident history be separated
|
||||
# like in an archive view?
|
||||
#
|
||||
# Note: This WILL disable pagination.
|
||||
#
|
||||
# Default: `yearly`
|
||||
# STRING; `monthly`, `yearly`, `none`
|
||||
incidentHistoryFormat: "yearly"
|
||||
|
||||
# Disable dark mode
|
||||
#
|
||||
# If your OS and browser support the
|
||||
# `prefers-color-scheme` media query,
|
||||
# cState will automatically switch to
|
||||
# a darker user interface.
|
||||
#
|
||||
# cState uses its built-in colors for
|
||||
# most of the interface to ensure
|
||||
# a good user experience.
|
||||
#
|
||||
# Default: `false`
|
||||
# BOOLEAN; `true`, `false`
|
||||
disableDarkMode: false
|
||||
|
||||
# Should we show the logo or the title
|
||||
# of the status page?
|
||||
#
|
||||
# Default: false
|
||||
# BOOLEAN; `true`, `false`
|
||||
useLogo: false
|
||||
|
||||
# Where is the logo located, if one is
|
||||
# present at all?
|
||||
#
|
||||
# Recommended: png is best used for
|
||||
# images like logos.
|
||||
#
|
||||
# Recommended: png, bmp, jpg, or gif
|
||||
# for best browser support!
|
||||
logo: /logo.png
|
||||
|
||||
# This is the description that is shown
|
||||
# on the footer and meta tags.
|
||||
#
|
||||
# Default: We continuously monitor the status of our services and if there are any interruptions, a note will be posted here.
|
||||
description: I try to keep things up and running but I have life and server ressources constraints.
|
||||
|
||||
# Tabs on homepage
|
||||
# Uncomment to enable.
|
||||
#
|
||||
# Format:
|
||||
customTabs:
|
||||
- name: Homepage
|
||||
link: https://papey.fr
|
||||
- name: Github
|
||||
link: https://github.com/papey
|
||||
- name: Gitea
|
||||
link: https://git.stdcall.me
|
||||
|
||||
# Disable complex server-side
|
||||
# calculations that may impact
|
||||
# your build performance
|
||||
#
|
||||
# Disables math calculations
|
||||
# for average downtime on
|
||||
# systems ("/affected/") pages
|
||||
#
|
||||
# Default: false
|
||||
# BOOLEAN; `true`, `false`
|
||||
disableComplexCalculations: true
|
||||
|
||||
# Incident posts shown
|
||||
# in one page
|
||||
#
|
||||
# NUMERIC; Default: `10`
|
||||
incidentPostsPerPage: 10
|
||||
|
||||
# Colors throughout cState
|
||||
#
|
||||
# We recommend using HEX
|
||||
# (with the # symbol).
|
||||
#
|
||||
# Defaults:
|
||||
#
|
||||
# brand: "#0a0c0f"
|
||||
# ok: "#008000"
|
||||
# disrupted: "#cc4400"
|
||||
# down: "#e60000"
|
||||
# notice: "#24478f"
|
||||
brand: "#ffffff"
|
||||
ok: "#008000"
|
||||
disrupted: "#cc4400"
|
||||
down: "#e60000"
|
||||
notice: "#24478f"
|
||||
|
||||
# If the status page shows that
|
||||
# there are disruptions or outages
|
||||
# happening, should it keep the
|
||||
# brand header color or drop it
|
||||
# and use the status indication
|
||||
# colors that were just defined?
|
||||
#
|
||||
# Default: `true`
|
||||
# BOOLEAN; `true`, `false`
|
||||
alwaysKeepBrandColor: false
|
||||
|
||||
# Introduced in v4.0.1 for consistent
|
||||
# site title text color.
|
||||
#
|
||||
# If you do not use the logo, what color
|
||||
# should the site text color be?
|
||||
#
|
||||
# Removing this option will not force
|
||||
# any site text color. This is likely
|
||||
# unwanted behavior.
|
||||
#
|
||||
# Default: `white`
|
||||
# STRING; `white`, `black`, or nothing
|
||||
headerTextColor: white
|
||||
|
||||
# These options affect the core of cState.
|
||||
# Please do not change them if you do not
|
||||
# know what you are doing.
|
||||
theme: cstate
|
||||
|
||||
preserveTaxonomyNames: true
|
||||
|
||||
taxonomies:
|
||||
affected: affected
|
||||
|
||||
outputs:
|
||||
page:
|
||||
- html
|
||||
section:
|
||||
- html
|
||||
- rss
|
||||
home:
|
||||
- html
|
||||
- rss
|
||||
- json
|
||||
- svg
|
||||
|
||||
outputFormats:
|
||||
svg:
|
||||
isPlainText: true
|
||||
mediaType: image/svg+xml
|
32
content/issues/mastodon-load.md
Normal file
32
content/issues/mastodon-load.md
Normal file
|
@ -0,0 +1,32 @@
|
|||
---
|
||||
title: Mastodon instance in under heavy load
|
||||
date: 2020-03-19 16:24:00
|
||||
resolved: false
|
||||
# Possible severity levels: down, disrupted, notice
|
||||
severity: notice
|
||||
affected:
|
||||
- mastodon.papey.fr
|
||||
section: issue
|
||||
---
|
||||
|
||||
## Context
|
||||
|
||||
Since a week or two, I experienced serious issues running Mastodon.
|
||||
|
||||
It's been a while since I started [mastodon.papey.fr](https://mastodon.papey.fr).
|
||||
|
||||
With all the evolutions going on plus the expansion of the Fediverse, my current server can't handle the load.
|
||||
|
||||
I don't want to pay more to get a more powerfull server so I will close this istance.
|
||||
|
||||
## Status
|
||||
|
||||
For now, the instance is running in minimal mode with minimal workers available.
|
||||
|
||||
It's now time for you to get your data and move your account to another instance
|
||||
|
||||
[mastodon.papey.fr](https://mastodon.papey.fr) will be closed on **2020-03-25**.
|
||||
|
||||
You can find on the Fediverse at **papey@rage.love**
|
||||
|
||||
Thanks for the ride, see you soon.
|
BIN
static/favicon-16x16.png
Normal file
BIN
static/favicon-16x16.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 215 B |
BIN
static/favicon-32x32.png
Normal file
BIN
static/favicon-32x32.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 446 B |
BIN
static/favicon.ico
Normal file
BIN
static/favicon.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 5.3 KiB |
BIN
static/favicon.png
Normal file
BIN
static/favicon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 85 KiB |
BIN
static/img/logo.png
Normal file
BIN
static/img/logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 13 KiB |
1
themes/cstate
Submodule
1
themes/cstate
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit 5611e5e4f5fe49477a1aa15cd86b5647f82ac82f
|
Loading…
Add table
Reference in a new issue