84 lines
2.2 KiB
HTML
84 lines
2.2 KiB
HTML
<!DOCTYPE html>
|
|
<head>
|
|
<meta name=viewport content="width=device-width height=device-height">
|
|
<title>BaseBand download server</title>
|
|
<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>
|
|
</head>
|
|
<body>
|
|
<h1>BaseBand downloads</h1>
|
|
|
|
This website serves the version information and downloads of BaseBand.
|
|
|
|
<h2>1.12.2</h2>
|
|
|
|
<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>
|
|
<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>
|
|
</ul>
|
|
|
|
<h3>Version information</h3>
|
|
<a href="/1.12.2/branches">/1.12.2/branches</a>
|
|
</div>
|
|
|
|
<h2>Ednieva</h2>
|
|
|
|
<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>
|
|
<li><a href="/ednieva/download/loader"> /ednieva/download/loader</a> <b><a href="/ednieva/download/loader.jar">[jar]</a></b></li>
|
|
</ul>
|
|
|
|
<h3>Version information</h3>
|
|
<a href="/ednieva/branches">/ednieva/branches</a>
|
|
</div>
|
|
|
|
<h2>Events</h2>
|
|
|
|
<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>
|
|
|
|
</body>
|