{"repo":"guobao2333/DeepLX-Serverless","free":true,"listed":false,"github":"https://github.com/guobao2333/DeepLX-Serverless","clone":"git clone https://github.com/guobao2333/DeepLX-Serverless.git","description":"Free DeepL API for Serverless","language":"JavaScript","stars":557,"topics":["deeplx","free-api","serverless","deepl","api","i18n","javascript","nodejs","translation"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"DeepLX Serverless DeepLX Serverless是一个基于DeepL翻译网页版且无需令牌的Serverless版本，与原项目DeepLX的区别在于 利用了无服务器函数(边缘函数)请求IP不固定的特性 ，有效避免了 Error 429 （不过嘛凡事总有例外¯\\\\\\ (ツ) /¯） 3.0版本开始完全基于OwO-Network/DeepLX和DeepL网页版数据进行重写。 2.0及之前版本在LegendLeo/deeplx-serverless的基础上进行重构。 Prerequisites 准备工作 [!IMPORTANT] 有时 main 分支的合并可能不及时，或者你希望提前体验新功能，请切换到 dev 分支获取代码。 - 支持 Nodejs ≥18 或 Docker 或 Serverless Function 的服务器 - (可选) 拥有Vercel的账号 Deploy 部署 配置可编辑 .env 或者提供启动参数来修改。 Docker 容器部署 🐳预构建： 自行构建： Startup Parameters 启动参数 [!IMPORTANT] 此功能在 2.0.0 及以上版本中可用。 启动参数会覆盖 .env 有时你可能想在启动服务时添加参数。 比如添加一个 -c 参数来允许所有跨域请求： 💡使用 -h 来获取所有参数。 How To Use 如何使用 详细调用参数请查看项目Wiki。 Http Call 网络请求 Internal Call 集成使用 运行 npm test 来测试翻译接口。还可以集成到你的项目中来使用DeepL翻译服务。 简单的示例： Star History 收藏趋势 Contribute 贡献 1. 获取 dev 或 main 分支的代码 2. 提交你的更改并描述提交内容 3. 创建一个 Pull Requests 如果你是第一次贡献，那么请查看《如何为开源做贡献》 Thanks 感谢 它们是本项目的根本，没有它们就没有本项目。 1. OwO-Network/DeepLX 2. LegendLeo/deeplx-serverless 3. bropines/Deeplx-vercel Disclaimer 免责声明 请勿依赖本项目，因基于DeepL网页版数据，可能随时罢工。如果您有大量内容需要翻译，请购买DeepL官方翻译API，DeepLXS始终受到DeepL政策限制。 本项目目前处于开发状态，实现及其简陋，部分功能已编写文档不代表已实现。","default_branch":null,"files":null,"tree":[],"storefront":"/r/guobao2333","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/guobao2333/DeepLX-Serverless/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}