DeepL Free API (No TOKEN required)
Go to file
Bonny07 6012d72ba0 test(translate): add hermetic unit tests for lang resolution, preflight, and oneshot request/decode
The translate package had no tests. These are fully hermetic: callOneshot is exercised against httptest, so go test ./... stays offline and fast.

Covers lang resolution (incl. the EN/PT target-vs-source asymmetry), TranslateByDeepLX preflight validation (404/400/413, pre-network only), callOneshot request shaping and gzip/deflate/br decoding, newInstanceID UUIDv4 shape, and the oneshotRequest JSON contract.
2026-07-08 09:57:56 +09:00
.github ci(release): build cross-platform binaries in parallel via matrix (#226) 2026-06-05 11:10:47 +08:00
img docs: add img 2024-03-02 02:47:18 -05:00
service fix(service): log translation errors and hide internals from clients 2026-06-02 14:38:02 +08:00
translate test(translate): add hermetic unit tests for lang resolution, preflight, and oneshot request/decode 2026-07-08 09:57:56 +09:00
.cross_compile.sh ci: fix compile error 2024-03-20 16:52:54 -04:00
.gitignore chore: ignore .DS_Store (#219) 2026-05-22 12:23:11 +08:00
compose.yaml Update compose.yaml 2024-12-22 14:18:30 -05:00
deeplx.service Update deeplx.service 2023-02-18 20:55:20 +08:00
Dockerfile feat(docker): non-root user + ENTRYPOINT (#222) 2026-05-24 01:30:05 +08:00
go.mod feat(translate): migrate to oneshot endpoint (#217) 2026-05-22 12:04:44 +08:00
go.sum feat(translate): migrate to oneshot endpoint (#217) 2026-05-22 12:04:44 +08:00
install.sh fix(install): detect architecture instead of hardcoding amd64 (#227) 2026-06-07 17:45:46 +08:00
LICENSE Create LICENSE 2022-10-20 02:12:18 +08:00
main.go refactor: make service exportable (#183) 2025-04-08 13:53:20 -04:00
me.missuo.deeplx.plist Update README.md 2022-10-20 02:11:14 +08:00
README.md docs: remove icon 2024-11-30 19:56:38 -05:00
uninstall.sh feat(uninstall): Add DeepLX uninstallation script (#203) 2025-08-26 20:34:10 +08:00

GitHub Workflow Go Version Go Report GitHub License Docker Pulls Releases

How to use

!TIP]

Learn more about [📘 Using DeepLX](https://deeplx.owo.network) by checking it out.

Discussion Group

Telegram Group

Acknowledgements

Contributors

Activity

Alt

License

FOSSA Status