This commit is contained in:
2025-06-30 20:03:43 +03:00
commit 03068ef1c6
3 changed files with 188 additions and 0 deletions

1
README.md Normal file
View File

@@ -0,0 +1 @@
# My blank xmpp page

96
index.html Normal file
View File

@@ -0,0 +1,96 @@
<!DOCTYPE html>
<html lang="uk">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="icon" type="image/png" href="/favicon.png">
<title>Український XMPP сервер</title>
<meta property="og:type" content="website">
<meta property="og:url" content="https://forsen-cock.dedyn.io/">
<meta property="og:title" content="Український XMPP сервер">
<meta property="og:description" content="Сервер XMPP для децентралізованого спілкування">
<script>location.protocol === 'http:' && location.replace(location.href.replace(/^http:/, 'https:'))</script>
<style>
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
font-size: 14px;
line-height: 1.5;
padding: 0 10px;
}
#container {
margin: 0 auto;
}
code, .mono {
font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;
}
code {
color: #d63312;
}
#title {
text-align: center;
margin: 20px auto;
}
.section {
margin: 30px auto;
} .section:last-of-type {
margin-bottom: 0;
}
@media (min-width: 992px) {
#container { width: 750px; }
}
@media (prefers-color-scheme: dark) {
body {
color: #c9d1d9;
background: #0d1117;
}
body a {
color: #58a6ff;
}
}
</style>
</head>
<body>
<div id="container">
<div id="title">
<h1>forsen-cock.dedyn.io</h1>
</div>
<div class="section">
<h2>Інформація про сервер</h2>
<ul>
<li><strong>Ім'я хоста</strong>: <code>forsen-cock.dedyn.io</code></li>
<li><strong>Порт</strong>: <code>5223</code> <small>(XMPP over TLS)</small></li>
<li><strong>Багатокористувацький чат</strong>: <code>chat.forsen-cock.dedyn.io</code></li>
<li><strong>Адміністратор</strong>: <code>elleoma@forsen-cock.dedyn.io</code></li>
<li>Працює на <a href="https://prosody.im">Prosody</a></li>
</ul>
</div>
<div class="section">
<h2>Реєстрація</h2>
<p>Внутрішня реєстрація (реєстрація в клієнті) вимкнена через спам, <a href="https://forsen-cock.dedyn.io/register">зареєструйтеся тут</a></p>
</div>
<div class="section">
<h2>Клієнти</h2>
<p>Підійдуть будь-які клієнти XMPP, ось декілька пропозицій:</p>
<ul>
<li><strong>Android</strong>: <a href="https://f-droid.org/packages/eu.siacs.conversations/">Conversations</a></li>
<li><strong>iPhone/iPad</strong>: <a href="https://siskin.im/">Siskin IM</a> або <a href="https://monal-im.org/">Monal IM</a></li>
<li><strong>Windows</strong>: <a href="https://gajim.org/download/?lang=uk#windows">Gajim</a> або <a href="https://pidgin.im/install/#windows">Pidgin</a></li>
<li><strong>macOS</strong>: <a href="https://beagle.im/">Beagle IM</a> або <a href="https://adium.im/">Adium</a></li>
<li><strong>Linux</strong>: <a href="https://gajim.org/download/?lang=uk#linux">Gajim</a> або <a href="https://pidgin.im/install/#linux">Pidgin</a>
<li><strong>Web</strong>: <a href="https://forsen-cock.dedyn.io/conversejs">conversejs</a></li>
<li>...більше можна знайти <a href="https://xmpp.org/software/clients.html">тут</a></li>
</ul>
</div>
<div id="footer">
<p>
<a href="https://compliance.conversations.im/server/forsen-cock.dedyn.io"><img src="https://compliance.conversations.im/badge/forsen-cock.dedyn.io" alt="xmpp compliance"></a>
</p>
</div>
</div>
</body>
</html>

91
register Normal file
View File

