Skip to content

Latest commit

 

History

History
38 lines (30 loc) · 1.35 KB

README.md

File metadata and controls

38 lines (30 loc) · 1.35 KB

Kotori(TL)

The project is a CLI app that allow to translate text by leveraging google translate. Heavily inspired by XUnity.AutoTranslator project

Educational purpose

Usage

$ kotori --help

The name inspired by Blue Archive character, Toyomu Kotori. Heavily inspired by XUnity.AutoTranslator project. Educational purposes only.

Usage: kotori.exe [OPTIONS] --input <TEXT> --from <LANG> --to <LANG>

Options:
  -i, --input <TEXT>
      --from <LANG>             Check https://cloud.google.com/translate/docs/languages for Language code
      --to <LANG>               Check https://cloud.google.com/translate/docs/languages for Language code
      --useragent <USER_AGENT>  Customize user agent
      --machine <MACHINE_NAME>  Default using "google-translate-m" [possible values: google-translate, google-translate-m]
  -h, --help                    Print help (see more with '--help')
  -V, --version                 Print version
$ kotori -i test --from en --to ja

テスト

Development

Run this command to build the executable

$ cargo build -r -F build-binary --bin kotori

Contributing

Contributions are welcome! Feel free to open issues or submit pull requests to help improve this project.

License

The project is licensed under MIT License. See License