commit 0d734a6753b9d3e05294d55ba32a7a12654dcd82 Author: Wilfried OLLIVIER Date: Sat Mar 21 19:47:17 2020 +0100 Bootstrap status page diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..d70ebaa --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +public \ No newline at end of file diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..2064414 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "themes/cstate"] + path = themes/cstate + url = https://github.com/cstate/cstate.git diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..00d2e13 --- /dev/null +++ b/LICENSE @@ -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 \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..297874d --- /dev/null +++ b/README.md @@ -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 +``` diff --git a/archetypes/default.md b/archetypes/default.md new file mode 100644 index 0000000..00e77bd --- /dev/null +++ b/archetypes/default.md @@ -0,0 +1,6 @@ +--- +title: "{{ replace .Name "-" " " | title }}" +date: {{ .Date }} +draft: true +--- + diff --git a/config.yml b/config.yml new file mode 100644 index 0000000..86c22af --- /dev/null +++ b/config.yml @@ -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 \ No newline at end of file diff --git a/content/issues/mastodon-load.md b/content/issues/mastodon-load.md new file mode 100644 index 0000000..8dfaddc --- /dev/null +++ b/content/issues/mastodon-load.md @@ -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. diff --git a/static/favicon-16x16.png b/static/favicon-16x16.png new file mode 100644 index 0000000..9dcdd35 Binary files /dev/null and b/static/favicon-16x16.png differ diff --git a/static/favicon-32x32.png b/static/favicon-32x32.png new file mode 100644 index 0000000..9037e59 Binary files /dev/null and b/static/favicon-32x32.png differ diff --git a/static/favicon.ico b/static/favicon.ico new file mode 100644 index 0000000..f335785 Binary files /dev/null and b/static/favicon.ico differ diff --git a/static/favicon.png b/static/favicon.png new file mode 100644 index 0000000..0dd88ce Binary files /dev/null and b/static/favicon.png differ diff --git a/static/img/logo.png b/static/img/logo.png new file mode 100644 index 0000000..45192c1 Binary files /dev/null and b/static/img/logo.png differ diff --git a/themes/cstate b/themes/cstate new file mode 160000 index 0000000..5611e5e --- /dev/null +++ b/themes/cstate @@ -0,0 +1 @@ +Subproject commit 5611e5e4f5fe49477a1aa15cd86b5647f82ac82f