aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornathansmith117 <nathansmith@posteo.com>2025-03-10 06:37:34 -0600
committernathansmith117 <nathansmith@posteo.com>2025-03-10 06:37:34 -0600
commit35f1e34e3f3ff9c1ce4aae4379395eaed49d759a (patch)
treeaabe2cc3875cb7b54f91531a7a3c6f53bb8a1db8
parent15f57c27e59d3065f9504b40433de889fee4db67 (diff)
Starting to really change the website
-rw-r--r--graveyard.html73
-rw-r--r--images/background.pngbin3593 -> 54735 bytes
-rw-r--r--images/email.gifbin4021 -> 638 bytes
-rw-r--r--images/flying_tux.gifbin0 -> 84214 bytes
-rw-r--r--images/graveyard_background.jpgbin203384 -> 0 bytes
-rw-r--r--images/home_title.pngbin0 -> 61707 bytes
-rw-r--r--images/the_mind_background.jpgbin40725 -> 0 bytes
-rw-r--r--index.html67
-rw-r--r--linuxRoom.html16
-rw-r--r--scripts/youtube_subs_export.py51
-rw-r--r--the_mind.html32
-rw-r--r--the_philosophy_commune.html8
12 files changed, 91 insertions, 156 deletions
diff --git a/graveyard.html b/graveyard.html
deleted file mode 100644
index a6e668d..0000000
--- a/graveyard.html
+++ /dev/null
@@ -1,73 +0,0 @@
-<!DOCTYPE html>
-<html>
-
-<head>
- <title>graveyard</title>
-
-<style>
-
-body {
- color: white;
- background-image: url('images/graveyard_background.jpg');
-}
-
-table {
- color: black;
- background-color: #bebebe;
- margin-top: 10px;
- margin-bottom: 10px;
- margin-left: 10px;
- margin-right: 10px;
-}
-
-</style>
-
-</head>
-
-<body>
-
- <center>
- <h1>Where dead projects are</h1>
- <table border="1" width="50%">
- <tr>
- <td>
- <h2>This place is as big as it is because of adhd</h2>
- <ul>
- <li><a href="https://github.com/nathansmith117/zombie_friends" target="_blank">WTF was I thinking!!!</a></li>
- <li><a href="https://gitea.com/nathansmithsmith/HiIAmAPencil" target="_blank">school shooting</a></li>
- <li><a href="https://gitea.com/nathansmithsmith/NorthFurniture" target="_blank">Not ikea</a></li>
- <li><a href="https://github.com/nathansmith117/robot_emulator" target="_blank">robot go vroom!</a></li>
- <li><a href="https://github.com/nathansmith117/tickoattwo" target="_blank">weird ass tiktacktoe</a></li>
- <li><a href="https://github.com/nathansmith117/fltk_snake" target="_blank">Perfectly working snake but never went far</a></li>
- <li><a href="https://github.com/nathansmith117/BlockyBuild" target="_blank">Minecraft clone doomed from the start</a></li>
- <li><a href="https://github.com/nathansmith117/ChatbotLoop" target="_blank">Evil chatbot human suffering orgy</a></li>
- </ul>
-
- <h2>Shit to bring up</h2>
- <ul>
- <li>Call out to every stupid game idea I ever had</li>
- <li>A joystick library in c I think I never uplaoded and deleted</li>
- <li>A pygame game that was terrible and only had a single playable level that I deleted by mistake</li>
- <li>The countless projects that I deleted because I fucking hated them but now I kind of wish I kept them in a place deep on the internet</li>
- <li>Anything I forgor to add the the other list</li>
- </ul>
-
- <h2>Found some stuff recently</h2>
- <p>
- I was digging around and found these old projects and uploaded them to github.<br/>
- New programmers out there! upload your shit you might want it later no matter how shitty it is!<br/><br/>
- The old projects can be found <a href="https://github.com/nathansmith117/forgorttonProjects" target="_blank">here</a>.
- Shitty code enter at your own risk!!!
- </p>
- </td>
- </tr>
- <tr>
- <td>
- <h2><a href="index.html">Back to main page</a></h2>
- </td>
- </tr>
- </table>
- </center>
-
-</body>
-</html>
diff --git a/images/background.png b/images/background.png
index 5aba13f..45f0372 100644
--- a/images/background.png
+++ b/images/background.png
Binary files differ
diff --git a/images/email.gif b/images/email.gif
index 1b309b9..b858455 100644
--- a/images/email.gif
+++ b/images/email.gif
Binary files differ
diff --git a/images/flying_tux.gif b/images/flying_tux.gif
new file mode 100644
index 0000000..9e361f3
--- /dev/null
+++ b/images/flying_tux.gif
Binary files differ
diff --git a/images/graveyard_background.jpg b/images/graveyard_background.jpg
deleted file mode 100644
index 5adf1a8..0000000
--- a/images/graveyard_background.jpg
+++ /dev/null
Binary files differ
diff --git a/images/home_title.png b/images/home_title.png
new file mode 100644
index 0000000..541c572
--- /dev/null
+++ b/images/home_title.png
Binary files differ
diff --git a/images/the_mind_background.jpg b/images/the_mind_background.jpg
deleted file mode 100644
index 874729d..0000000
--- a/images/the_mind_background.jpg
+++ /dev/null
Binary files differ
diff --git a/index.html b/index.html
index f37773d..7833dcb 100644
--- a/index.html
+++ b/index.html
@@ -2,7 +2,7 @@
<html>
<head>
- <title>Nathan Smith's website</title>
+ <title>Nathan's shitty web</title>
<style>
@@ -26,59 +26,40 @@ table {
<body>
<center>
- <h1>All the cursed shit I decided to add because why not</h1>
+ <img src="images/home_title.png"/>
<table border="1" width="50%">
<tr>
<td>
- <h2>Version control</h2>
- <ul>
- <li><a href="https://github.com/nathansmith117" target="_blank">github</a></li>
- <li><a href="https://gitea.com/nathansmithsmith" target="_blank">gitea</a></li>
- </ul>
- </td>
- </tr>
-
- <tr>
- <td>
<h2>Contact</h2>
- <img src="images/email.gif" width="16x"/>
- <a href="mailto: nathansmith117@sdf.org">Email</a>
- </td>
- </tr>
-
- <tr>
- <td>
- <h2>Software I made</h2>
- <p>(Things that stood out to me at 0:00 when making this)</p>
- <ul>
- <li><a href="https://gitea.com/nathansmithsmith/youload/releases" target="_blank">youload</a></li>
- <li><a href="https://gitea.com/nathansmithsmith/nvim_config" target="_blank">nvim_config</a></li>
- <li><a href="https://github.com/nathansmith117/twine" target="_blank">the holy thing you need</a></li>
- <li><a href="https://github.com/nathansmith117/HelpfullDuck" target="_blank">duck</a></li>
- <li><a href="https://github.com/nathansmith117/RaccoonConvert" target="_blank">raccoon</a></li>
- <li><a href="https://github.com/nathansmith117/SandGame" target="_blank">sand</a></li>
- <li><a href="https://github.com/nathansmith117/color_game" target="_blank">color game</a></li>
- </ul>
- </td>
- </tr>
-
- <tr>
- <td>
-
- <h2>WASM games</h2>
- <p>(One looks like a tech demo and the other is just fuck)</p>
- <ul>
- <li><a href="https://nathansmithsmith.itch.io/killafacsista" target="_blank">Tech demo</a></li>
- <li><a href="https://nathansmith117.github.io/PenguinYippiesWeb/" target="_blank">FUCK</a></li>
- </ul>
+ <a href="mailto:nathansmith117@sdf.org"><img src="images/email.gif"/>Email</a>
+
+ <h2>About me</h2>
+ <p>
+ Many people don't know their reason for existing, others think they know but will
+ one day have to learn the hard way they were wrong. My reason for existing is to
+ explore the world around me and continue the nonstop journy of learning and finding
+ new things. I try to avoid anything that disrupts the journy, requires closing off my
+ mind and handing it over to someone... If you have a problem with that you can go fuck
+ yourself!
+ <br/><br/>
+ Some of my interests and hobbies:
+ <ul>
+ <li>Guitar and bass</li>
+ <li>Linux</li>
+ <li>Programming</li>
+ <li>Electronics modding and DIY</li>
+ <li>Real leftism and politics (real leftism is very different
+ than what society wants you to think)</li>
+ <li>Lite amounts of philosophy and psychology</li>
+ </ul>
+ </p>
</td>
</tr>
<tr>
<td>
<ul>
- <li><h3><a href="graveyard.html">Visit the graveyard</a></h3></li>
<li><h3><a href="linuxRoom.html">Visit the linux room</a></h3></li>
<li><h3><a href="blahajRoom.html">Visit the blahaj room</a></h3></li>
<li><h3><a href="the_philosophy_commune.html">Visit the philosophy commune</a></h3></li>
diff --git a/linuxRoom.html b/linuxRoom.html
index 824e77e..c82abc9 100644
--- a/linuxRoom.html
+++ b/linuxRoom.html
@@ -27,7 +27,7 @@ table {
<body>
<center>
- <img src="https://media.tenor.com/ko4tpRh2FTcAAAAi/mr-free-super-tux.gif" alt="Tux the penguin flying"/>
+ <img src="images/flying_tux.gif" alt="Tux the penguin flying"/>
<table border="1" width="60%">
<tr>
<td>
@@ -49,7 +49,7 @@ table {
<tr>
<td>
- <h2><a href="https://github.com/nathansmith117/dotfiles" target="_blank">Dotfiles</a></h2>
+ <h2><a href="https://codeberg.org/nathansmith/dotfiles" target="_blank">Dotfiles</a></h2>
<p>This is a repo for my dotfiles and its kind of fucked up.
Some configs have there own repos because I didn't think ahead lmao.
</p>
@@ -297,7 +297,7 @@ table {
<h3>lite-xl config</h3>
<p>
- I have my config on a repo here <a href="https://github.com/nathansmith117/liteLXConfig" target="_blank">here</a>.
+ I have my config on a repo here <a href="https://codeberg.org/nathansmith/liteLXConfig" target="_blank">here</a>.
On different screen sizes lite-xl may look bad and to fix it you need to set the <code>LITE_SCALE</code> environment variable.
<br/><br/>
@@ -317,9 +317,9 @@ table {
mpv uses lua for its config files and is really simple by default. It also can play youtube videos
or other online streams just by giving it a url.<br/><br/>
- The only thing I did to config mine
- was install a plugin for a nicer interface yet
- <a href="https://github.com/nathansmith117/mpvconfig" target="_blank">it has its own repo</a> when it
+ The only thing I did to config mine was install plugins for a nicer interface
+ and mpris yet
+ <a href="https://codeberg.org/nathansmith/mpvconfig" target="_blank">it has its own repo</a> when it
could just be in the dotfiles repo. Like I said, my dotfiles are kind of fucked up.
</p>
</td>
@@ -346,7 +346,7 @@ table {
You can turn youtube channels into rss feeds with
<code>https://www.youtube.com/feeds/videos.xml?channel_id={channel_id}</code><br/>
This can be done for all your subscriptions with
- <a href="https://gist.github.com/nathansmith117/1ad3ffbf22a4c04ca169dd76a99a5236" target="_blank">
+ <a href="scripts/youtube_subs_export.py" target="_blank">
this script</a>
</li>
<li>
@@ -369,7 +369,7 @@ table {
alacritty now has a option for toml files for the config. The yml files was
one of the biggest things keeping me away from alacritty.<br/><br/>
You can find my config on the
- <a href="https://github.com/nathansmith117/dotfiles/tree/main/.config/alacritty" target="_blank">dotfiles repo</a>.
+ <a href="https://codeberg.org/nathansmith/dotfiles/src/branch/main/.config/alacritty" target="_blank">dotfiles repo</a>.
</p>
</td>
</tr>
diff --git a/scripts/youtube_subs_export.py b/scripts/youtube_subs_export.py
new file mode 100644
index 0000000..6a36840
--- /dev/null
+++ b/scripts/youtube_subs_export.py
@@ -0,0 +1,51 @@
+import sys
+
+"""
+This little script lets you export your entire youtube subscriptions list to a opml file.
+
+To use it go to your google account and go to your user data collection and find the part on youtube to download your subscriptions.
+It will give you a subscriptions.csv file and pass that file to the script and it will output the rss opml data to stdout.
+Do what you need with that data.
+"""
+
+# XML doesn't like some characters
+def fix_name(name):
+ no_no_list = ["\n", '"', "&"]
+ name = "".join(filter(lambda x: x not in no_no_list, name))
+ return name
+
+def main():
+
+ # Get name of the csv file.
+ if len(sys.argv) < 1:
+ print("File name required")
+ sys.exit()
+
+ file_name = sys.argv[1]
+
+ with open(file_name, "r") as fp:
+
+ print('<?xml version="1.0" encoding="UTF-8"?>')
+ print('<opml version="2.0">')
+ print('<head><title>OPML Feeds</title></head>')
+ print('<body>')
+
+ for line in fp.readlines()[1::]: # Skips the first line.
+
+ # Empty line.
+ if line == "\n":
+ continue
+
+ line_data = line.split(",")
+ feed_url = f"https://www.youtube.com/feeds/videos.xml?channel_id={line_data[0]}"
+
+ print(f'\t<outline text="{fix_name(line_data[2])}" type="rss" xmlUrl="{feed_url}"/>')
+
+
+ print('</body>')
+ print('</opml>')
+
+
+if __name__ == "__main__":
+ main()
+
diff --git a/the_mind.html b/the_mind.html
deleted file mode 100644
index f9e62f0..0000000
--- a/the_mind.html
+++ /dev/null
@@ -1,32 +0,0 @@
-<!DOCTYPE html>
-<html>
-
-<head>
- <title>The mind</title>
-
-<style>
-
-body {
- color: black;
- background-image: url('images/the_mind_background.jpg');
-}
-
-table {
- color: black;
- background-color: #bebebe;
- margin-top: 10px;
- margin-bottom: 10px;
- margin-left: 10px;
- margin-right: 10px;
-}
-
-</style>
-
-</head>
-
-<body>
- <center>
- <h1>The mind</h1>
- </center>
-</body>
-</html>
diff --git a/the_philosophy_commune.html b/the_philosophy_commune.html
index 2c9c196..738ba0f 100644
--- a/the_philosophy_commune.html
+++ b/the_philosophy_commune.html
@@ -20,6 +20,10 @@ table {
margin-right: 10px;
}
+#warning {
+ color: red;
+}
+
</style>
</head>
@@ -31,6 +35,10 @@ table {
<table border="1" width="60%">
<tr>
<td>
+ <p id="warning">
+ Warning: This part of the website is mostly my inner nonsense released into the world and
+ it likely doesn't make any sense. I plan on completely remaking it sometime.
+ </p>
<h2>Yes, I am a evil commie.</h2>
<p>
In this very "well" designed web page I will layout the basics of what socialism and communism really is