forked from
microcosm.blue/microcosm-rs
Constellation, Spacedust, Slingshot, UFOs: atproto crates and services for microcosm
1<!doctype html>
2<html lang="en">
3 <head>
4 <meta charset="utf8">
5 <title>{% block title %}{% endblock %} — Constellation</title>
6 <meta name="viewport" content="width=device-width, initial-scale=1" />
7 <meta name="description" content="{% block description %}Constellation is a self-hosted JSON API to an atproto-wide index of PDS record back-links. You can use it to query social interactions in real time.{% endblock %}" />
8 <style>
9 body {
10 font-family: sans-serif;
11 }
12 body:not(.home) h1 {
13 font-size: 1em;
14 }
15 h2, h3 {
16 margin-top: 2.4em;
17 }
18 h3.route {
19 font-size: 1.618em;
20 border-bottom: 2px solid #def;
21 }
22 h3.route code {
23 display: block;
24 width: max-content;
25 border-bottom-left-radius: 0;
26 border-bottom-right-radius: 0;
27 }
28 code, .code {
29 background: #def;
30 display: inline-block;
31 font-size: 1em;
32 padding: 0 0.3em;
33 border-radius: 0.2em;
34 }
35 pre {
36 box-sizing: border-box;
37 margin-bottom: 0;
38 }
39 pre.code {
40 padding: 0.5em 0.3em;
41 max-width: 100%;
42 }
43 .stat {
44 color: #f90;
45 font-size: 1.618rem;
46 font-weight: bold;
47 }
48 details {
49 margin: 2em 0 3em;
50 }
51 footer {
52 margin-top: 5em;
53 font-size: 0.8em;
54 }
55 </style>
56 </head>
57 <body class="{% block body_classes %}{% endblock %}">
58 <h1><a href="/">This</a> is a <a href="https://github.com/at-microcosm/links/tree/main/constellation">constellation 🌌</a> API server from <a href="https://github.com/at-microcosm">microcosm</a> ✨</h1>
59 {% block content %}{% endblock %}
60
61 <footer>
62 <p>To get this response as JSON, set request header <code>Accept: application/json</code>.</p>
63 <p><a href="/">Constellation API docs main</a></p>
64 </footer>
65 </body>
66</html>