Coder Social home page Coder Social logo

deeplx-for-cloudflare's Introduction

Hi there 👋

ifyour's github stats

  • 🌱 I am learning full-stack development
  • 💬 Ask me about Typescript/React/Hono.js/Node.js
  • 📫 How to reach me: @JohnWmm
  • 😄 Motto: Stay hungry, Stay foolish
  • ⚡ Fun fact: Big Fan of the emoji

📝 Latest Blog Posts

📊 Weekly development breakdown

No activity tracked

deeplx-for-cloudflare's People

Contributors

ifyour avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

deeplx-for-cloudflare's Issues

服务返回错误:403, 说明暂时没有权限访问该服务。

部署后,使用chrome插件 {沉浸式翻译}, 测试API 提示出错,是哪里有问题?

服务返回错误:429,说明请求过于频繁或超出额度限制,请稍后再试。 {"code":429,"data":null,"message":"Too many requests, please try again later."}

几个小时后,自动OK了。

方案可能存在缺陷,不是真的用 Worker 去请求 deepl 的

我看了下方案,实质上是用 Worker 做 CDN 然后回源 Vercel, 用 Vercel 去请求 deepl 。

这样如果 Vercel 出口 IP 不够多,就会被 deepl 拦截,产生 429 错误, 看到 Twitter 上也有讨论了。

套一层 CF 没必要,直接部署在 Vercel Runtime 也可以运行的,刚刚部署了一份,已经跑起来了,感谢贡献 deeplx 包。

目前存在的问题是 Vercel Runtime 的出口 IP 是否够多,暂时没遇到 429, 等遇到了再来反馈。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.