diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index 59dafdb..0000000 --- a/Dockerfile +++ /dev/null @@ -1,7 +0,0 @@ -FROM python:3-alpine - -WORKDIR /site -COPY . . -RUN pip install --no-cache-dir -r requirements.txt - -CMD ["waitress-serve", "--port=8000", "app.app"] diff --git a/app.sh b/app.sh deleted file mode 100755 index aefae55..0000000 --- a/app.sh +++ /dev/null @@ -1,10 +0,0 @@ -#!/usr/bin/env sh - -set -eu - -main() { - cd site - waitress-serve --port=8041 'app.app' & -} - -main "$@" diff --git a/site/templates/assets/88x31s/benjae.nekoweb.org.gif b/assets/88x31s/benjae.nekoweb.org.gif similarity index 100% rename from site/templates/assets/88x31s/benjae.nekoweb.org.gif rename to assets/88x31s/benjae.nekoweb.org.gif diff --git a/site/templates/assets/88x31s/freetards.xyz.gif b/assets/88x31s/freetards.xyz.gif similarity index 100% rename from site/templates/assets/88x31s/freetards.xyz.gif rename to assets/88x31s/freetards.xyz.gif diff --git a/site/templates/assets/88x31s/fsky.io.webp b/assets/88x31s/fsky.io.webp similarity index 100% rename from site/templates/assets/88x31s/fsky.io.webp rename to assets/88x31s/fsky.io.webp diff --git a/site/templates/assets/88x31s/nyx.everypizza.im-2.png b/assets/88x31s/nyx.everypizza.im-2.png similarity index 100% rename from site/templates/assets/88x31s/nyx.everypizza.im-2.png rename to assets/88x31s/nyx.everypizza.im-2.png diff --git a/site/templates/assets/88x31s/nyx.everypizza.im.webp b/assets/88x31s/nyx.everypizza.im.webp similarity index 100% rename from site/templates/assets/88x31s/nyx.everypizza.im.webp rename to assets/88x31s/nyx.everypizza.im.webp diff --git a/site/templates/assets/88x31s/purplebored.pl.gif b/assets/88x31s/purplebored.pl.gif similarity index 100% rename from site/templates/assets/88x31s/purplebored.pl.gif rename to assets/88x31s/purplebored.pl.gif diff --git a/site/templates/assets/88x31s/squarebowl.club.gif b/assets/88x31s/squarebowl.club.gif similarity index 100% rename from site/templates/assets/88x31s/squarebowl.club.gif rename to assets/88x31s/squarebowl.club.gif diff --git a/site/templates/assets/88x31s/synth.download.svg b/assets/88x31s/synth.download.svg similarity index 100% rename from site/templates/assets/88x31s/synth.download.svg rename to assets/88x31s/synth.download.svg diff --git a/site/templates/assets/88x31s/telepath.im.png b/assets/88x31s/telepath.im.png similarity index 100% rename from site/templates/assets/88x31s/telepath.im.png rename to assets/88x31s/telepath.im.png diff --git a/site/templates/assets/88x31s/voxel.fsky.io.webp b/assets/88x31s/voxel.fsky.io.webp similarity index 100% rename from site/templates/assets/88x31s/voxel.fsky.io.webp rename to assets/88x31s/voxel.fsky.io.webp diff --git a/site/templates/assets/88x31s/zayd.fsky.io.png b/assets/88x31s/zayd.fsky.io.png similarity index 100% rename from site/templates/assets/88x31s/zayd.fsky.io.png rename to assets/88x31s/zayd.fsky.io.png diff --git a/site/templates/assets/broken/isekai.rocks.svg b/assets/broken/isekai.rocks.svg similarity index 100% rename from site/templates/assets/broken/isekai.rocks.svg rename to assets/broken/isekai.rocks.svg diff --git a/site/templates/assets/index.css b/assets/index.css similarity index 100% rename from site/templates/assets/index.css rename to assets/index.css diff --git a/site/templates/assets/index.css.old b/assets/index.css.old similarity index 100% rename from site/templates/assets/index.css.old rename to assets/index.css.old diff --git a/compose.yml b/compose.yml deleted file mode 100644 index 0c4b908..0000000 --- a/compose.yml +++ /dev/null @@ -1,9 +0,0 @@ -services: - utils: - build: - dockerfile: Dockerfile - ports: - - "8041:8000" # Will listen on port 65193, change that number to change the port - restart: unless-stopped - volumes: - - ./site:/site diff --git a/site/templates/index.j2 b/index.php similarity index 50% rename from site/templates/index.j2 rename to index.php index a9fa288..5fa6499 100644 --- a/site/templates/index.j2 +++ b/index.php @@ -1,4 +1,3 @@ - @@ -9,9 +8,30 @@
-- welcome, visitor {{ visitor }}! -
+ $count!"; + ?>
- this one has a ton of unfinished projects (and some that haven't - even had any work done yet)! its current idea is a GTK4 music player - along with a federated genius alternative. it also has a few things, + this one has a ton of unfinished projects. it also has a few things, like skibidifetch (a fork of badapplefetch by Ari), that are smaller. it also made a collection of web-based tools using server-side rendering, @@ -96,12 +114,45 @@
- currently, it's making a web frontend for DICT (RFC2229) using Flask in the backend - and Tailwind CSS in the frontend. + learning Ruby and Rails
- {{ np }}
+ " . htmlspecialchars($user) . ": " .
+ htmlspecialchars($track) . " by " .
+ htmlspecialchars($artist) . " from " .
+ htmlspecialchars($album) . "";
+ }
+ } catch (Exception $e) {
+ $nowPlayingString = "Failed to reach API";
+ }
+
+ echo $nowPlayingString;
+ ?>
+
data is from listenbrainz.
@@ -109,11 +160,36 @@
- {% for image, link in buttons %}
-
-
+
+
- {% endfor %}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
- hello, visitor number {{ visitor }}! this one is glad to see you. -
-- it is a cat-robot-girl-thing. it likes to speak about itself in the third person. - it likes linux and uses arch. it lives in texas, but hates it here. its favorite - color is pink. -
-- nyx has many interests. currently, it's been learning about networking, and the - C programming languages. it also likes open source software and protocols, like - XMPP. it also is a strong beliver in freedom of information, so it hosts things - like snowflake proxies. it also - likes retro design, and it sometimes will write a blog post on something random. - theming is also fun for it. -
-
- this one has a few forms of contact:
-
- please avoid using 2nd person pronouns when contacting it. -
-
- {{ np }}
-
-
- data is from listenbrainz.
-
-
- {% for image, link in buttons %}
-
-
-
- {% endfor %}
-
- {% for image, link in nyxbuttons %}
-
-
-
- {% endfor %}
-