218 lines
11 KiB
PHP
218 lines
11 KiB
PHP
<?php
|
|
$meta = [];
|
|
$content = '';
|
|
|
|
//Router
|
|
|
|
|
|
//Return as ajax or as page?
|
|
|
|
|
|
?>
|
|
|
|
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>Subcon.town - Happy Dreams!</title>
|
|
|
|
<?php foreach($meta as $name => $content) { ?>
|
|
<meta name="<?php echo $name; ?>" content="<?php echo $content; ?>">
|
|
<?php } ?>
|
|
|
|
<link rel="shortcut icon" type="image/jpg" href="assets/subcon/favicon_16.png" sizes="16x16"/>
|
|
<link rel="shortcut icon" type="image/jpg" href="assets/subcon/favicon_32.png" sizes="32x32"/>
|
|
<link href="style.css?v=2.0.0" rel="stylesheet"/>
|
|
|
|
<script>
|
|
function showAddresses() {
|
|
let a = 'fristi';
|
|
let b = 'subcon.town';
|
|
let c = 'akkos.fritu.re';
|
|
|
|
document.querySelectorAll('.em').forEach( element => {
|
|
element.innerHTML = a + '@' + b;
|
|
element.setAttribute('href', 'mailto:' + a + '@' + b);
|
|
});
|
|
|
|
document.querySelectorAll('.fv').forEach( element => {
|
|
element.innerHTML = a + '@' + c;
|
|
});
|
|
}
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<div class="container">
|
|
<header>
|
|
<img src="assets/subcon/logo_128.png" alt="Subcon Town" />
|
|
<ul>
|
|
<li><a class="menu-item" href="#home">Home</a></li>
|
|
<li><a class="menu-item" href="#news">News</a></li>
|
|
<li><a class="menu-item" href="#services">Services</a></li>
|
|
<li><a class="menu-item" href="#faq">FAQ</a></li>
|
|
</ul>
|
|
</header>
|
|
|
|
<main>
|
|
<div class="inner-main">
|
|
<?php echo $content; ?>
|
|
<div class="content" id="home">
|
|
<h1>Hello world!</h1>
|
|
<p>
|
|
Welcome to Subcon Town! We are a small tilde community, hosted for friends and family.
|
|
We offer SSH access, hosting of websites, gopher holes and gemini pods, alongside
|
|
other services like cloud services, git and fossil hosting and an activitypub server.
|
|
</p>
|
|
<p>
|
|
Tilde communities are pubnixes, <i>public access unix systems</i>. We took our inspiration
|
|
from older such servers like <a target="_blank" href="http://tilde.club">tilde.club</a>
|
|
and the tildes from <a target="_blank" href="https://tildeverse.org">tildeverse.org</a>.
|
|
</p>
|
|
<p>
|
|
Users may find out more about this system by visiting the <a target="_blank" href="https://library.subcon.town/">wiki</a>.
|
|
Keep in mind that the wiki is still a work in progress.
|
|
</p>
|
|
</div>
|
|
<hr />
|
|
<div class="content" id="news">
|
|
<h1>News</h1>
|
|
<h2>Januari 2023: Plans for the year</h2>
|
|
<p>
|
|
Happy new year! Subcon has come a long way since the change of the year. First off: we have moved to
|
|
new hardware! The server is now powered by an Odroid H3 board. With that, a number of other changes
|
|
have been made as well.
|
|
</p>
|
|
<p>
|
|
Storage on the server has been totally reworked; the old storage media have been replaced with a 2TB
|
|
NVMe drive that will, for one, house the user home directories, and a 4TB SATA SSD that will house all
|
|
variable data; user repositories, websites, databases, the lot. All of this has been set up with
|
|
convenient LVM partitions that can be easily resized if more space is required in the future.
|
|
</p>
|
|
<p>
|
|
Many services have been updated. The gitea server has been replaced with a new gogs server, now
|
|
hosted at <a href="https://factory.subcon.town">factory.subcon.town</a>. The old snikket server
|
|
has also been replaced with a new prosody setup, offering most of the same xmpp services at jab.subcon.town.
|
|
Note that old snikket accounts are thus gone. The fedora installation has also been updated to fedora
|
|
37.
|
|
</p>
|
|
<p>
|
|
The most notable change however will be the decrease in processing power. While we still have about
|
|
75% of the processing power, the upside is that the system as a whole is seriously more power efficient.
|
|
We are now running at a fraction of the power the old server needed, going from 60Wh on average to
|
|
a mere 6Wh. Serious power savings like that will lower upkeep cost, which I can in turn invest in
|
|
improving other things, such as my god awful internet bandwidth.
|
|
</p>
|
|
<p>
|
|
Remember that even with all these changes done, the server is, and will likely forever, be a work
|
|
in progress. There are still some rough edges needing work, further configuring of services, and
|
|
for the current while, a lot of work writing wiki pages at <a href="https://library.subcon.town">
|
|
library.subcon.town</a>.
|
|
</p>
|
|
</div>
|
|
<hr />
|
|
<div class="content" id="services">
|
|
<h1>Services</h1>
|
|
|
|
<p>
|
|
We provide the following services for our members:
|
|
</p>
|
|
|
|
<table>
|
|
<tbody>
|
|
<tr> <td>Akkoma:</td> <td><a href="https://akkos.fritu.re">akkos.fritu.re</a></td> </tr>
|
|
<tr> <td>Doku wiki:</td> <td><a href="https://library.subcon.town">library.subcon.town</a></td> </tr>
|
|
<tr> <td>Funkwhale:</td> <td><a href="https://odeon.subcon.town">odeon.subcon.town</a></td> </tr>
|
|
<tr> <td>Gogs:</td> <td><a href="https://factory.subcon.town">factory.subcon.town</a></td> </tr>
|
|
<tr> <td>Fossil SCM:</td> <td><a href="https://museum.subcon.town">museum.subcon.town</a></td> </tr>
|
|
<tr> <td>Nextcloud:</td> <td><a href="https://cloud.subcon.town">cloud.subcon.town</a></td> </tr>
|
|
</tbody>
|
|
</table>
|
|
|
|
<p>
|
|
We also host member websites, gopher holes and gemini pods. User websites are listed below,
|
|
for gopher holes and gemini pods, visit <a href="gopher://subcon.town">gopher://subcon.town</a> and
|
|
<a href="gemini://subcon.town">gemini://subcon.town</a> respectively using a compatible browser.
|
|
</p>
|
|
|
|
<table>
|
|
<tr>
|
|
<td width="50%"><a href="~fristi">fristi</a></td>
|
|
<td width="50%"></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<hr />
|
|
<div class="content" id="faq">
|
|
<h1>FAQ</h1>
|
|
<p>
|
|
<strong>Q</strong>: <em>You're running on the Odroid H3 now, right?</em>
|
|
<br/>
|
|
<strong>A</strong>: Yes, all Subcon services have been moved to the new hardware
|
|
and are fully functional.
|
|
</p>
|
|
<p>
|
|
<strong>Q</strong>: <em>Is Subcon Town open for new users?</em>
|
|
<br/>
|
|
<strong>A</strong>: We're still doing some work on some services, but in general
|
|
everything is ready. Note that Subcon Town is an invite-only community; you may certainly
|
|
ask for an invite, but generally we will only accept people that are known to us already.
|
|
</p>
|
|
<p>
|
|
<strong>Q</strong>: <em>Can I get an account on one of your services?</em>
|
|
<br/>
|
|
<strong>A</strong>: Only as an existing member. If you're already a member, ask
|
|
<a href="https://akkos.fritu.re/fristi">@fristi</a> for an account.
|
|
</p>
|
|
<p>
|
|
<strong>Q</strong>: <em>Is that the Yoshi's Island font?</em>
|
|
<br/>
|
|
<strong>A</strong>: Yes. It was good game.
|
|
</p>
|
|
</div>
|
|
<hr />
|
|
<div class="content" id="copyright">
|
|
<h1>Copyright notice</h1>
|
|
<p>
|
|
The "Subcon Town" branding, including logos and icons used on this website, are
|
|
licensed as CC BY-NC-ND. You may share and redistribute these works, but please do not edit them or use them for
|
|
commercial purposes. For more details, read the <a target="_blank" href="./assets/subcon/LICENSE">license</a>.
|
|
</p>
|
|
<p>
|
|
The source code of this website is licensed under the Blue Oak Model License 1.0.0.
|
|
You may use this source code as you wish.
|
|
For more details, read the <a target="_blank" href="./LICENSE">license</a>.
|
|
The source code of this website may be viewed <a target="_blank" href="https://factory.subcon.town/fristi/subcon.town">here</a>.
|
|
</p>
|
|
|
|
<h2>Third party works</h2>
|
|
<p>
|
|
The fonts and background image used on this website are not owned by Subcon Town. Subcon Town does
|
|
not claim any rights to these original works unless otherwise specified by their respective licensing.
|
|
</p>
|
|
|
|
<h2>Complaints</h2>
|
|
<p>
|
|
If you feel any material is incorrectly used on this website, or otherwise infringes on your rights,
|
|
feel free to file a complaint with <a class="em" href="#">fristi「AT」subcon.town</a>. Please allow up
|
|
to 48 hours for a response.
|
|
</p>
|
|
|
|
</div>
|
|
</div>
|
|
</main>
|
|
|
|
<footer>
|
|
<div style="text-align: center;">
|
|
© 2021-2023 Subcon Town.
|
|
<a class="menu-item" href="#copyright">License</a>
|
|
</div>
|
|
</footer>
|
|
</div>
|
|
|
|
<!-- load email addresses -->
|
|
<script>
|
|
showAddresses();
|
|
</script>
|
|
|
|
</body>
|
|
</html>
|