commit 3ff1187fecc59e8fecfb65edc7bd1bb553f16e5b Author: g1n Date: Wed Jun 22 11:27:10 2022 +0000 Initial commit diff --git a/Inconsolata-g.otf b/Inconsolata-g.otf new file mode 100644 index 0000000..e409dd1 Binary files /dev/null and b/Inconsolata-g.otf differ diff --git a/favicon.ico b/favicon.ico new file mode 100644 index 0000000..942331e Binary files /dev/null and b/favicon.ico differ diff --git a/footer.php b/footer.php new file mode 100644 index 0000000..1f389e4 --- /dev/null +++ b/footer.php @@ -0,0 +1,5 @@ +
+

~> page sources

+ + + diff --git a/header.php b/header.php new file mode 100644 index 0000000..e620e91 --- /dev/null +++ b/header.php @@ -0,0 +1,24 @@ + + + + + + hextilde + + + +
+
+					   ____       __  _ __    __
+				          / __ \_  __/ /_(_) /___/ /__
+					 / / / / |/_/ __/ / / __  / _ \
+					/ /_/ /<  >/ /_/ / / /_/ /  __/
+					\____/_/|_|\__/_/_/\__,_/\___/
+			
+
+ +
diff --git a/index.php b/index.php new file mode 100644 index 0000000..2488ffc --- /dev/null +++ b/index.php @@ -0,0 +1,23 @@ + +

Hextilde

+

Hexadecimal Arch Tilde

+

Hello and welcome to hextilde - a shared system, where you can play with linux and host your own things

+

We are welcome for new users and suggestions

+

You can explore unix, host your webpage, gempage and gopherhole, chat with friends and do a lot more cool things here

+

This tilde is running Arch Linux

+
+

Our users

+~> $user

"; + } + } + closedir($opendirectory); +} +?> +
+

Our services

+

~> Webmail

+ diff --git a/signup/footer.php b/signup/footer.php new file mode 100644 index 0000000..2fc3510 --- /dev/null +++ b/signup/footer.php @@ -0,0 +1 @@ + diff --git a/signup/header.php b/signup/header.php new file mode 100644 index 0000000..5020292 --- /dev/null +++ b/signup/header.php @@ -0,0 +1,3 @@ + +

Hextilde signup

+
diff --git a/signup/index.php b/signup/index.php new file mode 100644 index 0000000..3b5f0f3 --- /dev/null +++ b/signup/index.php @@ -0,0 +1,39 @@ + + +

Please fill in this form in order to register

+

We will contact you when your account is ready

+

If you can't or don't want to use form, contact us dirrectly via email or IRC

+
+
+
+
+
+
+
+
+
+ +

+
+
+ +
+
+ +
+Submitted! We will contact you when your account is ready

"; + } else { + echo "

Error occured, please contact us via root@hextilde.xyz or on irc"; + } +} +?> +
+ diff --git a/style.css b/style.css new file mode 100644 index 0000000..6590598 --- /dev/null +++ b/style.css @@ -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; +} diff --git a/wiki/footer.php b/wiki/footer.php new file mode 100644 index 0000000..2fc3510 --- /dev/null +++ b/wiki/footer.php @@ -0,0 +1 @@ + diff --git a/wiki/gemini.php b/wiki/gemini.php new file mode 100644 index 0000000..9c9762a --- /dev/null +++ b/wiki/gemini.php @@ -0,0 +1,12 @@ + +

Gemini

+ +

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.

+ +

We provide gemini hosting, so you just need to create index.gmi in your ~/public_gemini

+

As soon as you created index.gmi and changed as you need, you will see your gemini capsule on gemini://hextilde.xyz/~username

+ +

Check this page to learn more about Gemtext + +

~> Also check page on ~wiki about Gemini

+ diff --git a/wiki/gopher.php b/wiki/gopher.php new file mode 100644 index 0000000..ac925c0 --- /dev/null +++ b/wiki/gopher.php @@ -0,0 +1,11 @@ + +

Gopher

+

The Gopher protocol is a communication protocol designed for distributing, searching, and retrieving documents in Internet Protocol networks.

+ +

We provide gopher hosting, so you just need to create index.gph in your ~/public_html

+

As soon as you created index.gph and changed as you need, you will see your gopherhole on gopher://hextilde.xyz/1/~username

+ +

Check man geomyidae for correct formatting

+ +

~> Also check page on ~wiki about Gopher

+ diff --git a/wiki/header.php b/wiki/header.php new file mode 100644 index 0000000..72aeaff --- /dev/null +++ b/wiki/header.php @@ -0,0 +1,3 @@ + +

Hextilde wiki

+
diff --git a/wiki/index.php b/wiki/index.php new file mode 100644 index 0000000..ba56308 --- /dev/null +++ b/wiki/index.php @@ -0,0 +1,17 @@ + +

Welcome to our wiki

+

Also check tilde.wiki

+

Articles

+", '', file($file)[1]); + $name = str_replace("", '', $name); + echo "

~> $name

"; + } + } + closedir($opendirectory); +} +?> + diff --git a/wiki/irc.php b/wiki/irc.php new file mode 100644 index 0000000..d843ccf --- /dev/null +++ b/wiki/irc.php @@ -0,0 +1,26 @@ + +

IRC

+

IRC is Internel Relay Chat, you can chat with your friends using it

+

~> How to connect

+

To connect to some irc server, you need to configure your client for it

+

We have several client already installed on hextilde

+
weechat
+

First you need to add server to your weechat, using command /server add servername server.address/port or if you want to connect to sslyou will need to change port and add -ssl in the end

+

Then connect using /connect servername

+

Example:

+

/server add hextilde irc.hextilde.xyz/6697 -ssl

+

/connect hextilde

+
irssi
+

To connect to some server using irssi, you just need to run one command - /connect server.address port (if you want to connect using ssl you need to add -tls after /connect and change port

+

Example:

+/connect -tls irc.hextilde.xyz 6697 +

~> Our channels

+

We have channels on multiple networks:

+ +

~> Also check page on ~wiki about IRC

+ diff --git a/wiki/mail.php b/wiki/mail.php new file mode 100644 index 0000000..89b3102 --- /dev/null +++ b/wiki/mail.php @@ -0,0 +1,53 @@ + +

Mail

+

Hextilde provides mail accounts for its users

+

To access it, you can use our webmail or setup your mail client

+

Mail clients setup

+
mutt/neomutt
+

Mutt is mail client that you can use via terminal. Neomutt is extended version of it. Their configs are pretty similar

+

Hextilde has both installed, so you can just run it there.

+

Default config file for mutt is in ~/.muttrc and default config file for neomutt is in ~/.config/neomuttrc (but neomutt can also use ~/.muttrc if main config is not avalible)

+

Config

+ +set hostname=mail.hextilde.xyz
+set imap_user=username
+set imap_pass="password"
+
+set folder=imap://$imap_user@mail.hextilde.xyz
+
+set spoolfile=+INBOX
+
+set imap_check_subscribed
+set header_cache=~/.cache/mutt
+set message_cachedir="~/.cache/mutt"
+unset imap_passive
+set imap_keepalive=300
+set mail_check=120
+
+set record=+Sent
+set realname='username'
+set from=username@hextilde.xyz
+set use_from=yes
+
+set sendmail = "/usr/bin/msmtp"
+
+

You also need to configure MSMTP to send your messages

+ +defaults
+auth on
+tls on
+logfile ~/.msmtp.log
+
+account hextilde
+host mail.hextilde.xyz
+port 587
+from username@hextilde.xyz
+user username@hextilde.xyz
+password password
+
+account default : hextilde
+
+

Now try to run mutt or neomutt to see if it works

+

Congratulations, you setupped your mail client and now you can send and receive emails

+

If you would like to learn more about neomutt check their official website

+ diff --git a/wiki/ssh.php b/wiki/ssh.php new file mode 100644 index 0000000..f266746 --- /dev/null +++ b/wiki/ssh.php @@ -0,0 +1,12 @@ + +

SSH

+

~> How to create ssh key

+

Make sure you have ~/.ssh directory and has correct permissions:

+mkdir -m 700 ~/.ssh +

Create your keys:

+ssh-keygen -t ed25519 -a 100 +

if you press enter to accept the defaults, your public and private key will be located at ~/.ssh/id_ed25519.pub and ~/.ssh/id_ed25519 respectively

+cat ~/.ssh/id_ed25519.pub +

copy the output of the last command and paste it in the sshkey field on the signup form

+

~> Also check page on ~wiki about SSH

+ diff --git a/wiki/xmpp.php b/wiki/xmpp.php new file mode 100644 index 0000000..be0b128 --- /dev/null +++ b/wiki/xmpp.php @@ -0,0 +1,10 @@ + +

XMPP

+

XMPP is an open communication protocol designed for instant messaging, presence information, and contact list maintenance.

+

We provide XMPP server as service for our users.

+ +

~> How to connect

+

To connect to our XMPP server, you just need to use username@hextilde.xyz as your username and your shell password as your password in your XMPP client

+

Join hextilde MUC on xmpp - 0x~@muc.hextilde.xyz

+

~> Also check page on ~wiki about XMPP

+