{"id":27203231,"url":"https://github.com/xjasonlyu/vercel-deeplx","last_synced_at":"2025-06-27T13:39:23.027Z","repository":{"id":287076969,"uuid":"962744429","full_name":"xjasonlyu/vercel-deeplx","owner":"xjasonlyu","description":"Serverless DeepLX on Vercel (Golang)","archived":false,"fork":false,"pushed_at":"2025-04-09T20:20:02.000Z","size":20,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-11T16:56:30.271Z","etag":null,"topics":["deeplx","golang","serverless","vercel"],"latest_commit_sha":null,"homepage":"https://deeplx.owo.network/","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xjasonlyu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-04-08T15:55:57.000Z","updated_at":"2025-04-11T07:11:16.000Z","dependencies_parsed_at":"2025-04-09T21:28:53.856Z","dependency_job_id":"a2579e4b-cfc8-4b4b-91cf-86719e95454a","html_url":"https://github.com/xjasonlyu/vercel-deeplx","commit_stats":null,"previous_names":["xjasonlyu/vercel-deeplx"],"tags_count":0,"template":false,"template_full_name":"xjasonlyu/vercel-faas","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xjasonlyu%2Fvercel-deeplx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xjasonlyu%2Fvercel-deeplx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xjasonlyu%2Fvercel-deeplx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xjasonlyu%2Fvercel-deeplx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xjasonlyu","download_url":"https://codeload.github.com/xjasonlyu/vercel-deeplx/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248610408,"owners_count":21132920,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["deeplx","golang","serverless","vercel"],"created_at":"2025-04-09T22:29:11.885Z","updated_at":"2025-04-12T17:54:15.446Z","avatar_url":"https://github.com/xjasonlyu.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"# DeepLX Vercel\n\nHost a serverless translation API on Vercel, powered by the official [DeepLX](https://github.com/OwO-Network/DeepLX) Go\nimplementation.\n\n## Features\n\n- **Serverless by Design**: Built on a serverless architecture for superior scalability and simplicity.\n- **Effortless Deployment**: Deploy to Vercel with a single click and minimal configuration.\n- **Local Development Support**: Fully supports local development for testing and customization.\n- **Official DeepLX Compatibility**: Always stays in sync with the latest official `DeepLX` API.\n\n## Deploying on Vercel\n\nDeploy your DeepLX translation API by clicking the button below.\n\n[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fxjasonlyu%2Fvercel-deeplx)\n\n\u003e After clicking the button, simply follow the prompts to set up the API on Vercel.\n\n## Running Locally\n\nTo run/test this API locally, you need to install [Vercel CLI](https://vercel.com/docs/cli) and Go, and then run the\nfollowing commands in your terminal:\n\n```bash\ngit clone https://github.com/xjasonlyu/vercel-deeplx.git\ncd vercel-deeplx\nvercel dev\n```\n\nThis will start a local dev server with the API running on `http://localhost:3000`.\n\n## Environments\n\n| Variable     | Description                           | Default |\n|--------------|---------------------------------------|---------|\n| `TOKEN`      | Access token to protect your API      | `NULL`  |\n| `PROXY`\t     | The http proxy server address         | \t`NULL` |\n| `DL_SESSION` | DeepL Pro Account `dl_session` cookie | `NULL`  |\n\nThe above environment variables are optional and only need to be configured on Vercel when required.\nSee [variables](https://deeplx.owo.network/install/variables.html) for more details.\n\n## Usage\n\nOnce deployed or running locally, you can start making requests to translate text.\nFor example, make a `POST` request to `/translate` with the following cURL command:\n\n\u003e Replace `https://your-deployment-url` with the actual URL of your Vercel deployment or `http://localhost:3000` if\n\u003e you're running locally.\n\n```bash\ncurl -X POST https://your-deployment-url/translate \\\n  -H \"Content-Type: application/json\" \\\n  -H \"Authorization: Bearer \u003cyour_access_token\u003e\" \\\n  -d '{\n      \"text\": \"Hello, world!\",\n      \"source_lang\": \"EN\",\n      \"target_lang\": \"DE\"\n  }'\n```\n\nFor more detailed cURL usage and examples, see [here](https://deeplx.owo.network/integration/curl.html).\n\n## Important Notes\n\n- **Rate Limiting**: Excessive requests may result in temporary blocking by DeepL. Please avoid sending too many\n  requests in a short period.\n- **Usage Limitations**: This API is intended for personal or development use. For commercial use, consider subscribing\n  to DeepL's official API.\n- **No Guarantee**: As this API relies on DeepL's public endpoints, functionality may break if DeepL changes their API.\n  Please report issues or contribute fixes if this occurs.\n\n## Auto Update\n\n- To manually update, go to the **Actions** tab and run the workflow.\n- This workflow is also automatically triggered on a daily basis.\n\n## Credits\n\n- [OwO-Network/DeepLX](https://github.com/OwO-Network/DeepLX)\n- [bropines/Deeplx-vercel](https://github.com/bropines/Deeplx-vercel)\n\n## Contributing\n\nContributions are welcome! If you have a suggestion or fix, please fork the repository and submit a PR.\n\n## License\n\nThis project is open-sourced under the MIT license. See the [LICENSE](LICENSE) file for more details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxjasonlyu%2Fvercel-deeplx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxjasonlyu%2Fvercel-deeplx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxjasonlyu%2Fvercel-deeplx/lists"}