From 0a37d862039e208368865786831532f6ea79cbb4 Mon Sep 17 00:00:00 2001 From: metamuffin Date: Fri, 3 Oct 2025 15:46:02 +0200 Subject: services list --- index.md | 2 ++ process.py | 8 +++++--- projects.md | 7 +++++++ services.md | 24 ++++++++++++++++++++++++ style.css | 16 ++++++++++++++++ template.html | 7 ++++++- 6 files changed, 60 insertions(+), 4 deletions(-) create mode 100644 projects.md create mode 100644 services.md diff --git a/index.md b/index.md index e69de29..300fda9 100644 --- a/index.md +++ b/index.md @@ -0,0 +1,2 @@ + +Ah yes... my website... diff --git a/process.py b/process.py index 1c84810..6cef2a8 100644 --- a/process.py +++ b/process.py @@ -5,15 +5,17 @@ from markdown import markdown import subprocess PROCESSORS = { + "lit": lambda c: c, "ex": lambda c: popen(c).read(), "exmd": lambda c: markdown(popen(c).read()) } def run_pi(input: str) -> str: - RE_PI = r"(?sm)\<\?(?P\w+)\W(?P.*)\?\>" + RE_PI = r"(?sm)\<\?(?P\w+)\W(?P.*?)\?\>" def run_pi_match(m: re.Match): - name = m.group("name") - body = m.group("body") + name = m.group("n") + body = m.group("b") + print(f"({name})$ {body}") output = PROCESSORS[name](body) return output return re.sub(RE_PI, run_pi_match, input) diff --git a/projects.md b/projects.md new file mode 100644 index 0000000..dd9f201 --- /dev/null +++ b/projects.md @@ -0,0 +1,7 @@ +# Projects + +- ### keks-meet +- ### jellything +- ### gnix + Simple HTTP server and reverse proxy serving this webpage. + \ No newline at end of file diff --git a/services.md b/services.md new file mode 100644 index 0000000..b4c4b3e --- /dev/null +++ b/services.md @@ -0,0 +1,24 @@ +# Services + +Network services that my servers provides: + + ?> + +- ### [keks-meet](//meet.metamuffin.org) + Public [keks-meet](/projects.html) instance, an online conferencing + application +- ### [src](//src.metamuffin.org) + Read-only mirrors of my source code (cgit) +- ### [pkg](//pkg.metamuffin.org) + Pacman repository for all things I made or need myself +- ### [status](//status.metamuffin.org) + Statuspage instance for observing when and how other services break +- ### [search](//search.metamuffin.org) + Public [fastbangs](/projects.html) instance, a meta search engine / redirect + tool +- ### ![](//hurrycurry.metamuffin.org/favicon.ico) [download.hurrycurry.org.](//download.hurrycurry.org) + Downloads for Hurry Curry! (static file server) +- ### ![](//hurrycurry.metamuffin.org/favicon.ico) [registry.hurrycurry.org.](//registry.hurrycurry.org) + Server registry service for Hurry Curry! + + ?> diff --git a/style.css b/style.css index 36bc470..353c29a 100644 --- a/style.css +++ b/style.css @@ -82,6 +82,22 @@ input[type=submit] { margin-left: 4em; } +.cardlist li { + list-style-type: none; + background-color: var(--bg2); + border-radius: 5px; + margin-top: 1em; + padding: 1em; +} +.cardlist li h3 { + margin: 0.1em; +} +.cardlist li img { + float: left; + width: 48px; + height: 48px; + margin-right: 1em; +} .status { display: inline-block; diff --git a/template.html b/template.html index f1d0d48..d850d51 100644 --- a/template.html +++ b/template.html @@ -1,6 +1,7 @@ TITLE - metamuffin's website + @@ -20,6 +21,7 @@ About Blog Projects + Services Contact Codeberg @@ -31,10 +33,13 @@