Add Matrix Spec Mirror page.

This commit is contained in:
Jordan Bancino 2022-07-23 19:18:17 -04:00
parent 74ec636ee1
commit ed549ec440
3 changed files with 218 additions and 1 deletions

View file

@ -562,7 +562,9 @@ currently at.
<h2 id="resources">Resources</h2> <h2 id="resources">Resources</h2>
<ul> <ul>
<li><a href="/pub">Old <b>Telodendria</b> Versions</a></li> <li><a href="/pub">Old <b>Telodendria</b> Versions</a></li>
<li><a href="/matrix-spec/v1.3">Matrix Spec v1.3 Mirror</a></li> <li><a href="/matrix-spec.html">Matrix Spec Mirror</a></li>
</ul> </ul>
<hr>
&copy; 2022 Jordan Bancino &lt;@jordan:bancino.net&gt;
</body> </body>
</html> </html>

210
site/matrix-spec.html Normal file
View file

@ -0,0 +1,210 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="author" content="Jordan Bancino">
<meta name="description" content="Matrix Specification Mirror">
<meta property="og:title" content="Matrix Specification Mirror.">
<meta property="og:type" content="website">
<meta property="og:url" content="https://telodendria.io/matrix-spec.html">
<meta property="og:description" content="Matrix Specification Mirror">
<link rel="stylesheet" href="style.css">
<title>Matrix Specification Mirror</title>
</head>
<body>
<h1>Matrix Specification Mirror</h1>
<p>
The Matrix specification is mirrored here for convenience and
security. I always download everything I can, and with a project
this long-running and important, having a full copy of the Matrix
specification is an absolute must for me. So, here is a complete,
offline copy of the Matrix specification in PDF format. You can
download any or all of these PDFs at will, or just access them
from here.
</p>
<h2>v1.3</h2>
<p>
The complete v1.3 specification was printed from
<a href="https://spec.matrix.org">spec.matrix.org</a> as a batch
of PDF documents. Unfortunately, these are dumb PDFs; you can't
copy text out of them, and the page breaks are horrible because
these are just <kbd>Ctrl</kbd> + <kbd>P</kbd>-ed out of Chrome.
In the future, I might try to get some higher quality PDFs, but
these will get the job done for now.
</p>
<table>
<tr>
<th>Specification Part</th>
<th>PDF</th>
<th>Pages</th>
<th>Size</th>
</tr>
<tr>
<td>Client-Server API</td>
<td><a href="matrix-spec/v1.3/client-server-api.pdf">
client-server-api.pdf</a></td>
<td>548</td>
<td>125 MB</td>
</tr>
<tr>
<td>Server-Server API</td>
<td><a href="matrix-spec/v1.3/server-server-api.pdf">
server-server-api.pdf</a></td>
<td>109</td>
<td>24.9 MB</td>
</tr>
<tr>
<td>Application Service API</td>
<td><a href="matrix-spec/v1.3/application-service-api.pdf">
application-service-api.pdf</a></td>
<td>28</td>
<td>5.9 MB</td>
</tr>
<tr>
<td>Identity Service API</td>
<td><a href="matrix-spec/v1.3/identity-service-api.pdf">
identity-service-api.pdf</a></td>
<td>44</td>
<td>9.2 MB</td>
</tr>
<tr>
<td>Push Gateway API</td>
<td><a href="matrix-spec/v1.3/push-gateway-api.pdf">
push-gateway-api.pdf</a></td>
<td>5</td>
<td>993 KB</td>
</tr>
<tr>
<td>Room Versions</td>
<td><a href="matrix-spec/v1.3/room-versions.pdf">
room-versions.pdf</a></td>
<td>2</td>
<td>466 KB</td>
</tr>
<tr>
<td>Appendices</td>
<td><a href="matrix-spec/v1.3/appendices.pdf">
appendices.pdf</a></td>
<td>19</td>
<td>6.2 MB</td>
</tr>
</table>
<p>
The room versions are also available in PDF:
</p>
<table>
<tr>
<th>Room Version</th>
<th>PDF</th>
<th>Pages</th>
<th>Size</th>
</tr>
<tr>
<td>1</td>
<td><a href="matrix-spec/v1.3/room-version-1.pdf">
room-version-1.pdf</a></td>
<td>8</td>
<td>2.2 MB</td>
</tr>
<tr>
<td>2</td>
<td><a href="matrix-spec/v1.3/room-version-2.pdf">
room-version-2.pdf</a></td>
<td>10</td>
<td>2.9 MB</td>
</tr>
<tr>
<td>3</td>
<td><a href="matrix-spec/v1.3/room-version-3.pdf">
room-version-3.pdf</a></td>
<td>10</td>
<td>3.2 MB</td>
</tr>
<tr>
<td>4</td>
<td><a href="matrix-spec/v1.3/room-version-4.pdf">
room-version-4.pdf</a></td>
<td>10</td>
<td>3.1 MB</td>
</tr>
<tr>
<td>5</td>
<td><a href="matrix-spec/v1.3/room-version-5.pdf">
room-version-5.pdf</a></td>
<td>10</td>
<td>3.1 MB</td>
</tr>
<tr>
<td>6</td>
<td><a href="matrix-spec/v1.3/room-version-6.pdf">
room-version-6.pdf</a></td>
<td>10</td>
<td>3.1 MB</td>
</tr>
<tr>
<td>7</td>
<td><a href="matrix-spec/v1.3/room-version-7.pdf">
room-version-7.pdf</a></td>
<td>10</td>
<td>3.1 MB</td>
</tr>
<tr>
<td>8</td>
<td><a href="matrix-spec/v1.3/room-version-8.pdf">
room-version-8.pdf</a></td>
<td>11</td>
<td>3.3 MB</td>
</tr>
<tr>
<td>9</td>
<td><a href="matrix-spec/v1.3/room-version-9.pdf">
room-version-9.pdf</a></td>
<td>11</td>
<td>3.3 MB</td>
</tr>
<tr>
<td>10</td>
<td><a href="matrix-spec/v1.3/room-version-10.pdf">
room-version-10.pdf</a></td>
<td>10</td>
<td>3.2 MB</td>
</tr>
</table>
<p>
If you'd like to download <i>all</i> the PDF documents at once,
either for your own reference, or for automation or something,
you can:
</p>
<table>
<tr>
<th>Archive</th>
<th>Download</th>
<th>Size</th>
</tr>
<tr>
<td>All v1.3 spec PDFs</td>
<td><a href="matrix-spec/matrix-spec-v1.3.tar.gz">
matrix-spec-v1.3.tar.gz</a></td>
<td>171 MB</td>
</tr>
</table>
<p>
All the files hosted here are provided as is. If you spot an issue
with them, feel free to reach out, but note that I don't provide
checksums or signatures or anything like that. While I think these
documents will be crucial if something ever happens to my internet
access or the Matrix website, I don't think I need to checksum and
sign these documents.
</p>
<hr>
<p>
This page is a part of the
<a href="https://telodendria.io">Telodendria Project</a>.
</p>
</body>
</html>

View file

@ -62,6 +62,11 @@ h1, h4, h5, h6 {
border-bottom: 1px dashed var(--color-table-border); border-bottom: 1px dashed var(--color-table-border);
} }
hr {
border: 0;
border-bottom: 1px dashed var(--color-table-border);
}
h4, h5, h6 { h4, h5, h6 {
width: fit-content; width: fit-content;
} }