php nonsense

+5
caddy/Caddyfile
···
+
:80 {
+
root * /var/www/gotm
+
php_fastcgi php-fpm-gotm:9000
+
file_server
+
}
+21
docker-compose.yml
···
+
services:
+
caddy-gotm:
+
container_name: caddy-gotm
+
image: docker.io/caddy
+
user: "1000:1000"
+
volumes:
+
- ./caddy/Caddyfile:/etc/caddy/Caddyfile
+
- ./caddy/data/caddy-data:/data
+
- ./caddy/data/caddy-config:/config
+
- ./site:/var/www/gotm
+
ports:
+
- "56884:80"
+
restart: always
+
php-fpm-gotm:
+
container_name: php-fpm-gotm
+
image: docker.io/php:8.2-fpm
+
user: "1000:1000"
+
volumes:
+
- ./site:/var/www/gotm
+
ports:
+
- "52320:9000"
site/assets/fonts/Raleway-VariableFont_wght.ttf

This is a binary file and will not be displayed.

site/assets/images/139.png

This is a binary file and will not be displayed.

site/assets/images/81824br5uyrfrsr.gif

This is a binary file and will not be displayed.

site/assets/images/me.webp

This is a binary file and will not be displayed.

+41
site/assets/misc/pgp.txt
···
+
-----BEGIN PGP PUBLIC KEY BLOCK-----
+
+
mQGNBGdgjx0BDADDLbeXuHS4HQlRdgjmG876I2pVEI8z51Qjpdc574Glw1l/Bz8y
+
ZPCKRf+FgYdhfiw9BJ5dTl4btF0r4C8nOWG3ZDCu9nLhIgYk47X24f8aOOugrp2L
+
NJSVwr+cUOPS0GxsHUiOyBHd7sD/oRUyXl/VJuGKFg4zjrKRP7+PizapoM7CnH4g
+
f2rOjFqpHbxLEtyEdl7KAvlHtfVrkl1LrZM05SRDygUvKzaevKJ1DFx/uXCWQY3R
+
r95SeFVXVP8Xgmq71DbH8ilUJVIj4+A3RZuUaCZJeuobpUWxr8eUaGwFXWVS+HgV
+
OOnFfa3DtXQtFU14tUjhJWj7/Wiwj7JdN3R0dpW4JDC+VK78eChbK9HFPi0ctAiW
+
LbwHMcbCEuIyumCFbRC7huPGprutgwu3/Grwy/YYPQTOzTpHU+anwq4TYyZf2GOH
+
n2TN9Ol3vs0vjMOHFo+onotr04CV8k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Om1HSklFqjmW+JZfZ6/+L9CmVmTqSwYUO
+
dik8OlRWA7iWCxlsQmspKLqCgPEkdjR8Zx5n8ZHsm6KzeEtngfG0FbC/ZqeaoLlX
+
0WWzd5n0nCxGJvnvDmQogOR+XHzMYDkBo7s8tDs943E8MdchA4CAG7Rq8VKtXOZs
+
0uBvVf2DYErMLV+VGTG8lYg0HeD+jYUX8Rt8J6xk70/7q5KQK54is7sTmSE4JwQs
+
Ge6HXz9im5G2HwARAQABiQG8BBgBCgAmFiEEUw9skEnM3q4XmdyLMMRW6N0rbTgF
+
Amdgjx0CGwwFCQPCZwAACgkQMMRW6N0rbTjcwQv+LHdzyniGQ5nwUWWBpwW7X5Lc
+
3H79HgA0jskzrRO6G5Fb/oYfJXtUnwYzyRjwcB0fkcn2hs07Kjo4d5hL1XtPqg9u
+
0wdnuowZ0lhExkuxmdLlVFjKnSgQ1oq7r6i7Lx8ACf2SBzYxXbEil4uYmsE/p856
+
2lzjkL/yUoSjz0/zF+P7xu093FMrT52HUqwDatIC2vdxqN/EamWUyxHihOx79Z8E
+
yERXqXM7pD2P/8LCG8ilgvmJG9Y7hcaxaoMc2W6rOhkhEk5jw4e03zy+DAWzHDky
+
bJp4ARlQWHwtQpwWP0Takh5E3AvbzYkcDGqaQ1mqd240zyzrs/R5gFEt3qiTKaBW
+
Z/m3tip0weXuLwrEGq72LK+3L4AisZZDc/vGYp1CitP0QIJ67fgN2up0CJiXLQxq
+
iyRY2HjUh2jNLbzbxXRS0r82M9yDGme9fTlLTd+Xgkj7ZzDjFICVTgxi4AKXqhtY
+
KcBDKnpTS/G81aCk12UTDvYSl2h7dMAbr1Ij9dOX
+
=gwXq
+
-----END PGP PUBLIC KEY BLOCK-----
+103
site/assets/styles/main.css
···
+
@media only screen and (max-width: 576px) {
+
main {
+
font-size: 4vw !important;
+
width: 90vw !important;
+
min-height: 130vw !important;
+
word-wrap: break-word !important;
+
/* position: absolute; */
+
/* top: 50%; */
+
/* left: 50%; */
+
/* transform: translateX(-50%) translateY(-50%); */
+
}
+
}
+
+
@media only screen and (max-width: 1080px) {
+
main {
+
font-size: 4vw !important;
+
width: 90vw !important;
+
min-height: 130vw !important;
+
word-wrap: break-word !important;
+
/* position: absolute; */
+
/* top: 50%; */
+
/* left: 50%; */
+
/* transform: translateX(-50%) translateY(-50%); */
+
}
+
}
+
+
body {
+
margin: 0;
+
background: url('../images/139.png');
+
}
+
+
@font-face {
+
font-family: 'Raleway';
+
font-weight: 400;
+
src: url('../fonts/Raleway-VariableFont_wght.ttf')
+
}
+
+
main {
+
width: 30%;
+
min-height: 300px;
+
background: #fff;
+
padding: 1em;
+
margin: auto;
+
color: #1e6899;
+
font: 1rem 'Raleway', sans-serif;
+
}
+
+
img.meimg {
+
width: 100%;
+
object-fit: contain;
+
}
+
+
h1,h2,h3,h4 {
+
font-family: 'Raleway', sans-serif;
+
color: #330099;
+
margin: 0 auto 0 auto;
+
text-transform: uppercase;
+
text-align: center;
+
font-weight: 200;
+
}
+
+
ul {
+
padding-left: 1em;
+
}
+
+
ul li {
+
margin: .5em 0 .5em 0;
+
}
+
+
+
::selection {
+
color: #fff;
+
background: #330099;
+
}
+
+
.highlight {
+
background: #9999ff;
+
color: #fff;
+
display: inline;
+
}
+
+
.desc::before {
+
content: "โ†ณ";
+
color: #330099;
+
}
+
+
a:link, a:link:active, a:visited, a:visited:active {
+
color: #5656e1;
+
text-decoration-thickness: 1px;
+
}
+
+
a:hover {
+
text-decoration: none;
+
}
+
+
a:link.highlight, a:link:active.highlight, a:visited.highlight, a:visited:active.highlight {
+
color: #fff;
+
text-decoration: none;
+
}
+
+
a:hover.highlight, a:hover.highlight::selection {
+
background: #746fd4;
+
}
+30
site/docs.html
···
+
<!DOCTYPE html>
+
<html lang="en">
+
+
<head>
+
<meta charset="UTF-8">
+
+
<link rel="icon" type="image/x-icon" href="139.png">
+
<link rel="stylesheet" href="main.css">
+
+
<title>girl on the moon :: documentation</title>
+
+
</head>
+
+
<body>
+
+
<article>
+
<p><span class="highlight">documentation</span></p>
+
<ul>
+
<li><a href="https://stash.4-walls.net/selfhostdw/" class="highlight">self hosting dreamwidth with docker</a><br>
+
<span class="desc">how to deploy a production instance of the <a href="https://github.com/dreamwidth/dreamwidth/">dreamwidth</a> code in docker</span></li>
+
<li><a href="https://stash.4-walls.net/irc1/" class="highlight">hosting soju + gamja with docker</a><br>
+
<span class="desc">how to deploy the IRC gamja web client & soju bouncer software in docker</span></li>
+
<li><a href="https://superlove.sayitditto.net/works/338" class="highlight">OTW-archive paperclip to active storage</a><br>
+
<span class="desc">now obsolete and superseded by upstream doing their own migration, but notable because i did it first</span></li>
+
</ul>
+
</article>
+
+
</body>
+
+
</html>
+39
site/featured.html
···
+
<!DOCTYPE html>
+
<html lang="en">
+
+
<head>
+
<meta charset="UTF-8">
+
+
<link rel="icon" type="image/x-icon" href="139.png">
+
<link rel="stylesheet" href="main.css">
+
+
<title>girl on the moon :: featured</title>
+
+
<style>
+
.desc::before {
+
content: "โ†ณ";
+
}
+
</style>
+
</head>
+
+
<body>
+
+
<article>
+
<p><span class="highlight">documentation</span></p>
+
<ul>
+
<li><a href="https://stash.4-walls.net/selfhostdw/">self hosting dreamwidth with docker</a><br>
+
<span class="desc">how to deploy a production instance of the <a href="https://github.com/dreamwidth/dreamwidth/">dreamwidth</a> code in docker</span></li>
+
<li><a href="https://superlove.sayitditto.net/works/338">OTW-archive paperclip to active storage</a><br>
+
<span class="desc">now obsolete and superseded by upstream doing their own migration, but notable because i did it first</span></li>
+
</ul>
+
+
<p><span class="highlight">miscellaneous</span></p>
+
<ul>
+
<li><a href="https://stash.4-walls.net/hotdiva2004/">hotdiva2004</a><br>
+
<span class="desc">writing prompt generator powered by charm CLI's <a href="https://github.com/charmbracelet/hotdiva2000">hotdiva2000</a>, a random string generator</span></li>
+
</ul>
+
</article>
+
+
</body>
+
+
</html>
+8
site/head.php
···
+
<head>
+
<meta charset="UTF-8">
+
+
<link rel="icon" type="image/x-icon" href="assets/images/139.png">
+
<link rel="stylesheet" href="assets/styles/main.css">
+
+
<title>girl on the moon</title>
+
</head>
+19
site/httpheaders.php
···
+
<?php
+
+
$clacks = array (
+
"Aaron Swartz",
+
"Mira Bellwether",
+
"SOPHIE",
+
"Jason David Frank",
+
"Choi Jinri",
+
"Technoblade",
+
"Thuy Trang",
+
"wowaka"
+
);
+
+
$key = array_rand($clacks);
+
$res = $clacks[$key];
+
+
header('X-Clacks-Overhead: '."$res")
+
+
?>
+35
site/index.php
···
+
<?php
+
+
include "httpheaders.php";
+
+
?>
+
+
<!DOCTYPE html>
+
<html lang="en">
+
<?php include "head.php" ?>
+
+
<body>
+
+
<main>
+
<img class="meimg" src="assets/images/me.webp" alt="a photo of me playing guitar with a sort of bored but thoughtful expression on my face. the image is edited to have half tones and noise, and is black and white">
+
+
<p><span class="highlight">kat, 20, she/her</span>. i like computers and music and other irrelevant stuff. i have several servers at home and i never shut up about them. my server related hobbies include spinning up random docker containers, hosting sites no one will use, and breaking my home internet router, among other things.</p>
+
+
<p>some of my work:</p>
+
+
<ul>
+
<li><a href="https://superlove.sayitditto.net/" class="highlight">superlove</a>, an independent writing community powered by the software made for the largest fanfiction site in the world, <a href="https://archiveofourown.org/"><abbr title="archive of our own">AO3</abbr></a></li>
+
<li><a href="https://www.love4eva.net/" class="highlight">love4eva</a>, a small journaling community powered by the software behind <a href="https://www.dreamwidth.org/">dreamwidth</a> (a fork of livejournal)</li>
+
<li><a href="https://bubblegum.girlonthemoon.xyz/" class="highlight">my blog</a>, created to learn ruby on rails</li>
+
<li>and more!</li>
+
</ul>
+
+
<p>in my spare time i can be found messing with my servers and deploying sites for fun. servers are a huge passion for me and i am ecstatic anytime someone shows interest in them. feel free to talk to me anytime about my work and about servers in general.</p>
+
+
<?php include "nav.php" ?>
+
+
<div style="text-align:center;"><img src="assets/images/81824br5uyrfrsr.gif" alt="a 3D animated pink and gray cat dancing on two legs'"></div>
+
</main>
+
+
</body>
+
</html>
+7
site/nav.php
···
+
<nav>
+
<p>๐Ÿ”— <a href="docs.html">docs</a></p>
+
+
<p>๐ŸŒ <a href="https://bubblegum.girlonthemoon.xyz/">blog</a>, <a href="mailto:witnesslachesis@disroot.org">email</a>, <a href="assets/misc/pgp.txt">PGP key</a></p>
+
+
<p>๐Ÿ’™ <a href="https://www.patreon.com/c/girlonthemoon">patreon</a>, <a href="https://ko-fi.com/girlonthemoon">ko-fi</a></p>
+
</nav>