GithubHelp home page GithubHelp logo

andys8 / translate-cli Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 0.0 15.54 MB

Command Line Interface to translate words

License: MIT License

Haskell 86.38% JavaScript 13.62%
translation command-line command-line-tool haskell

translate-cli's Introduction

translate-cli

Command Line Interface to translate words. The current translation supports german and english words. Input will be translated in both directions.

โžœ  ~ 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 <text-to-translate>

Binary

  • Download compressed binary
  • Add manually to PATH
  • translate <text-to-translate>

Build from sources

  • Setup stack
  • stack exec translate -- <text-to-translate> to translate

Credits

Glosbe API is used for translation.

translate-cli's People

Contributors

andys8 avatar

Stargazers

Danyal Aytekin avatar Alexander Friedl avatar  avatar

Watchers

James Cloos avatar  avatar  avatar

translate-cli's Issues

OSX Binary not working

Error message is:

dyld: Library not loaded: @rpath/libHSturtle-1.3.6-3xumYV3mexpGEJIcB9MiRl-ghc8.0.2.dylib
  Referenced from: /Users/mlechner/Downloads/./translate
  Reason: image not found
[1]    49197 abort      ./translate hallo

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.