cloudflare worker that uses records from atpr.to as a personal go links server
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

license and update instructions

Tyler 497b0bdf a39b5d5c

+12 -18
+8
LICENSE
··· 1 + /* 2 + * ---------------------------------------------------------------------------- 3 + * "THE BEER-WARE LICENSE" (Revision 42): 4 + * tyler <hi@tyler.fun> wrote this file. As long as you retain this notice you 5 + * can do whatever you want with this stuff. If we meet some day, and you think 6 + * this stuff is worth it, you can buy me a beer in return. — Tyler 7 + * ---------------------------------------------------------------------------- 8 + */
+4 -18
README.md
··· 1 1 # ATProto Golinks Worker 2 2 3 - A [golinks](https://golinks.io) server running on Cloudflare Workers, backed by [ATProto](https://atproto.com). Manage your links at [atpr.to](https://atpr.to), and this worker serves them as short redirects from your own domain. 3 + A "golinks"-esque server running on Cloudflare Workers, backed by [atpr.to](https://atpr.to) records. Manage your links at [atpr.to](https://atpr.to), and this worker serves them as short redirects from your own domain. 4 4 5 5 ## How it works 6 6 ··· 10 10 11 11 ## Setup 12 12 13 - ### 1. Install dependencies 14 - 15 - ```sh 16 - npm install 17 - ``` 13 + ### 1. Fork this Repo 18 14 19 15 ### 2. Configure 20 16 ··· 33 29 34 30 Head to [atpr.to](https://atpr.to) to create and manage your golinks. 35 31 36 - ### 4. Deploy 32 + ### 4. Deploy to Cloudflare 37 33 38 34 ```sh 39 - npm run deploy 35 + pnpm run deploy 40 36 ``` 41 37 42 38 ### 5. Add a custom domain (optional) 43 39 44 40 In the Cloudflare dashboard, go to your Worker's settings and add a Custom Domain (e.g. `go.example.com`). 45 - 46 - ## Development 47 - 48 - ```sh 49 - npm run dev 50 - ``` 51 - 52 - ## License 53 - 54 - MIT