This commit is contained in:
reallyniceusername 2023-06-03 17:28:02 +00:00
commit 3de05e7d22
8 changed files with 49 additions and 0 deletions

2
.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
/blog
/cgi-bin

3
.gitmodules vendored Normal file
View File

@ -0,0 +1,3 @@
[submodule "librex"]
path = librex
url = ./librex

1
README.md Normal file
View File

@ -0,0 +1 @@
My website on tilde.team :)

BIN
favicon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 206 KiB

9
head.php Normal file
View File

@ -0,0 +1,9 @@
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="tilde.team unix group">
<meta name="author" content="<?=$user?>">
<meta name="theme-color" content="#00cc00">
<title><?=$user?>~tilde.team</title>
<link rel="stylesheet" type="text/css" href="https://tilde.team/css/hacker.css">
<link rel="icon" href="/favicon.png">

24
index.php Normal file
View File

@ -0,0 +1,24 @@
<!DOCTYPE html>
<?php $user = posix_getpwuid(fileowner(__FILE__))["name"]; ?>
<html>
<head>
<?php include("head.php"); ?>
</head>
<body>
<div class="container">
<div class="page-header">
<div class="pull-right">
<p><a href="https://tilde.team/">&lt;- back to tilde.team</a></p>
</div>
<h1><strong>~<?=$user?></strong></h1>
</div>
<a href='/librex/'>librex instance</a>
<h4>!! PUBLIC SERVICE ANNOUNCEMENT: <a href="blog">READ THE BEST BLOG TO EVER EXIST</a> !!</h4>
</div>
</body>
</html>

1
librex Submodule

@ -0,0 +1 @@
Subproject commit d6954a125fe03b0021b314584586d62b335cffc0

9
search.php Normal file
View File

@ -0,0 +1,9 @@
<?php
echo 'redirecting to /librex/search.php?'.$_SERVER['QUERY_STRING'] ;
if( isset($_SERVER['HTTPS'] ) ) {
header('Location: /librex/search.php?'.$_SERVER['QUERY_STRING']);
}
else{
header('Location: /librex/search.php?'.$_SERVER['QUERY_STRING']);
}
?>