diff options
author | metamuffin <metamuffin@disroot.org> | 2025-10-03 15:46:02 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2025-10-03 15:46:02 +0200 |
commit | 0a37d862039e208368865786831532f6ea79cbb4 (patch) | |
tree | 0f480b8d2da19f320d066148658ef3d474eab875 | |
parent | 23871d5aadcaa4d01b7c46cb951854572940414d (diff) | |
download | metamuffin-website-0a37d862039e208368865786831532f6ea79cbb4.tar metamuffin-website-0a37d862039e208368865786831532f6ea79cbb4.tar.bz2 metamuffin-website-0a37d862039e208368865786831532f6ea79cbb4.tar.zst |
services list
-rw-r--r-- | index.md | 2 | ||||
-rw-r--r-- | process.py | 8 | ||||
-rw-r--r-- | projects.md | 7 | ||||
-rw-r--r-- | services.md | 24 | ||||
-rw-r--r-- | style.css | 16 | ||||
-rw-r--r-- | template.html | 7 |
6 files changed, 60 insertions, 4 deletions
@@ -0,0 +1,2 @@ + +Ah yes... my website... @@ -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 +- ###  [download.hurrycurry.org.](//download.hurrycurry.org) + Downloads for Hurry Curry! (static file server) +- ###  [registry.hurrycurry.org.](//registry.hurrycurry.org) + Server registry service for Hurry Curry! + +<?lit </div> ?> @@ -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" |