ifyour / deeplx-for-cloudflare Goto Github PK
View Code? Open in Web Editor NEW🔥 Deploy DeepLX on Cloudflare
Home Page: https://deeplx.mingming.dev/
🔥 Deploy DeepLX on Cloudflare
Home Page: https://deeplx.mingming.dev/
部署后,使用chrome插件 {沉浸式翻译}, 测试API 提示出错,是哪里有问题?
服务返回错误:429,说明请求过于频繁或超出额度限制,请稍后再试。 {"code":429,"data":null,"message":"Too many requests, please try again later."}
几个小时后,自动OK了。
按照read.md通过worker部署后打开网页提示,求解是哪里出问题了吗
我看了下方案,实质上是用 Worker 做 CDN 然后回源 Vercel, 用 Vercel 去请求 deepl 。
这样如果 Vercel 出口 IP 不够多,就会被 deepl 拦截,产生 429 错误, 看到 Twitter 上也有讨论了。
套一层 CF 没必要,直接部署在 Vercel Runtime 也可以运行的,刚刚部署了一份,已经跑起来了,感谢贡献 deeplx 包。
目前存在的问题是 Vercel Runtime 的出口 IP 是否够多,暂时没遇到 429, 等遇到了再来反馈。
How to use POST method :)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.