A CLI Application for SimplyTranslate
This repository has been archived on 2023-09-02. You can view files and clone it, but cannot push or open issues/pull-requests.
Go to file
metalune 0e34e9e0af Merge pull request 'Update for latest, couroutine based, engine code' (#1) from mindhog0/SimplyTranslate-CLI:master into master
Reviewed-on: #1
2022-10-17 13:37:25 +02:00
LICENSE Initial commit 2021-08-09 17:30:12 +02:00
README.md Replace instances of simplytranslate_cli with SimplyTranslate-CLI 2022-04-16 23:52:45 +02:00
main.py Update for latest, couroutine based, engine code 2022-10-16 12:57:24 -04:00

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.