https://github.com/hbjydev/cdnat
Serverless ATProto blob CDN powered by Cloudflare Workers, Images, and KV
https://github.com/hbjydev/cdnat
atproto blob cdn cloudflare serverless
Last synced: 2 months ago
JSON representation
Serverless ATProto blob CDN powered by Cloudflare Workers, Images, and KV
- Host: GitHub
- URL: https://github.com/hbjydev/cdnat
- Owner: hbjydev
- License: apache-2.0
- Created: 2025-02-06T16:17:19.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2025-02-07T16:01:46.000Z (5 months ago)
- Last Synced: 2025-03-28T08:51:15.617Z (3 months ago)
- Topics: atproto, blob, cdn, cloudflare, serverless
- Language: TypeScript
- Homepage: https://cdnat.hayden.moe
- Size: 31.3 KB
- Stars: 7
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# cdnat
Serverless ATProto blob CDN powered by Cloudflare Workers, Images, and KV.
## Presets
Three presets exist;
- `thumbnail`: 40% quality, WebP, 400px wide
- `avatar`: 80% quality, WebP, 256px wide, 256px tall
- `raw`: no transformation, format changed to `png`## Accessing
To get a transformed image, you can use the following URL protocol:
```http
GET cdnat.hayden.moe/:preset/:did/:cid
```For example:
**`thumbnail`:**
**`avatar`:**
**`raw`:**
