summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2025-10-03 15:46:02 +0200
committermetamuffin <metamuffin@disroot.org>2025-10-03 15:46:02 +0200
commit0a37d862039e208368865786831532f6ea79cbb4 (patch)
tree0f480b8d2da19f320d066148658ef3d474eab875
parent23871d5aadcaa4d01b7c46cb951854572940414d (diff)
downloadmetamuffin-website-0a37d862039e208368865786831532f6ea79cbb4.tar
metamuffin-website-0a37d862039e208368865786831532f6ea79cbb4.tar.bz2
metamuffin-website-0a37d862039e208368865786831532f6ea79cbb4.tar.zst
services list
-rw-r--r--index.md2
-rw-r--r--process.py8
-rw-r--r--projects.md7
-rw-r--r--services.md24
-rw-r--r--style.css16
-rw-r--r--template.html7
6 files changed, 60 insertions, 4 deletions
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<name>\w+)\W(?P<body>.*)\?\>"
+ RE_PI = r"(?sm)\<\?(?P<n>\w+)\W(?P<b>.*?)\?\>"
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:
+
+<?lit <div class="cardlist"> ?>
+
+- ### [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!
+
+<?lit </div> ?>
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 @@
<html lang="en">
<head>
<title>TITLE - metamuffin's website</title>
+ <meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="description" content="metamuffin's personal website" />
<link rel="stylesheet" href="/style.css" />
@@ -20,6 +21,7 @@
<a href="/about.html">About</a>
<a href="/blog.html">Blog</a>
<a href="/projects.html">Projects</a>
+ <a href="/services.html">Services</a>
<a href="/contact.html">Contact</a>
<a href="https://codeberg.org/metamuffin">Codeberg</a>
</nav>
@@ -31,10 +33,13 @@
<footer>
<hr />
<p>
- metamuffin's website; version TODO; sources available on
+ metamuffin's website; sources available on
<a href="https://codeberg.org/metamuffin/metamuffin-website"
>codeberg</a>
</p>
+ <p>
+ Version: <code><?ex git log --format=oneline -n 1 ?></code>
+ </p>
<hr />
<iframe
loading="lazy"