Helps with books translation. The project works with DeepL and Yandex Translate.
The project uses public version of Yandex Translate, for some reasons it makes better translation than official API.
$ go run cmd/chpunk/main.go
Usage:
translate [command]
Available Commands:
doc Translates a given Google Spreadsheet and past translation to a given Google Doc
file Translates a given file
help Help about any command
server Starts server
sheet Translates a given Google Spreadsheet
Flags:
-h, --help help for translate
Use "translate [command] --help" for more information about a command.
Setup:
- Enable Google Docs API https://developers.google.com/docs/api/quickstart/go and put credentials file to
configs/google.json
- Set your api key for Deepl in
configs/translators.json
Frontend uses Vue.js and yarn.
To start just frontend:
$ make frontend
To start frontend with API:
$ make
I wrote it to help my wife π©βπ» with her work, don't expect much from it.