honyakusha

module
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 26, 2024 License: MIT

README

Honyakusha

Translate text using a variety of translation services.

Installation

From Binaries

Go to releases page download latest release binary file.

From Source

Ensure that you have a supported version of Go properly installed and setup. You can find the minimum required version of Go in the go.mod file.

You can then install the latest release globally by running:

$ go install github.com/souk4711/honyakusha/cmd/honyakusha@latest

Usage

Create a configuration file in the XDG config directory:

$ honyakusha init --xdg
Create a config file in $HOME/.config/honyakusha.toml

And then execute:

$ honyakusha trans Hello, World
Raw:

    Hello, World

Google Translate:

    こんにちは世界

Bing Translator:

    ハローワールド

NOTE: You can edit the config file to change the target language if it is not Japanese.

Translation Services

Code Name Auth Method
bing Bing Translator -
google Google Translate -
deepl-api DeepL Translate api-key
libretranslate-api LibreTranslate api-key

Howto

License

available as open source under the terms of the MIT License.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL