https://github.com/andys8/translate-cli
Command Line Interface to translate words
https://github.com/andys8/translate-cli
command-line command-line-tool haskell translation
Last synced: 10 months ago
JSON representation
Command Line Interface to translate words
- Host: GitHub
- URL: https://github.com/andys8/translate-cli
- Owner: andys8
- License: mit
- Created: 2017-10-14T13:14:47.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-10-17T18:19:24.000Z (over 8 years ago)
- Last Synced: 2024-04-14T07:24:05.467Z (almost 2 years ago)
- Topics: command-line, command-line-tool, haskell, translation
- Language: Haskell
- Size: 15.2 MB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# translate-cli
Command Line Interface to translate words.
The current translation supports german and english words. Input will be translated in both directions.
```sh
➜ ~ translate golden
[en] golden
[en] gold
[en] or
[en] aureate
[en] gilded
[de] golden
[de] goldgelb
[de] goldig
[de] Goldfarbe
[de] goldene Farbe
```
## Initial setup
`stack setup`
## Build
`stack build`
## Run
### NPM
* `npm i -g @andys8/translate-cli`
* `translate `
### Binary
* Download compressed binary
* [Linux](https://github.com/andys8/translate-cli/raw/master/bin/x86_64-linux/translate.tgz)
* [OSX](https://github.com/andys8/translate-cli/raw/master/bin/x86_64-osx/translate.tgz)
* Add manually to `PATH`
* `translate `
### Build from sources
* Setup stack
* `stack exec translate -- ` to translate
## Credits
[Glosbe API](https://de.glosbe.com/a-api) is used for translation.