This commit is contained in:
Nyx 2025-03-23 01:57:52 -05:00
parent 789a4ddbff
commit 698d639596
8 changed files with 128 additions and 128 deletions

View file

@ -8,14 +8,14 @@
<body> <body>
<h1>about</h1> <h1>about</h1>
<p> <p>
utils is a collection of tools made by Nyx for everypizza.im. it exists utils is a collection of tools made by Nyx for everypizza.im. it exists
because we belive JavaScript is bad when you can render server-side. as such, because we belive JavaScript is bad when you can render server-side. as such,
all of these tools are done server-side. we plan to make a self-hosting guide all of these tools are done server-side. we plan to make a self-hosting guide
very soon. very soon.
</p> </p>
<p> <p>
this is run on the same server that powers most of everypizza.im, although it this is run on the same server that powers most of everypizza.im, although it
may move to the pi server soon. it's a python/flask app. mostly made in vim. may move to the pi server soon. it's a python/flask app. mostly made in vim.
</p> </p>
<footer> <footer>
<hr /> <hr />

View file

@ -1,6 +1,6 @@
@media (prefers-color-scheme: dark) { @media (prefers-color-scheme: dark) {
body { body {
background-color: black; background-color: black;
color: white; color: white;
} }
} }

View file

@ -1,24 +1,24 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<title>Utilities</title> <title>Utilities</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="assets/style.css" rel="stylesheet" type="text/css"> <link href="assets/style.css" rel="stylesheet" type="text/css">
</head> </head>
<body> <body>
<h1>Text casing</h1> <h1>Text casing</h1>
<form method="POST"> <form method="POST">
<textarea name="text" placeholder="fhwrjdehsbrjkgu"></textarea> <textarea name="text" placeholder="fhwrjdehsbrjkgu"></textarea>
<br> <br>
<input type="radio" name="casing" id="caps" value="caps">caps</input> <input type="radio" name="casing" id="caps" value="caps">caps</input>
<input type="radio" name="casing" id="lowercase" value="lowercase">lowercase</input> <input type="radio" name="casing" id="lowercase" value="lowercase">lowercase</input>
<br> <br>
<button type="submit">generate</button> <button type="submit">generate</button>
</form> </form>
<footer> <footer>
<hr /> <hr />
<a href="/">← back home</a> <a href="/">← back home</a>
<a href="https://git.everypizza.im/n/utils">source code</a> | version 0.0.1 <a href="https://git.everypizza.im/n/utils">source code</a> | version 0.0.1
</footer> </footer>
</body> </body>
</html> </html>

View file

@ -1,37 +1,37 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="en">
<head> <head>
<title>Utilities</title> <title>Utilities</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="assets/style.css" rel="stylesheet" type="text/css"> <link href="assets/style.css" rel="stylesheet" type="text/css">
</head> </head>
<body> <body>
<h1>Utilites</h1> <h1>Utilites</h1>
<h3>Networking stuff</h3> <h3>Networking stuff</h3>
<ul> <ul>
<li> <li>
<a href="ip6-gen">IPv6 generator</a> <a href="ip6-gen">IPv6 generator</a>
</li> </li>
<li> <li>
<a href="port">Random port generator</a> <a href="port">Random port generator</a>
</li> </li>
</ul> </ul>
<h3>Text casing</h3> <h3>Text casing</h3>
<ul> <ul>
<li> <li>
<a href="case">Text casing</a> <a href="case">Text casing</a>
</li> </li>
</ul> </ul>
<h3>Numbers</h3> <h3>Numbers</h3>
<ul> <ul>
<li> <li>
<a href='rand'>Random number</a> <a href='rand'>Random number</a>
</li> </li>
</ul> </ul>
<footer> <footer>
<hr /> <hr />
<a href="https://git.everypizza.im/n/utils">source code</a> | version 0.0.1 | <a href="https://git.everypizza.im/n/utils">source code</a> | version 0.0.1 |
<a href="about">about</a> <a href="about">about</a>
</footer> </footer>
</body> </body>
</html> </html>

View file

@ -1,21 +1,21 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<title>Utilities</title> <title>Utilities</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="assets/style.css" rel="stylesheet" type="text/css"> <link href="assets/style.css" rel="stylesheet" type="text/css">
</head> </head>
<body> <body>
<h1>IPv6 generator</h1> <h1>IPv6 generator</h1>
<form method="POST"> <form method="POST">
<input type="text" name="subnet" size="128" placeholder="xxxx:xxxx:xxxx:xxxx::" /> <input type="text" name="subnet" size="128" placeholder="xxxx:xxxx:xxxx:xxxx::" />
<input type="text" name="prefix" size="4" placeholder="/64"> <input type="text" name="prefix" size="4" placeholder="/64">
<button type="submit">generate</button> <button type="submit">generate</button>
</form> </form>
<footer> <footer>
<hr /> <hr />
<a href="/">← back home</a> <a href="/">← back home</a>
<a href="https://git.everypizza.im/n/utils">source code</a> | version 0.0.1 <a href="https://git.everypizza.im/n/utils">source code</a> | version 0.0.1
</footer> </footer>
</body> </body>
</html> </html>

View file

@ -1,16 +1,16 @@
<!DOCTYPE html> <!DOCTYPE html>
<head> <head>
<title>Utilities</title> <title>Utilities</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="assets/style.css" rel="stylesheet" type="text/css"> <link href="assets/style.css" rel="stylesheet" type="text/css">
</head> </head>
<body> <body>
<h1>HTTP port</h1> <h1>HTTP port</h1>
<p> <p>
:{{ result }} :{{ result }}
</p> </p>
<footer> <footer>
<hr /> <hr />
<a href="/">← back home</a> <a href="/">← back home</a>
</footer> </footer>
</body> </body>

View file

@ -1,21 +1,21 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<title>Utilities</title> <title>Utilities</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="assets/style.css" rel="stylesheet" type="text/css"> <link href="assets/style.css" rel="stylesheet" type="text/css">
</head> </head>
<body> <body>
<h1>Random number generator</h1> <h1>Random number generator</h1>
<form method="POST"> <form method="POST">
<input type="text" name="min" size="3" placeholder="1" /> <input type="text" name="min" size="3" placeholder="1" />
<input type="text" name="max" size="3" placeholder="100"> <input type="text" name="max" size="3" placeholder="100">
<button type="submit">generate</button> <button type="submit">generate</button>
</form> </form>
<footer> <footer>
<hr /> <hr />
<a href="/">← back home</a> <a href="/">← back home</a>
<a href="https://git.everypizza.im/n/utils">source code</a> | version 0.0.1 <a href="https://git.everypizza.im/n/utils">source code</a> | version 0.0.1
</footer> </footer>
</body> </body>
</html> </html>

View file

@ -1,16 +1,16 @@
<!DOCTYPE html> <!DOCTYPE html>
<head> <head>
<title>Utilities</title> <title>Utilities</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="assets/style.css" rel="stylesheet" type="text/css"> <link href="assets/style.css" rel="stylesheet" type="text/css">
</head> </head>
<body> <body>
<h1>Result for {{ type }}</h1> <h1>Result for {{ type }}</h1>
<p> <p>
{{ result }} {{ result }}
</p> </p>
<footer> <footer>
<hr /> <hr />
<a href="/">← back home</a> <a href="/">← back home</a>
</footer> </footer>
</body> </body>