/** * For more details on how to configure Wrangler, refer to: * https://developers.cloudflare.com/workers/wrangler/configuration/ */ { "$schema": "node_modules/wrangler/config-schema.json", "name": "rss-processor", "main": "src/index.ts", "compatibility_date": "2025-09-27", "observability": { "enabled": true }, "workers_dev": false, /** * Smart Placement * Docs: https://developers.cloudflare.com/workers/configuration/smart-placement/#smart-placement */ "placement": { "mode": "smart" }, /** * Bindings * Bindings allow your Worker to interact with resources on the Cloudflare Developer Platform, including * databases, object storage, AI inference, real-time communication and more. * https://developers.cloudflare.com/workers/runtime-apis/bindings/ */ "r2_buckets": [ { "binding": "RSS_BUCKET", "bucket_name": "rss" } ], /** * Environment Variables * https://developers.cloudflare.com/workers/wrangler/configuration/#environment-variables */ "vars": { "PUSHOVER_URL": "https://api.pushover.net/1/messages.json", "PUSHOVER_TIMEOUT": 1000, "PRETTY_XML": false, "FEED_MAX_ENTRIES": 20, "FEED_MAX_SIZE_BYTES": 1000000, "OPML_FILE": "feeds.opml" } /** * Note: Use secrets to store sensitive data. * https://developers.cloudflare.com/workers/configuration/secrets/ */ /** * Static Assets * https://developers.cloudflare.com/workers/static-assets/binding/ */ // "assets": { "directory": "./public/", "binding": "ASSETS" } /** * Service Bindings (communicate between multiple Workers) * https://developers.cloudflare.com/workers/wrangler/configuration/#service-bindings */ // "services": [{ "binding": "MY_SERVICE", "service": "my-service" }] }