aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--cgit-captions/captions.txt39
-rw-r--r--cgit-captions/crontab1
-rw-r--r--cgitrc2
-rw-r--r--footer.html47
5 files changed, 48 insertions, 42 deletions
diff --git a/.gitignore b/.gitignore
deleted file mode 100644
index 1ae588b..0000000
--- a/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-cgit-captions/currentcaption
diff --git a/cgit-captions/captions.txt b/cgit-captions/captions.txt
deleted file mode 100644
index f530d67..0000000
--- a/cgit-captions/captions.txt
+++ /dev/null
@@ -1,39 +0,0 @@
-your gay
-trnasgener
-and for strait people just gn i guess 😐
-are you cis or are you normal
-i'm not cis, you are
-is this buge trans gener?
-would you rather have unlimited bugs, but no more bugs, or bugs – unlimited bugs – and no bugs?
-bruh moment
-i use arch btw
-i use ubuntu server btw
-it is currently real isopod hours
-* You found the [Moss]!
-oh, you know ;)
-this is not a place of honor
-āļž
-swag
-''
-404 footer not found
-502 bad footer
-generated by fuckin uhhh cgit v67.420 or whatever lol
-If you're seeing this, something is seriously wrong.
-cringe
-don't smoke cigarettes kids they'll make your lungs sus
-feature-compatible with 100% of the shit i was actually using forgejo for
-holy fucking bingle
-crubge
-only unpickle data you trust.
-pwetty epic B)
-Known to the state of California to cause cancer
-did you know?
-shrimps is bugs
-is this a bedbuge?
-girl, we've been knowing how to draw.
-check it out, i'm in the house like carpet
-that's so weirdcore liminal analog horror backrooms scp
-this is where the funny randomly selected messages would go
-come back in 5 minutes!
-bug women
-wait its fucking tueaday. god.
diff --git a/cgit-captions/crontab b/cgit-captions/crontab
deleted file mode 100644
index 9ccee47..0000000
--- a/cgit-captions/crontab
+++ /dev/null
@@ -1 +0,0 @@
-*/5 * * * * echo "<div class='footer'>" > /home/git/cgit-configs/cgit-captions/currentcaption && shuf -n 1 /home/git/cgit-configs/cgit-captions/captions.txt >> /home/git/cgit-configs/cgit-captions/currentcaption && echo "</div>" >> /home/git/cgit-configs/cgit-captions/currentcaption
diff --git a/cgitrc b/cgitrc
index f9f48ed..479d41b 100644
--- a/cgitrc
+++ b/cgitrc
@@ -13,7 +13,7 @@ clone-prefix=https://git.bugwo.men
# Title and description shown on top of each page
root-title=bugwomen git server
root-desc=Cgit web interface for https://bugwo.men/ source code and other repos
-footer=/home/git/cgit-configs/cgit-captions/currentcaption
+footer=/home/git/cgit-configs/footer.html
max-repodesc-length=200
diff --git a/footer.html b/footer.html
new file mode 100644
index 0000000..7f9cbc4
--- /dev/null
+++ b/footer.html
@@ -0,0 +1,47 @@
+<div class="footer">
+ <script id="footercaption">
+ const titles = [
+ "your gay",
+ "trnasgener",
+ "and for strait people just gn i guess 😐",
+ "are you cis or are you normal",
+ "i'm not cis, you are",
+ "is this buge trans gener?",
+ "would you rather have unlimited bugs, but no more bugs, or bugs &ndash; unlimited bugs &ndash; and no bugs?",
+ "bruh moment",
+ "i use arch btw",
+ "i use ubuntu server btw",
+ "it is currently real isopod hours",
+ "* You found the [Moss]!",
+ "oh, you know ;)",
+ "this is not a place of honor",
+ "āļž",
+ "swag",
+ "''",
+ "404 footer not found",
+ "502 bad footer",
+ "generated by fuckin uhhh cgit v67.420 or whatever lol",
+ "If you're seeing this, something is seriously wrong.",
+ "cringe",
+ "don't smoke cigarettes kids they'll make your lungs sus",
+ "feature-compatible with 100% of the shit i was actually using forgejo for",
+ "holy fucking bingle",
+ "crubge",
+ "only unpickle data you trust.",
+ "pwetty epic B)",
+ "Known to the state of California to cause cancer",
+ "did you know?",
+ "shrimps is bugs",
+ "is this a bedbuge?",
+ "girl, we've been knowing how to draw.",
+ "check it out, i'm in the house like carpet",
+ "that's so weirdcore liminal analog horror backrooms scp",
+ "this is where the funny randomly selected messages would go",
+ "come back in 5 minutes!",
+ "bug women",
+ "wait its fucking tueaday. god."
+ ];
+ document.querySelector("#footercaption").outerHTML = titles[Math.floor(Math.random() * titles.length)];
+ </script>
+ <noscript>What, you don't trust me, your close and trusted friend, with Javascript? Why, I'm insulted!</noscript>
+<div>