Skip to content

enwong/deeplx-serverless

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DeepLX Serverless — Cloudflare Workers

The simplest way to deploy deeplx-serverless.

Deploy

One-click (copies the repo to your GitHub and sets up automatic deploys):

Deploy to Cloudflare

Local CLI:

npm install
npx wrangler deploy

Configuration

All 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 429 relatively more likely than on other platforms. See the root README for details and trade-offs.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors