Skip to content

ifyour/deeplx-for-cloudflare

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deploy DeepLX on Cloudflare.

Usage

curl --location 'https://deeplx.mingming.dev/translate' \
--header 'Content-Type: application/json' \
--data '{
    "text": "免费,无限量翻译 API",
    "source_lang": "zh",
    "target_lang": "en"
}'

Development

npm i && npm run dev

Deploy

npm run deploy
Another way to deploy

Open the Cloudflare dashboard, select Workers & Pages -> Create Application -> Create Worker -> Deploy -> Edit Code, and paste /dist/index.js code, then click Save and Deploy.

About

🔥 Deploy DeepLX on Cloudflare

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published