🐮
Cow translator
Official moo translator to communicate with cows
📦
Installation Arch
Cow translator is available in the AUR
yay -S cow-translator
Other distros
With make
Run make
# 📂 cow-translator/
make
Or
Clone this repo
git clone https://github.com/SkwalExe/cow-translator.git
build with cargo
# 📂 cow-translator/
cargo build --release
Move the binary
# 📂 cow-translator/
sudo cp target/release/cow-translator /usr/bin/cow-translator
On windows the executable will be target\release\cow-translator.exe
you can move it wherever you want.
📝
Usage
Example
$ cow-translator -- Hello
=> mOoOoOO moooOoo mooOoOO mooOoOO mooOOOo mOOOOOo mOOOoOo mooOOOo moOoooO mooOoOO mooooOO
🔧
Troubleshooting Error:
/app/target/release/cow-translator: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /app/target/release/cow-translator)
Solution:
Compile with
RUSTFLAGS='--cfg procmacro2_semver_exempt' cargo build --release
🐳
Docker
🛠️
Build # 📂 cow-translator/
docker build -t cow-translator .
🏃
Run docker run --rm -it cow-translator [OPTIONS]
🗑
Uninstall With make
Run make uninstall
# 📂 cow-translator/
make uninstall
Or
Just remove the binary
sudo rm /usr/bin/cow-translator
final
If you have any problem, don't hesitate to open an issue
contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.