Official moo translator to communicate with cows 🐮
Cow translator is available in the AUR
yay -S cow-translator
Run make
# 📂 cow-translator/
make
Clone this repo
git clone https://github.com/SkwalExe/cow-translator.git
build with cargo
# 📂 cow-translator/
cargo build --release
[ LINUX ONLY ] : 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.
$ cow-translator -- Hello
=> mOoOoOO moooOoo mooOoOO mooOoOO mooOOOo mOOOOOo mOOOoOo mooOOOo moOoooO mooOoOO mooooOO
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 run --rm -it ghcr.io/skwalexe/cow-translator:main
# 📂 cow-translator/
docker build -t cow-translator .
docker run --rm -it cow-translator [OPTIONS]
Run make uninstall
# 📂 cow-translator/
make uninstall
Just remove the binary
sudo rm /usr/bin/cow-translator
For this project, I recommend Visual Studio Code.
You'll need to install the rust extension
ext install rust-lang.rust
Start by forking this repository.
Then clone your fork to your local machine.
git clone https://github.com/your-username/cow-translator.git
Create a new branch
git checkout -b super-cool-feature
Then edit the source code in the 📂/src/
folder.
Once you're done, commit your changes and push them to the remote repository.
git add --all
git commit -m "Add super-cool-feature"
git push origin super-cool-feature
Then, open a pull request on GitHub from your fork.
If you have any problem, don't hesitate to open an issue