···11+/*
22+ * ----------------------------------------------------------------------------
33+ * "THE BEER-WARE LICENSE" (Revision 42):
44+ * tyler <hi@tyler.fun> wrote this file. As long as you retain this notice you
55+ * can do whatever you want with this stuff. If we meet some day, and you think
66+ * this stuff is worth it, you can buy me a beer in return. — Tyler
77+ * ----------------------------------------------------------------------------
88+ */
+4-18
README.md
···11# ATProto Golinks Worker
2233-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.
33+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.
4455## How it works
66···10101111## Setup
12121313-### 1. Install dependencies
1414-1515-```sh
1616-npm install
1717-```
1313+### 1. Fork this Repo
18141915### 2. Configure
2016···33293430Head to [atpr.to](https://atpr.to) to create and manage your golinks.
35313636-### 4. Deploy
3232+### 4. Deploy to Cloudflare
37333834```sh
3939-npm run deploy
3535+pnpm run deploy
4036```
41374238### 5. Add a custom domain (optional)
43394440In the Cloudflare dashboard, go to your Worker's settings and add a Custom Domain (e.g. `go.example.com`).
4545-4646-## Development
4747-4848-```sh
4949-npm run dev
5050-```
5151-5252-## License
5353-5454-MIT