static vro

This commit is contained in:
2026-05-01 15:40:54 -04:00
parent 4ced1b003d
commit accf509040
27 changed files with 43 additions and 169 deletions
Executable → Regular
View File
@@ -1,12 +1,12 @@
<div id='ascii-penguin'> <div id='ascii-penguin'>
<pre> <pre>
{{ ascii_penguin }} <!--#include virtual="ascii/normal.html" -->
</pre> </pre>
</div> </div>
<div id='ascii-clippy'> <div id='ascii-clippy'>
<a href='https://www.youtube.com/watch?v=2_Dtmpe9qaQ&pp=ygUUbG91aXMgcm9zc21hbiBjbGlwcHk%3D'> <a href='https://www.youtube.com/watch?v=2_Dtmpe9qaQ&pp=ygUUbG91aXMgcm9zc21hbiBjbGlwcHk%3D'>
<pre> <pre>
{{ ascii_clippy }} <!--#include virtual="ascii/clippy.html" -->
</pre> </pre>
</a> </a>
</div> </div>

Before

Width:  |  Height:  |  Size: 26 KiB

After

Width:  |  Height:  |  Size: 26 KiB

+4
View File
@@ -0,0 +1,4 @@
<meta charset="UTF-8" />
<link rel="stylesheet" href="/static/index.css">
<title>Tuxcord.NET</title>
@@ -1,20 +1,19 @@
{% load static %}
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
{% include 'head.html' %} <!--#include virtual="head.html" -->
</head> </head>
<body> <body>
<header> <header>
{% include 'header.html'%} <!--#include virtual="header.html" -->
</header> </header>
<pre> <pre>
<h1>> ls -l /</h1> <h1>> ls -l /</h1>
-rwx------. root root <a href='https://tuxcord.net'>The website</a> -rwx------. root root <a href='https://tuxcord.net'>.</a>
-rwxr-xr-x. deadvey users <a href="https://mastodon.tuxcord.net">Mastodon</a> -rwxr-xr-x. deadvey users <a href="https://mastodon.tuxcord.net">mastodon</a>
-rwxr-x---. javalsai javalsai <a href="https://git.javalsai.tuxcord.net">Gitea</a> -rwxr-x---. javalsai javalsai <a href="https://git.javalsai.tuxcord.net">gitea</a>
-rwxr-xr-x. deadvey users <a href="https://redlib.tuxcord.net">Redlib</a> -rwxr-xr-x. deadvey users <a href="https://redlib.tuxcord.net">redlib</a>
-rwxr-x---. deadvey deadvey <a href="/mc">Minecraft</a> -rwxr-x---. deadvey deadvey <a href="/mc.html">minecraft</a>
-rwxr-x---. deadvey deadvey matrix.tuxcord.net -rwxr-x---. deadvey deadvey matrix.tuxcord.net
-rwx------. pixel users join-us.txt -rwx------. pixel users join-us.txt
-rwxr-xr-x. deadvey users members.html -rwxr-xr-x. deadvey users members.html
@@ -22,19 +21,15 @@
// Our Matrix and Discord are bridged // Our Matrix and Discord are bridged
<a href="https://matrix.to/#/#TuxCord:matrix.org">Matrix</a> <a href="https://matrix.to/#/#TuxCord:matrix.org">Matrix</a>
<a href="https://discord.gg/SPHymEDytw">Discord</a> <a href="https://discord.gg/SPHymEDytw">Discord</a>
</pre>
<pre>
<h1>> $BROWSER members.html</h1>
<span id='url-bar'>file:///members.html</span>
</pre> </pre>
<div id='members'> <div id='members'>
{{member_grid_html | safe}} <!--#include virtual="members.html" -->
</div> </div>
{% include 'ascii-art.html' %} <!--#include virtual="ascii-art.html" -->
<footer> <footer>
{% include 'footer.html' %} <!--#include virtual="footer.html" -->
</footer> </footer>
</body> </body>
</html> </html>

Before

Width:  |  Height:  |  Size: 36 KiB

After

Width:  |  Height:  |  Size: 36 KiB

