You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -22,47 +22,70 @@ const index = ({ activeGroups, cacheDuration, maxReq, maxReqWindow, version }: {
22
22
<linkrel="stylesheet"href="/styles.css"/>
23
23
</head>
24
24
<body>
25
-
<h1>Welcome to ReTLEctor</h1>
26
-
<p>This is a simple web app to cache and return TLEs from Celestrak, so you can avoid getting blocked by their servers when you need to get TLEs for a large number of satellites (Or you testing shit).</p>
Custom NORAD ID lookup (experimental, 3LE only): <code>/norad/[NORAD_ID]</code>
48
+
</p>
49
+
</div>
27
50
28
-
<p>
29
-
Currently supported formats are <strong>3LE</strong> under <code>/tle/[group]</code> and <strong>JSON CCSDS OMM</strong> under <code>/json/[group]</code>
Custom NORAD ID requests are supported via <code>/norad/[NORAD_ID]</code>.<br/>
34
-
Please note that this is very experimental and currently only in <strong>3LE</strong> format.
35
-
</p>
36
-
37
-
<h3>Table below represents the cached TLEs and their URIs as well as last update time:</h3>
38
-
39
-
<table>
40
-
<tr>
41
-
<th>TLE (group)</th>
42
-
<th>Last Update (TLE)</th>
43
-
<th>Last Update (JSON)</th>
44
-
</tr>
45
-
{activeGroups.map((group)=>(
46
-
<tr>
47
-
<td>{group.name}</td>
48
-
<td>{group.lastUpdateTle}</td>
49
-
<td>{group.lastUpdateJson}</td>
50
-
</tr>
51
-
))}
52
-
</table>
53
-
54
-
<p>Data is updated every ~{cacheDuration/1000/60} minutes.</p>
55
-
<p>
56
-
Current rate limit is {maxReq} requests per {maxReqWindow/1000} seconds. That might change in the future, pay attention to the headers returned by the server.
0 commit comments