Run a giveaway from a bsky post. Choose from those who interacted with it

first

Changed files
+65
+1
.gitignore
··· 1 + .idea
+64
Index.html
··· 1 + <!DOCTYPE html> 2 + <html lang="en"> 3 + <head> 4 + <meta charset="UTF-8"> 5 + <meta name="viewport" content="width=device-width, initial-scale=1.0"> 6 + <title>Document</title> 7 + <link href="https://cdn.jsdelivr.net/npm/daisyui@5" rel="stylesheet" type="text/css"/> 8 + <script src="https://cdn.jsdelivr.net/npm/@tailwindcss/browser@4"></script> 9 + </head> 10 + <body> 11 + <div class="hero bg-base-200 min-h-screen"> 12 + <div class="hero-content flex-col "> 13 + <div class="text-center"> 14 + <h1 class="text-5xl font-bold">at://giveaways 🎉</h1> 15 + <p class="py-6"> 16 + Enter a bluesky post, how many winners and what to check by 17 + </p> 18 + <div>uses <a class="link" href="https://constellation.microcosm.blue/">constellation 19 + 🌌</a> 20 + powered 21 + by 22 + <a href="https://microcosm.blue" class="link"><span 23 + style="color: rgb(243, 150, 169);">m</span><span style="color: rgb(244, 156, 92);">i</span><span 24 + style="color: rgb(199, 176, 76);">c</span><span style="color: rgb(146, 190, 76);">r</span><span 25 + style="color: rgb(78, 198, 136);">o</span><span style="color: rgb(81, 194, 182);">c</span><span 26 + style="color: rgb(84, 190, 215);">o</span><span style="color: rgb(143, 177, 241);">s</span><span 27 + style="color: rgb(206, 157, 241);">m</span></a> 28 + </div> 29 + </div> 30 + <div class="card bg-base-100 w-full max-w-sm shrink-0 shadow-2xl"> 31 + <div class="card-body"> 32 + <fieldset class="fieldset"> 33 + <label for="post_url" class="label">Post Url</label> 34 + <input id="post_url" type="url" class="input" 35 + placeholder="https://bsky.app/profile/baileytownsend.dev/post/3lbq7o74fcc2d"/> 36 + <label for="winner_count" class="label">How many winners?</label> 37 + <input id="winner_count" type="number" class="input" value="1"/> 38 + <fieldset class="fieldset bg-base-100 border-base-300 rounded-box w-64 border p-4"> 39 + <legend class="fieldset-legend">Winning options</legend> 40 + <label class="label"> 41 + <input id="likes" type="checkbox" checked="checked" class="checkbox"/> 42 + Likes only 43 + </label> 44 + <label class="label"> 45 + <input id="reposts_only" type="checkbox" 46 + class="checkbox"/> 47 + Reposts only 48 + </label> 49 + <label class="label"> 50 + <input id="likes_and_reposts" type="checkbox" 51 + class="checkbox"/> 52 + Likes & Reposts 53 + </label> 54 + 55 + </fieldset> 56 + <button class="btn btn-neutral mt-4">I choose you!</button> 57 + </fieldset> 58 + </div> 59 + </div> 60 + </div> 61 + </div> 62 + </body> 63 + </html> 64 +