A CLI Application for SimplyTranslate
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
metalune 38a7020dc3 Replace instances of simplytranslate_cli with SimplyTranslate-CLI 1 month ago
LICENSE Initial commit 9 months ago
README.md Replace instances of simplytranslate_cli with SimplyTranslate-CLI 1 month ago
main.py Add ability to print shareable link 8 months ago

README.md

SimplyTranslate CLI

This is a simple CLI for SimplyTranslate.

Usage Examples

For the following examples we're always going to translate the german word "Krankenwagen", which means "ambulance" in english

Translate using the default translation engine (google) locally to the default output language (english)

$ python3 main.py "Krankenwagen"
ambulance

Translate using the libretranslate translation engine from german to french

$ python3 main.py --engine libre --from de -to fr "Krankenwagen"
ambulance

Translate using the google engine online with the default SimplyTranslate instance (https://translate.metalune.xyz)

$ python3 main.py "Krankenwagen" --online
ambulance

Translate using the google engine online and specify a custom SimplyTranslate instance

$ python3 main.py "Krankenwagen" --online --instance "translate.example.com"
ambulance

Contact

To get in contact with the developers, visit us on the #simple-web IRC channel on Libera.Chat.

License

SimplyTranslate-CLI is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

SimplyTranslate-CLI is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.