# DLX [![GitHub Workflow][1]](https://github.com/OwO-Network/DLX/actions) [![Go Version][2]](https://github.com/OwO-Network/DLX/blob/main/go.mod) [![Go Report][3]](https://goreportcard.com/badge/github.com/OwO-Network/DLX) [![GitHub License][4]](https://github.com/OwO-Network/DLX/blob/main/LICENSE) [![Docker Pulls][5]](https://hub.docker.com/r/missuo/dlx) [![Releases][6]](https://github.com/OwO-Network/DLX/releases) [1]: https://img.shields.io/github/actions/workflow/status/OwO-Network/DLX/release.yaml?logo=github [2]: https://img.shields.io/github/go-mod/go-version/OwO-Network/DLX?logo=go [3]: https://goreportcard.com/badge/github.com/OwO-Network/DLX [4]: https://img.shields.io/github/license/OwO-Network/DLX [5]: https://img.shields.io/docker/pulls/missuo/dlx?logo=docker [6]: https://img.shields.io/github/v/release/OwO-Network/DLX?logo=smartthings > [!IMPORTANT] > **Disclaimer:** DLX is an independent, open-source project. It is **not** affiliated with, endorsed by, or sponsored by DeepL SE in any way. "DeepL" is a registered trademark of DeepL SE. Any reference to DeepL in this repository is made solely to describe interoperability with the DeepL translation service. DLX is a self-hosted translation API server written in Go. It exposes a simple HTTP API on port `1188`. ## Usage ### Docker ```bash docker run -d -p 1188:1188 ghcr.io/owo-network/dlx:latest ``` Or use the provided [`compose.yaml`](compose.yaml): ```bash docker compose up -d ``` ### Binary Download the binary for your platform from [Releases](https://github.com/OwO-Network/DLX/releases) and run it: ```bash ./dlx ``` ### Translate ```bash curl -X POST http://localhost:1188/translate \ -H "Content-Type: application/json" \ -d '{"text": "Hello, world!", "source_lang": "EN", "target_lang": "ZH"}' ``` ## Discussion Group [Telegram Group](https://t.me/+8KDGHKJCxEVkNzll) ## Acknowledgements ### Contributors ## Activity ![Alt](https://repobeats.axiom.co/api/embed/5f473f85db27cb30028a2f3db7a560f3577a4860.svg "Repobeats analytics image") ## License [MIT](LICENSE)