Image CDN for atproto built on cloudflare
1/**
2 * For more details on how to configure Wrangler, refer to:
3 * https://developers.cloudflare.com/workers/wrangler/configuration/
4 */
5{
6 "$schema": "node_modules/wrangler/config-schema.json",
7 "name": "imgsblue",
8 "main": "src/index.ts",
9 "compatibility_date": "2025-06-20",
10 "observability": {
11 "enabled": true
12 },
13 "kv_namespaces": [
14 {
15 "binding": "USER_CACHE",
16 "id": "d37a2063c1304c96a4d7e6e34576887d"
17 }
18 ],
19 "routes": [
20 {
21 "pattern": "imgs.blue",
22 "custom_domain": true
23 }
24 ]
25 /**
26 * Smart Placement
27 * Docs: https://developers.cloudflare.com/workers/configuration/smart-placement/#smart-placement
28 */
29 // "placement": { "mode": "smart" },
30 /**
31 * Bindings
32 * Bindings allow your Worker to interact with resources on the Cloudflare Developer Platform, including
33 * databases, object storage, AI inference, real-time communication and more.
34 * https://developers.cloudflare.com/workers/runtime-apis/bindings/
35 */
36 /**
37 * Environment Variables
38 * https://developers.cloudflare.com/workers/wrangler/configuration/#environment-variables
39 */
40 // "vars": { "MY_VARIABLE": "production_value" },
41 /**
42 * Note: Use secrets to store sensitive data.
43 * https://developers.cloudflare.com/workers/configuration/secrets/
44 */
45 /**
46 * Static Assets
47 * https://developers.cloudflare.com/workers/static-assets/binding/
48 */
49 // "assets": { "directory": "./public/", "binding": "ASSETS" },
50 /**
51 * Service Bindings (communicate between multiple Workers)
52 * https://developers.cloudflare.com/workers/wrangler/configuration/#service-bindings
53 */
54 // "services": [{ "binding": "MY_SERVICE", "service": "my-service" }]
55}