add terminal ver of site

Changed files
+80
caddy
site
+7
caddy/Caddyfile
···
root * /var/www/gotm
file_server
}
+
+
@txt header_regexp User-Agent "^curl"
+
+
handle @txt {
+
root * /var/www/gotm/txt
+
file_server
+
}
}
+16
site/txt/index.txt
···
+
 ~*~ kat, 20, she/her. ~*~
+
+
+
 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.
+
+
+
 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.
+
+
+
 girlonthemoon.xyz
+42
site/txt/make-index.sh
···
+
#!/usr/bin/env bash
+
# mostly borrowed from ysap.sh
+
+
source ./theme.sh || exit 1
+
+
readarray -t BODY1 << "EOF"
+
~*~ kat, 20, she/her. ~*~
+
EOF
+
+
readarray -t BODY2 << EOF
+
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.
+
EOF
+
+
readarray -t BODY3 << "EOF"
+
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.
+
EOF
+
+
readarray -t URL << "EOF"
+
girlonthemoon.xyz
+
EOF
+
+
for line in "${BODY1[@]}"; do
+
echo "$COLOR1$line$RST"
+
done
+
echo -e "\n"
+
for line in "${BODY2[@]}"; do
+
echo "$COLOR2$line$RST"
+
done
+
echo -e "\n"
+
for line in "${BODY3[@]}"; do
+
echo "$COLOR2$line$RST"
+
done
+
echo -e "\n"
+
for line in "${URL[@]}"; do
+
echo "$COLOR1$line$RST"
+
done
+15
site/txt/theme.sh
···
+
#!/usr/bin/env bash
+
+
#!/usr/bin/env bash
+
#
+
# My personal color theme for the website - loosely based on a dark solarized
+
# theme
+
#
+
# Author: Dave Eddy <dave@daveeddy.com>
+
# Date: March 28, 2025
+
# License: MIT
+
+
COLOR1=$'\x1b[38;5;105m' # highlight (deep but muted purple)
+
COLOR2=$'\x1b[38;5;153m' # cyan (text)
+
COLOR3=$'\x1b[38;5;116m' # off-white (misc)
+
RST=$'\x1b[38;5;189m'