SPLServer/index.html

85 lines
2.2 KiB
HTML
Raw Normal View History

2024-10-14 02:53:26 +02:00
<!DOCTYPE html>
<head>
<meta name=viewport content="width=device-width height=device-height">
<title>BaseBand download server</title>
2024-10-14 05:42:59 +02:00
<style>
th, td {
border: 1px dotted red;
margin: 0;
padding: 0.3em;
}
table {
border-collapse: collapse;
margin: 1em;
}
a, a:visited {
color: blue;
}
a:active {
color: violet;
}
body {
margin: auto;
width: 90%;
max-width: 700px;
}
html {
padding-bottom: 20%;
}
div {
margin: 0 1em 0 1em;
}
</style>
2024-10-14 02:53:26 +02:00
</head>
<body>
<h1>BaseBand downloads</h1>
This website serves the version information and downloads of BaseBand.
<h2>1.12.2</h2>
2024-10-14 05:42:59 +02:00
<div>
<h3>Artifacts</h3>
<ul>
<li><a href="/1.12.2/download/client/release">/1.12.2/download/client/release</a></li>
<li><a href="/1.12.2/download/client/main"> /1.12.2/download/client/main</a></li>
2024-10-14 05:52:03 +02:00
<li><a href="/1.12.2/download/loader"> /1.12.2/download/loader</a> <b><a href="/1.12.2/download/loader.jar">[jar]</a></b></li>
2024-10-14 05:42:59 +02:00
</ul>
2024-10-14 02:53:26 +02:00
2024-10-14 05:42:59 +02:00
<h3>Version information</h3>
<a href="/1.12.2/branches">/1.12.2/branches</a>
</div>
2024-10-14 02:53:26 +02:00
<h2>Ednieva</h2>
2024-10-14 05:42:59 +02:00
<div>
<h3>Artifacts</h3>
<ul>
<li><a href="/ednieva/download/client/release">/ednieva/download/client/release</a></li>
<li><a href="/ednieva/download/client/main"> /ednieva/download/client/main</a></li>
2024-10-14 05:52:03 +02:00
<li><a href="/ednieva/download/loader"> /ednieva/download/loader</a> <b><a href="/ednieva/download/loader.jar">[jar]</a></b></li>
2024-10-14 05:42:59 +02:00
</ul>
2024-10-14 02:53:26 +02:00
2024-10-14 05:42:59 +02:00
<h3>Version information</h3>
<a href="/ednieva/branches">/ednieva/branches</a>
</div>
2024-10-14 02:53:26 +02:00
2024-10-14 05:30:06 +02:00
<h2>Events</h2>
2024-10-14 05:42:59 +02:00
<div>
The server lets you listen for some events, like refreshes (potential version updates).<br>
<br>
<a href="/listen">/listen</a><br>
<br>
Sends JSON objects separated by newlines. Your .readln() of choice will work to get the next event.
Each event contains `event-kind` (string) and `data` (json object).<br>
<br>
<table>
<tr><th>event-kind</th><th>data</th>
<tr><td>init</td><td>-</td></tr>
<tr><td>refresh:[version]</td><td>Same as /[version]/branches</td></tr>
</ul>
</div>
2024-10-14 05:30:06 +02:00
2024-10-14 02:53:26 +02:00
</body>