DeepL command line tool in Crystal

I created a simple tool deepl-cli that calls the DeepL API from the command line.

This tool is especially useful for non-native English users like me. It can translate man pages, help, or logs.

(although the removal of ANSI escape sequences is not perfect)

Crest made it easy to implement features like PROXY support and HTTP multipart requests. The lack of PROXY and document translation support in many existing DeepL command line tools motivated the development of this tool. (I simply wanted to write Crystal)

As for distribution, I had no problem with Linux and Windows, but on Mac, I couldn’t figure out how to link statically, so I used homebrew tap.

6 Likes