Now service status is displayed using hollow circle for those that are down, and filled circle for working ones.

This commit is contained in:
Alexander Andreev 2022-05-19 21:24:43 +04:00
parent 345a289179
commit ea1e4982d2
Signed by: Arav
GPG Key ID: 0388CC8FAA51063F
2 changed files with 29 additions and 30 deletions

View File

@ -65,6 +65,18 @@ h2 { font-size: 1.4rem; }
h3 { font-size: 1.05rem; }
h3.service-up::after { content: '●'; }
h3.service-down::after { content: '○'; }
h3.service-up::after,
h3.service-down::after {
font-size: .7rem;
margin-right: -.9rem;
vertical-align: super;
padding-left: .2rem;
}
small,
figure figcaption { font-size: .8rem; }

View File

@ -8,11 +8,11 @@ block nav
a(href='/guestbook') Guestbook
h1 About
mixin isServiceUp(service)
mixin isServiceUp(header, service)
if (services[service])
p Service is running.
h3.service-up= header
else
p Service is down.
h3.service-down= header
block content
section#about-me
@ -94,8 +94,7 @@ block content
p.center That are available for everyone.
div.grid
div
h3 Internet-radio
+isServiceUp("liquidsoap")
+isServiceUp("Internet-radio", "liquidsoap")
p
a(href='https://radio.arav.top') radio.arav.top
| .
@ -105,8 +104,7 @@ block content
p Runs using Liquidsoap through Icecast, which goes through NGiNX. I broadcast almost everything I have. Sorry, but I'm too lazy to make some kind of broadcasting program to stream so I just randomise the playlist and throw new music there from time to time.
p This project grew from MPD I used to stream music over LAN for myself. Then I let it out and placed a player on my Neocities website. Then Icecast was added to see if there are listeners. I wasn't happy on how MPD was nearly overloading CPU, and later, after moving the radio off to a laptop, MPD was replaced by Liquidsoap.
div
h3 File share
+isServiceUp("dwelling/files")
+isServiceUp("File share", "dwelling/files")
p
a(href='https://files.arav.top') files.arav.top
| .
@ -115,8 +113,7 @@ block content
a(href='http://files.arav.i2p') i2p
p There you'll find music, videos, films, animes, TV shows, books, games, programs, drivers (a very few), OS images (Winblows :)). Go check it out!
div
h3 File upload
+isServiceUp("dwelling-upload")
+isServiceUp("File upload", "dwelling-upload")
p
a(href='https://upload.arav.top') upload.arav.top
| .
@ -125,8 +122,7 @@ block content
a(href='http://upload.arav.i2p') i2p
p I've made a file upload service for ya with a limit of 128MiB per file, keeping it for 36 hours, and overall storage I dedicated for it is 100GiB.
div
h3 Git
+isServiceUp("gitea")
+isServiceUp("Gitea", "gitea")
p
a(href='https://git.arav.top') git.arav.top
| .
@ -138,7 +134,7 @@ block content
h3 Tor relay
p #[a(href='https://metrics.torproject.org/rs.html#details/CEF2FD0E1973EA04D1444DDAEFF1B0BC3C0C39B1' rel='nofollow noreferrer') metrics.torproject.org]
p It is set to use 8 MBits of my Internet connection. It cannot became a guard node because of dynamic IP-address.
p Since 1st December 2021 it is blocked in Russia, so the relay is down.
p Since 1st December 2021 Tor is blocked in Russia, so the relay is down.
div
h3 I2P router
p I help the network using an official #[a(href='https://geti2p.net' rel='nofollow noreferrer') I2P router].
@ -147,30 +143,25 @@ block content
p.center That are available for a narrow circle of people.
div.grid
div
h3 E-Mail server
+isServiceUp("postfix")
+isServiceUp("E-Mail server", "postfix")
p Postfix, Dovecot (w/Sieve), Spamassassin, ClamAV, OpenDMARC and OpenDKIM.
p Alas, I don't have a static IP. And there is not much sense in it because my ISP doesn't offer reverse DNS for regular clients (it'd be bloody awesome).
p It results in my messages ends up in a spam box at best. Well, Yandex, Google, Microsoft Live, and Rambler lets me in an Inbox. :) But if service use Spamhaus' blocklists then I'm being rejected.
p #[b TLDR; I may not be able to reply].
div
h3 XMPP/Jabber
+isServiceUp("prosody")
+isServiceUp("XMPP/Jabber", "prosody")
p Prosody. Only I can register for security's sake.
p Think on shutting it down, because no one of my friends uses it anyway.
div
h3 Matrix
+isServiceUp("synapse.app")
+isServiceUp("Matrix", "synapse.app")
p #[a(href='https://the.arav.top') the.arav.top]
p Synapse. Think on dumping XMPP in favour of it.
div
h3 Mumble
+isServiceUp("murmurd")
+isServiceUp("Mumble", "murmurd")
p #[a(href="mumble://arav.top") mumble://arav.top]
p It's private, but you still can join an entrance room where you can only write messages. A certificate is necessary.
div
h3 TeamSpeak 3
+isServiceUp("ts3server")
+isServiceUp("TeamSpeak 3", "ts3server")
p #[a(href="ts3server://arav.top") ts3server://arav.top]
p Same as with Mumble applies to TS. It's security level is set to 34, so is yours identifier's level should be at least that high.
div
@ -183,27 +174,23 @@ block content
h2 Game servers
div.grid
div
h3 Minecraft
+isServiceUp("forge-1.16.5")
+isServiceUp("Minecraft", "forge-1.16.5")
p.highlighted arav.top:25565
p Version is 1.16.5 currently. I homebrew clients for it. Here is #[a(href=files_site+"/games/minecraft/aravsdwelling-minecraft-1.16.5.exe") an installer for Windows] (412MiB) I make with NSIS. And a #[a(href=files_site+"/games/minecraft/aravsdwelling-minecraft-1.16.5.tar.gz") TAR.GZ archive] (424 MiB) that is for both Windows and Linux. You'll need to set a PLAYER and MC_DIR variables in scripts. And change JVM_PARAMS to your preferences (-Xmx usually needs to be adjusted). And that's only if you use an archive.
p And you can get #[a(href=files_site+"/programs/windows/installators/jre-8u281-windows-x64.exe") jre-8u281-windows-x64.exe] from my file share.
p SHA-1 hash for a Windows installer is 9140c9c84e9915d3af22e7b5c889cafdc34839cb.
p SHA-1 hash for a TAR.GZ archive is 45ea54bfd8ac3ff56ac4655fb1c4a0ebf5c904db.
div
h3 Starbound
+isServiceUp("starbound_server")
+isServiceUp("Starbound", "starbound_server")
p.highlighted arav.top:21065
p Server is using a Frackin' Universe mod.
p Don't forget to set “Allow assets mismatch” option that you can find on the first page of the “Options” menu.
p Access is restricted using accounts. Contact me if you want to play here, you'll need to give me a nickname and a password.
div
h3 Avorion
+isServiceUp("AvorionServer")
+isServiceUp("Avorion", "AvorionServer")
p Server is listed in a server list as “Arav's dwelling / Avorion”. Whitelist is enabled. Bring your SteamID64 if you want to play here.
div
h3 Project Zomboid
+isServiceUp("ProjectZomboid")
+isServiceUp("Project Zomboid", "ProjectZomboid")
p.highlighted arav.top:16261
p Server is listed as “Arav's dwelling / Project Zomboid”. Whitelist is enabled.
section#servers-inner-services