@@ -0,0 +1,91 @@
<!DOCTYPE html>
<html><head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta charset="utf-8">
<link rel="icon" type="image/png" href="https://forsen-cock.dedyn.io/favicon.png">
<link href="register_files/bootstrap.min.css" rel="stylesheet" integrity="sha256-7s5uDGW3AHqw6xtJmNNtr+OBRJUlgkNJEo78P4b0yRw= sha512-nNo+yCHEyn0smMxSswnf/OnX6/KwJuZTlNZBjauKhTK0c+zT+q5JOCx0UFhXQ6rJR9jg6Es8gPuD2uZcYDLqSw==" crossorigin="anonymous">
<script src="register_files/jquery-1.12.4.min.js" integrity="sha256-ZosEbRLbNQzLpnKIkEdrPv7lOy9C27hHQ+Xp8a4MxAQ=" crossorigin="anonymous"></script>
<script src="register_files/bootstrap.min.js" integrity="sha256-KXn5puMvxCw+dAYznun+drMdG1IFl3agK0p/pqT9KAo= sha512-2e8qq0ETcfWRI4HJBzQiA3UoyFk6tbNyG+qSaIBZLyW9Xf3sWZHN/lxe9fTh1U45DpPf07yj94KsUHHWe4Yk1A==" crossorigin="anonymous"></script>
<title>Реєстрація облікового запису XMPP</title>
</head>
<body>
<script type="text/javascript" language="JavaScript">
<!-- Begin
function checkPw(form) {
pw = document.getElementById("pw").value;
pw2 = document.getElementById("pw2").value;
if (pw != pw2) {
alert ("\nНеправильний пароль!\nСпробуйте ще раз!")
document.getElementById("pw").value = "";
document.getElementById("pw2").value = "";
document.getElementById("pw").focus();
return false;
}
else
// alles OK
// bei Bedarf Aktion eintragen
return true;
}
// End -->
</script>
<!-- h1 class="text-center">forsen-cock.dedyn.io XMPP Account Registration</h1 -->
<div class="container">
<div id="loginbox" style="margin-top:50px;" class="mainbox col-md-6 col-md-offset-3 col-sm-8 col-sm-offset-2">
<div class="panel panel-info">
<div class="panel-heading">
<div class="panel-title">Реєстрація</div>
</div>
<div style="padding-top:30px" class="panel-body">
<h3 class="text-center text-danger"></h3>
<form action="/register" method="post" class="form-horizontal" role="form" onsubmit="return checkPw(this)">
<div style="margin-bottom: 25px" class="input-group">
<span class="input-group-addon"><i class="glyphicon glyphicon-user"></i></span>
<input type="text" class="form-control" name="username" placeholder="Ім'я користувача">
<span class="input-group-addon">@forsen-cock.dedyn.io</span>
</div>
<div style="margin-bottom: 25px" class="input-group">
<span class="input-group-addon"><i class="glyphicon glyphicon-lock"></i></span>
<input type="password" class="form-control" name="password" placeholder="Пароль" id="pw">
</div>
<div style="margin-bottom: 25px" class="input-group">
<span class="input-group-addon"><i class="glyphicon glyphicon-lock"></i></span>
<input type="password" class="form-control" name="confirm_password" placeholder="Підтвердження паролю" id="pw2">
</div>
<div style="margin-bottom: 25px" class="input-group">
<script src="register_files/api.js" async="" defer="defer"></script>
<div class="h-captcha" data-sitekey="437f699f-2a8e-40a3-a54a-17d4144cab5d"><iframe src="register_files/hcaptcha.html" tabindex="0" frameborder="0" scrolling="no" title="Widget containing checkbox for hCaptcha security challenge" data-hcaptcha-widget-id="04s6xrz12h1h" data-hcaptcha-response="" style="pointer-events: auto; background-color: rgba(255, 255, 255, 0); width: 303px; height: 78px; overflow: hidden;"></iframe><textarea id="g-recaptcha-response-04s6xrz12h1h" name="g-recaptcha-response" style="display: none;"></textarea><textarea id="h-captcha-response-04s6xrz12h1h" name="h-captcha-response" style="display: none;"></textarea></div>
</div>
<div style="margin-top:10px" class="form-group">
<div class="col-sm-12 controls">
<input type="submit" value="Зареєструватися" class="btn btn-success">
</div>
</div>
</form>
</div>
</div>
</div>
</div>
<div style="background-color: rgb(255, 255, 255); border: 1px solid rgb(215, 215, 215); box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 4px; border-radius: 4px; left: auto; top: -10000px; z-index: -2147483648; position: absolute; pointer-events: auto; transition: opacity 0.15s ease-out; opacity: 0; visibility: hidden;" aria-hidden="true"><div style="position: relative; z-index: 1;"><iframe src="register_files/hcaptcha_002.html" frameborder="0" scrolling="no" title="Main content of the hCaptcha challenge" style="border: 0px; z-index: 2000000000; position: relative;"></iframe></div><div style="width: 100%; height: 100%; position: fixed; pointer-events: none; top: 0px; left: 0px; z-index: 0; background-color: rgb(255, 255, 255); opacity: 0.05;"></div><div style="border-width: 11px; position: absolute; pointer-events: none; margin-top: -11px; z-index: 1; right: 100%;"><div style="border-width: 10px; border-style: solid; border-color: transparent rgb(255, 255, 255) transparent transparent; position: relative; top: 10px; z-index: 1;"></div><div style="border-width: 11px; border-style: solid; border-color: transparent rgb(215, 215, 215) transparent transparent; position: relative; top: -11px; z-index: 0;"></div></div></div></body></html>