forked from hextilde/site
Initial commit
This commit is contained in:
commit
3ff1187fec
Binary file not shown.
Binary file not shown.
After Width: | Height: | Size: 3.9 KiB |
|
@ -0,0 +1,5 @@
|
|||
<hr>
|
||||
<p>~> <a href="https://tildegit.org/hextilde/site">page sources</a></p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,24 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta charset="UTF-8">
|
||||
<title>hextilde</title>
|
||||
<link rel="stylesheet" href="/style.css">
|
||||
</head>
|
||||
<body>
|
||||
<div id="content">
|
||||
<pre>
|
||||
____ __ _ __ __
|
||||
/ __ \_ __/ /_(_) /___/ /__
|
||||
/ / / / |/_/ __/ / / __ / _ \
|
||||
/ /_/ /< >/ /_/ / / /_/ / __/
|
||||
\____/_/|_|\__/_/_/\__,_/\___/
|
||||
</pre>
|
||||
<hr>
|
||||
<ul id="menu">
|
||||
<li><a href="/">Home</a></li>
|
||||
<li><a href="/wiki">Wiki</a></li>
|
||||
<li><a href="/signup">Signup</a></li>
|
||||
</ul>
|
||||
<hr>
|
|
@ -0,0 +1,23 @@
|
|||
<?php include 'header.php' ?>
|
||||
<h2>Hextilde</h2>
|
||||
<h3>Hexadecimal Arch Tilde</h3>
|
||||
<p>Hello and welcome to hextilde - a shared system, where you can play with linux and host your own things</p>
|
||||
<p>We are welcome for new users and suggestions</p>
|
||||
<p>You can explore unix, host your webpage, gempage and gopherhole, chat with friends and do a lot more cool things here</p>
|
||||
<p>This tilde is running Arch Linux<!-- BTW--></p>
|
||||
<hr>
|
||||
<h3>Our users</h3>
|
||||
<?php
|
||||
if ($opendirectory = opendir('/home')) {
|
||||
while (($user = readdir($opendirectory)) !== false) {
|
||||
if ($user[0] != '.' and file_exists("/home/$user/public_html")) {
|
||||
echo "<p>~> <a href=\"/~$user\">$user</a></p>";
|
||||
}
|
||||
}
|
||||
closedir($opendirectory);
|
||||
}
|
||||
?>
|
||||
<hr>
|
||||
<h3>Our services</h3>
|
||||
<p>~> <a href="https://mail.hextilde.xyz">Webmail</a></p>
|
||||
<?php include 'footer.php' ?>
|
|
@ -0,0 +1 @@
|
|||
<?php include '../footer.php'; ?>
|
|
@ -0,0 +1,3 @@
|
|||
<?php include '../header.php'; ?>
|
||||
<h2>Hextilde signup</h2>
|
||||
<hr>
|
|
@ -0,0 +1,39 @@
|
|||
<?php include 'header.php' ?>
|
||||
<?php if($_POST==array()){ ?>
|
||||
<p>Please fill in this form in order to register</p>
|
||||
<p>We will contact you when your account is ready</p>
|
||||
<p>If you can't or don't want to use form, contact us dirrectly via <a href="mailto:root@hextilde.xyz">email</a> or <a href="/wiki/irc.php">IRC</a></p>
|
||||
<hr>
|
||||
<br>
|
||||
<form id="signup" method="POST">
|
||||
<label>Username:</label> <input name="username" type="text" required="required"/><br>
|
||||
<br>
|
||||
<label>Email to contact you when your account is ready:</label> <input name="email" type="email" required="required"/><br>
|
||||
<br>
|
||||
<label>SSH Public Key:</label><br>
|
||||
<br>
|
||||
<textarea name="sshkey" style="width:500px; height:50px" required="required"></textarea>
|
||||
<br><br>
|
||||
<label>Reason for joining and how you found us (so we can make sure that you are not a robot):</label><br>
|
||||
<br>
|
||||
<textarea name="reason" style="width:500px; height:100px" required="required"></textarea>
|
||||
<br>
|
||||
<br>
|
||||
<input name="submit" type="submit" value="Submit"/>
|
||||
</form>
|
||||
<?php
|
||||
} else {
|
||||
$username=$_POST["username"];
|
||||
$email=$_POST["email"];
|
||||
$sshkey=$_POST["sshkey"];
|
||||
$reason=$_POST["reason"];
|
||||
$body = "Username: $username\nEmail: $email\nSSH-key:\n\n$sshkey\n\nReason:\n\n$reason\n\nNow please run this command, if application is valid:\n\nmakeuser $username $email \"$sshkey\"";
|
||||
if (mail("root@hextilde.xyz", "New user request", $body)) {
|
||||
echo "<p>Submitted! We will contact you when your account is ready</p>";
|
||||
} else {
|
||||
echo "<p>Error occured, please contact us via root@hextilde.xyz or on irc";
|
||||
}
|
||||
}
|
||||
?>
|
||||
<br>
|
||||
<?php include 'footer.php' ?>
|
|
@ -0,0 +1,53 @@
|
|||
@font-face { font-family: Inconsolata-g; src: url('Inconsolata-g.otf'); }
|
||||
|
||||
body {
|
||||
background: #252422;
|
||||
color: #eb5e28;
|
||||
font-family: 'Inconsolata-g';
|
||||
}
|
||||
|
||||
div {
|
||||
padding: 5px;
|
||||
width: 100%;
|
||||
max-width: 874px;
|
||||
margin: 24px auto;
|
||||
}
|
||||
|
||||
hr {
|
||||
color: #403d39;
|
||||
}
|
||||
|
||||
#menu {
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
#menu li {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
h1, h2, h3 {
|
||||
color: #f95738;
|
||||
}
|
||||
|
||||
a {
|
||||
text-decoration: none;
|
||||
color: #fe7f2d;
|
||||
}
|
||||
|
||||
input, textarea {
|
||||
padding: 3px 5px;
|
||||
appearance: none;
|
||||
-webkit-appearance: none;
|
||||
font-weight: 600;
|
||||
border-radius: 5px;
|
||||
|
||||
background-color: #403d39;
|
||||
border: none;
|
||||
box-shadow: 2px 2px #454540;
|
||||
border-color: #252421;
|
||||
color: #ccc5b9;
|
||||
}
|
||||
|
||||
input:hover {
|
||||
box-shadow: 3px 3px #454540;
|
||||
}
|
|
@ -0,0 +1 @@
|
|||
<?php include '../footer.php'; ?>
|
|
@ -0,0 +1,12 @@
|
|||
<?php include 'header.php'; ?>
|
||||
<h3>Gemini</h3>
|
||||
|
||||
<p>Gemini is a new application-level internet protocol for the distribution of arbitrary files, with some special consideration for serving a lightweight hypertext format which facilitates linking between files.</p>
|
||||
|
||||
<p>We provide gemini hosting, so you just need to create <code>index.gmi</code> in your <code>~/public_gemini</code></p>
|
||||
<p>As soon as you created <code>index.gmi</code> and changed as you need, you will see your gemini capsule on <code>gemini://hextilde.xyz/~username</code></p>
|
||||
|
||||
<p>Check <a href="https://gemini.circumlunar.space/docs/gemtext.gmi">this page</a> to learn more about Gemtext
|
||||
|
||||
<h4>~> Also check <a href="https://tilde.wiki/wiki/Gemini">page on ~wiki about Gemini</a></h4>
|
||||
<?php include 'footer.php'; ?>
|
|
@ -0,0 +1,11 @@
|
|||
<?php include 'header.php'; ?>
|
||||
<h3>Gopher</h3>
|
||||
<p>The Gopher protocol is a communication protocol designed for distributing, searching, and retrieving documents in Internet Protocol networks.</p>
|
||||
|
||||
<p>We provide gopher hosting, so you just need to create <code>index.gph</code> in your <code>~/public_html</code></p>
|
||||
<p>As soon as you created <code>index.gph</code> and changed as you need, you will see your gopherhole on <code>gopher://hextilde.xyz/1/~username</code></p>
|
||||
|
||||
<p>Check <code>man geomyidae</code> for correct formatting</p>
|
||||
|
||||
<h4>~> Also check <a href="https://tilde.wiki/wiki/Gopher">page on ~wiki about Gopher</a></h4>
|
||||
<?php include 'footer.php'; ?>
|
|
@ -0,0 +1,3 @@
|
|||
<?php include '../header.php'; ?>
|
||||
<h2>Hextilde wiki</h2>
|
||||
<hr>
|
|
@ -0,0 +1,17 @@
|
|||
<?php include 'header.php' ?>
|
||||
<p>Welcome to our wiki</p>
|
||||
<p>Also check <a href="https://tilde.wiki">tilde.wiki</a></p>
|
||||
<h3>Articles</h3>
|
||||
<?php
|
||||
if ($opendirectory = opendir('.')) {
|
||||
while (($file = readdir($opendirectory)) !== false) {
|
||||
if ($file != "index.php" and $file != "footer.php" and $file != "header.php" and $file[0] != '.') {
|
||||
$name = str_replace("<h3>", '', file($file)[1]);
|
||||
$name = str_replace("</h3>", '', $name);
|
||||
echo "<p>~> <a href=\"$file\">$name</a></p>";
|
||||
}
|
||||
}
|
||||
closedir($opendirectory);
|
||||
}
|
||||
?>
|
||||
<?php include 'footer.php' ?>
|
|
@ -0,0 +1,26 @@
|
|||
<?php include 'header.php'; ?>
|
||||
<h3>IRC</h3>
|
||||
<p>IRC is Internel Relay Chat, you can chat with your friends using it</p>
|
||||
<h4>~> How to connect</h4>
|
||||
<p>To connect to some irc server, you need to configure your client for it</p>
|
||||
<p>We have several client already installed on hextilde</p>
|
||||
<h5>weechat</h5>
|
||||
<p>First you need to add server to your weechat, using command <code>/server add servername server.address/port</code> or if you want to connect to sslyou will need to change port and add <code>-ssl</code> in the end</p>
|
||||
<p>Then connect using <code>/connect servername</code></p>
|
||||
<p>Example:</p>
|
||||
<p><code>/server add hextilde irc.hextilde.xyz/6697 -ssl</code></p>
|
||||
<p><code>/connect hextilde</code></p>
|
||||
<h5>irssi</h5>
|
||||
<p>To connect to some server using irssi, you just need to run one command - <code>/connect server.address port</code> (if you want to connect using ssl you need to add <code>-tls</code> after <code>/connect</code> and change port</code></p>
|
||||
<p>Example:</p>
|
||||
<code>/connect -tls irc.hextilde.xyz 6697</code>
|
||||
<h4>~> Our channels</h4>
|
||||
<p>We have channels on multiple networks:</p>
|
||||
<ul id="channels" style="list-style: none">
|
||||
<li>~> <code>#hextilde</code> on our local IRC server (<code>irc.hextilde.xyz</code> (ports: 6697 - ssl and if you have an account, you can also connect to 6667 on localhost))</li>
|
||||
<li>~> <code>#hextilde</code> on <code>irc.tilde.chat</code> (ports: 6697 - ssl)</li>
|
||||
<li>~> <code>#hextilde</code> on <a href="https://friends.wer.ee"><code>friends.wer.ee</code></a> (check IRCFriends <a href="https://friends.wer.ee">webpage</a> for info how to connect)</li>
|
||||
<li>~> <code>#hextilde</code> on <code>irc.ircnow.org</code> (ports: 6667 - plain, 6697 - ssl)</li>
|
||||
</ul>
|
||||
<h4>~> Also check <a href="https://tilde.wiki/wiki/IRC">page on ~wiki about IRC</a></h4>
|
||||
<?php include 'footer.php'; ?>
|
|
@ -0,0 +1,53 @@
|
|||
<?php include 'header.php'; ?>
|
||||
<h3>Mail</h3>
|
||||
<p>Hextilde provides mail accounts for its users</p>
|
||||
<p>To access it, you can use our <a href="https://mail.hextilde.xyz">webmail</a> or setup your mail client</p>
|
||||
<h4>Mail clients setup</h4>
|
||||
<h5>mutt/neomutt</h5>
|
||||
<p>Mutt is mail client that you can use via terminal. Neomutt is extended version of it. Their configs are pretty similar</p>
|
||||
<p>Hextilde has both installed, so you can just run it there.</p>
|
||||
<p>Default config file for mutt is in <code>~/.muttrc</code> and default config file for neomutt is in <code>~/.config/neomuttrc</code> (but neomutt can also use <code>~/.muttrc</code> if main config is not avalible)</p>
|
||||
<p>Config</p>
|
||||
<code>
|
||||
set hostname=mail.hextilde.xyz <br>
|
||||
set imap_user=username <br>
|
||||
set imap_pass="password" <br>
|
||||
<br>
|
||||
set folder=imap://$imap_user@mail.hextilde.xyz <br>
|
||||
<br>
|
||||
set spoolfile=+INBOX <br>
|
||||
<br>
|
||||
set imap_check_subscribed <br>
|
||||
set header_cache=~/.cache/mutt <br>
|
||||
set message_cachedir="~/.cache/mutt" <br>
|
||||
unset imap_passive <br>
|
||||
set imap_keepalive=300 <br>
|
||||
set mail_check=120 <br>
|
||||
<br>
|
||||
set record=+Sent <br>
|
||||
set realname='username' <br>
|
||||
set from=username@hextilde.xyz <br>
|
||||
set use_from=yes <br>
|
||||
<br>
|
||||
set sendmail = "/usr/bin/msmtp" <br>
|
||||
</code>
|
||||
<p>You also need to configure MSMTP to send your messages</p>
|
||||
<code>
|
||||
defaults<br>
|
||||
auth on<br>
|
||||
tls on<br>
|
||||
logfile ~/.msmtp.log<br>
|
||||
<br>
|
||||
account hextilde<br>
|
||||
host mail.hextilde.xyz<br>
|
||||
port 587<br>
|
||||
from username@hextilde.xyz<br>
|
||||
user username@hextilde.xyz<br>
|
||||
password password<br>
|
||||
<br>
|
||||
account default : hextilde<br>
|
||||
</code>
|
||||
<p>Now try to run <code>mutt</code> or <code>neomutt</code> to see if it works</p>
|
||||
<p>Congratulations, you setupped your mail client and now you can send and receive emails</p>
|
||||
<p>If you would like to learn more about neomutt check their <a href="https://neomutt.org/">official website</a></p>
|
||||
<?php include 'footer.php'; ?>
|
|
@ -0,0 +1,12 @@
|
|||
<?php include 'header.php'; ?>
|
||||
<h3>SSH</h3>
|
||||
<h4>~> How to create ssh key</h4>
|
||||
<p>Make sure you have <code>~/.ssh</code> directory and has correct permissions:</p>
|
||||
<code>mkdir -m 700 ~/.ssh</code>
|
||||
<p>Create your keys:</p>
|
||||
<code>ssh-keygen -t ed25519 -a 100</code>
|
||||
<p>if you press enter to accept the defaults, your public and private key will be located at <code>~/.ssh/id_ed25519.pub</code> and <code>~/.ssh/id_ed25519</code> respectively</p>
|
||||
<code>cat ~/.ssh/id_ed25519.pub</code>
|
||||
<p>copy the output of the last command and paste it in the sshkey field on the signup form</p>
|
||||
<h4>~> Also check <a href="https://tilde.wiki/wiki/SSH">page on ~wiki about SSH</a></h4>
|
||||
<?php include 'footer.php'; ?>
|
|
@ -0,0 +1,10 @@
|
|||
<?php include 'header.php'; ?>
|
||||
<h3>XMPP</h3>
|
||||
<p>XMPP is an open communication protocol designed for instant messaging, presence information, and contact list maintenance.</p>
|
||||
<p>We provide XMPP server as service for our users.</p>
|
||||
<a href='https://compliance.conversations.im/server/hextilde.xyz'><img src='https://compliance.conversations.im/badge/hextilde.xyz'></a>
|
||||
<h4>~> How to connect</h4>
|
||||
<p>To connect to our XMPP server, you just need to use <code>username@hextilde.xyz</code> as your username and your shell password as your password in your XMPP client</p>
|
||||
<p>Join hextilde MUC on xmpp - <a href="xmpp:0x~@muc.hextilde.xyz?join">0x~@muc.hextilde.xyz</a></p>
|
||||
<h4>~> Also check <a href="https://tilde.wiki/wiki/XMPP">page on ~wiki about XMPP</a></h4>
|
||||
<?php include 'footer.php'; ?>
|
Loading…
Reference in New Issue