A URL shortener service that uses ATProto to allow self hosting and ensuring the user owns their data
1<!doctype html>
2<html lang="en">
3 <head>
4 <title>AT-Shorter</title>
5 <link rel="icon" type="image/x-icon" href="/public/favicon.ico" />
6 <meta charset="UTF-8" />
7 <meta name="viewport" content="width=device-width, initial-scale=1.0" />
8 <link href="/public/app.css" rel="stylesheet" />
9 </head>
10 <body>
11 <div id="header">
12 <h1>AT-Shorter</h1>
13 <p>Create you own short URLs</p>
14 </div>
15 <div class="container">
16 <form action="/login" method="post" class="login-form">
17 <input
18 type="text"
19 name="handle"
20 placeholder="Enter your handle (eg alice.bsky.social)"
21 required
22 />
23 <button type="submit">Log in</button>
24 </form>
25 {{if .Error}}
26 <div>{{ .Error }}</div>
27 {{else}}
28 <div>
29 <br />
30 </div>
31 {{end}}
32 <div class="signup-cta">
33 Don't have an account on the Atmosphere?
34 <a href="https://bsky.app">Sign up for Bluesky</a> to create one
35 now!
36 </div>
37 </div>
38 </body>
39</html>