The simplest way to deploy deeplx-serverless.
One-click (copies the repo to your GitHub and sets up automatic deploys):
Local CLI:
npm install
npx wrangler deployAll variables are optional. Set them with wrangler secret put <NAME> (recommended for token) or under the Worker's Settings → Variables:
| Name | Description |
|---|---|
token |
Access token(s); multiple separated by commas (,). Omit to allow public access. |
retry |
Extra attempts on DeepL 429 (exponential backoff). Default 2. |
cooldown |
Milliseconds to fast-reject after a 429 without calling DeepL. Default 30000. |
Cloudflare Workers reach DeepL through a shared egress IP, which makes
429relatively more likely than on other platforms. See the root README for details and trade-offs.