-22
View File
@@ -1,22 +0,0 @@
#!/usr/bin/env python
"""Django's command-line utility for administrative tasks."""
import os
import sys
def main():
"""Run administrative tasks."""
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'tuxcord.settings')
try:
from django.core.management import execute_from_command_line
except ImportError as exc:
raise ImportError(
"Couldn't import Django. Are you sure it's installed and "
"available on your PYTHONPATH environment variable? Did you "
"forget to activate a virtual environment?"
) from exc
execute_from_command_line(sys.argv)
if __name__ == '__main__':
main()
+11 -15
View File
@@ -1,48 +1,44 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
{% include 'head.html' %} <!--#include virtual="head.html" -->
</head> </head>
<body> <body>
<header> <header>
{% include 'header.html'%} <!--#include virtual="header.html" -->
</header> </header>
Name: Tuxcord-MC<br/> Name: Tuxcord-MC<br/>
IP/Server Address: mc.tuxcord.net<br/> IP/Server Address: mc.tuxcord.net<br/>
Version: 1.12.8<br/> Version: 1.12.8<br/>
The server has a whitelist, so join our <a href="https://discord.gg/SPHymEDytw">Discord</a>, <a href="https://matrix.to/#/!BEyFZOZpWRoRrhRJbp:matrix.org">Matrix</a> or <a href="irc://irc.tuxcord.net">irc.tuxcord.net</a> and ask<br/>if you can join in the #.minecraft channel.<br/> The server has a whitelist, so join our <a href="https://discord.gg/SPHymEDytw">Discord</a>, <a href="https://matrix.to/#/!BEyFZOZpWRoRrhRJbp:matrix.org">Matrix</a> or <a href="irc://irc.tuxcord.net">irc.tuxcord.net</a> and request<br>for access in the #.minecraft channel.<br/>
The server is cracked, so as to prevent bots and spam, we also have a registration system.<br/> The server is cracked, so as to prevent bots and spam, we also have a registration system.<br/>
</pre> </pre>
<br/> <br/>
Rules:<br/> Rules:<br/>
<ol> <ol>
<li> <li>
Joking around is Ok, but no directed hate speech. Joking around is okay, but no directed hate speech is allowed.
</li> </li>
<li> <li>
Greifing and killing others is permitted. Greifing and killing others is permitted (with the exception of the main end island).
</li> </li>
<li> <li>
No attempting to crash server or disrupt other people's gameplay with lag machines and the like. No attempting to crash the server or disrupt other people's gameplay.
</li>
<li>
While greifing is permitted in most cases, do not greif the main end island
</li> </li>
</ol> </ol>
Examples:<br/> Examples:<br/>
Allowed:<br/> Allowed:<br/>
X-Ray, Baritone, AFK farming etc...<br/> X-Ray, Baritone, AFK farming, etc...<br/>
<br/> <br/>
Disallowed:<br/> Disallowed:<br/>
Aimbot, Auto Sword Smapping etc...<br/> Aimbot, Auto Sword Swapping, etc...<br/>
Lag machine and Game abuse bugs<br/> Lag machine and game abuse bugs<br/>
{% include 'ascii-art.html' %} <!--#include virtual="ascii-art.html" -->
<footer> <footer>
{% include 'footer.html' %} <!--#include virtual="footer.html" -->
</footer> </footer>
</body> </body>
</html> </html>
+13
View File
@@ -0,0 +1,13 @@
<pre>
<h1>> awk -F':' '{ print $1}' /etc/passwd</h1>
PixeL
bruhhhhh😘
ErrorNoInternet
<a href="javalsai.tuxcord.net">javalsai</a>
<a href="deadvey.com">DeaDvey</a>
danmax
duck-that-quacks
grialion
MightyCoderX
Spamix
</pre>
+3 -3
View File
@@ -16,7 +16,7 @@
"additional": "Admin" "additional": "Admin"
}, },
{ {
"name": "Javalsai", "name": "javalsai",
"website": "https://javalsai.tuxcord.net", "website": "https://javalsai.tuxcord.net",
"pfp": "javalsai.avif", "pfp": "javalsai.avif",
"additional": "Admin" "additional": "Admin"
@@ -28,7 +28,7 @@
"pfp": "deadvey.png" "pfp": "deadvey.png"
}, },
{ {
"name": "Danmax", "name": "danmax",
"website": "https://git.javalsai.tuxcord.net/danmax", "website": "https://git.javalsai.tuxcord.net/danmax",
"pfp": "danmax.png" "pfp": "danmax.png"
}, },
@@ -37,7 +37,7 @@
"website": "https://git.javalsai.tuxcord.net/duck-that-quacks" "website": "https://git.javalsai.tuxcord.net/duck-that-quacks"
}, },
{ {
"name": "Grialion" "name": "grialion"
}, },
{ {
"name": "MightyCoderX", "name": "MightyCoderX",

Before

Width:  |  Height:  |  Size: 3.0 KiB

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 67 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 84 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 534 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.9 KiB

-5
View File
@@ -1,5 +0,0 @@
{% load static %}
<meta charset="UTF-8" />
<link rel="stylesheet" href="{% static 'index.css' %}">
<title>Tuxcord.NET</title>
-16
View File
@@ -1,16 +0,0 @@
"""
ASGI config for tuxcord project.
It exposes the ASGI callable as a module-level variable named ``application``.
For more information on this file, see
https://docs.djangoproject.com/en/5.2/howto/deployment/asgi/
"""
import os
from django.core.asgi import get_asgi_application
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'tuxcord.settings')
application = get_asgi_application()
-75
View File
@@ -1,75 +0,0 @@
from django.shortcuts import render
from django.urls import path
from django.http import HttpResponse
import os
from datetime import datetime
import json
ascii_clippy = open('./ascii/clippy.html', 'r').read()
def decide_ascii():
date = datetime.today().strftime('%d%m')
# Fireworks/Independence days
if date == "0101" or date == "0407" or date == "0511":
return open('./ascii/fireworks.html').read()
# Christmas
if date[2:] == '12':
return open('./ascii/christmas.html', 'r').read()
# Hallowe'en
if date[2:] == '10':
return open('./ascii/halloween.html', 'r').read()
# Normal
else:
return open('./ascii/normal.html', 'r').read()
def members_grid():
members_grid_html = ''
with open('members.json', 'r') as members_file:
members_object = json.load(members_file)
for member in members_object:
members_grid_html += f'''
{f'<a href="{member["website"]}" target="_blank">' if "website" in member else ''}
<div id="member">
<span id='member-image'><img src="/static/{member["pfp"] if "pfp" in member else 'generic.png'}"></span>
<br/>
<span id='member-name'>{member["name"]}<span>
<br/>
<span id='member-role'><sub><i>{member["additional"] if "additional" in member else ''}</i></sub></span>
<br/>
</div>
{'</a>' if 'website' in member else ''}
'''
return members_grid_html
def index(request):
ascii_penguin = decide_ascii()
members_grid_html = members_grid()
return render(request, 'index.html', {
'ascii_penguin': ascii_penguin,
'ascii_clippy': ascii_clippy,
'member_grid_html': members_grid_html
})
def mc(request):
ascii_penguin = decide_ascii()
return render(request, 'mc.html', {
'ascii_penguin': ascii_penguin,
'ascii_clippy': ascii_clippy
})
def favicon(request):
with open('static/favicon.ico', "rb") as f:
return HttpResponse(f.read(), content_type="image/icon")
urlpatterns = [
path('', index, name='index'),
path('mc', mc, name='mc'),
path('favicon.ico', favicon, name='favicon'),
]
# In your main file (e.g., manage.py or wsgi.py), set up the server to run.
# Django handles the server running automatically. Configure your settings as needed.
-16
View File
@@ -1,16 +0,0 @@
"""
WSGI config for tuxcord project.
It exposes the WSGI callable as a module-level variable named ``application``.
For more information on this file, see
https://docs.djangoproject.com/en/5.2/howto/deployment/wsgi/
"""
import os
from django.core.wsgi import get_wsgi_application
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'tuxcord.settings')
application = get_wsgi_application()