Skip to content
/ cotripp Public

Command-line translator using LibreTranslate API

License

Notifications You must be signed in to change notification settings

C0DIC/cotripp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cotripp

Translate your text and .txt files in terminal using LibreTranslate API

Usage

Langauge auto-detected translate

cotripp [text] [output language]
Usage:
       cotripp [text] [output language]
       cotripp [text] [source language] [target language]

Translate files:
       cotripp [--file || -f] [file] [output language]
       cotripp [--file || -f] [file] [source language] [output language]
       cotripp [--file || -f] [file] [output language] [output file]
       cotripp [--file || -f] [file] [source language] [output language] [output file]

Supported Languages

Language ISO 639
Russian ru
English en
Arabic ar
Chinese zh
French fr
German de
Hindi hi
Indonesian id
Irish ga
Italian it
Japanese ja
Korean ko
Polish pl
Portuguese pt
Spanish es
Turkish tr
Vietnamese vi

Dependencies

libcurl:

sudo apt-get install -y libcurl4-openssl-dev
curl-config --libs

Building

git clone https://github.com/C0DIC/cotripp
cd cotripp
make

Uninstall

make clean

References