All Projects → pawurb → Normit

pawurb / Normit

Translations with speech synthesis in your terminal as a node package

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Normit

Termit
Translations with speech synthesis in your terminal as a ruby gem
Stars: ✭ 505 (+130.59%)
Mutual labels:  terminal, translation, speech-synthesis, translations
Npmf
Fetch quick info of a npm pacakge using terminal
Stars: ✭ 64 (-70.78%)
Mutual labels:  terminal, npm
Laravel Translatable
It's a Laravel database translations manager
Stars: ✭ 47 (-78.54%)
Mutual labels:  translation, translations
Xa
Beautiful & Customizable logger ❤️
Stars: ✭ 78 (-64.38%)
Mutual labels:  terminal, npm
Developing Ios 10 Apps With Swift
Stanford 公开课,Developing iOS 10 Apps with Swift 字幕翻译
Stars: ✭ 391 (+78.54%)
Mutual labels:  translation, translations
Translations
🐼 Chinese translations for classic IT resources
Stars: ✭ 6,074 (+2673.52%)
Mutual labels:  translation, translations
Emma Cli
📦 Terminal assistant to find and install node packages.
Stars: ✭ 1,201 (+448.4%)
Mutual labels:  terminal, npm
Mojito
An automation platform that enables continuous localization.
Stars: ✭ 256 (+16.89%)
Mutual labels:  translation, translations
Cyrillic To Translit Js
Ultra-lightweight JavaScript library for converting Cyrillic symbols to Translit and vice versa
Stars: ✭ 91 (-58.45%)
Mutual labels:  translation, translations
Eslint Plugin I18n Json
Fully extendable eslint plugin for JSON i18n translation files.
Stars: ✭ 101 (-53.88%)
Mutual labels:  translation, translations
Django Translations
Django model translation for perfectionists with deadlines.
Stars: ✭ 109 (-50.23%)
Mutual labels:  translation, translations
Stmux
Simple Terminal Multiplexer for Node.js Environments
Stars: ✭ 388 (+77.17%)
Mutual labels:  terminal, npm
Cash Cli
💰💰 Convert currency rates directly from your terminal!
Stars: ✭ 168 (-23.29%)
Mutual labels:  terminal, npm
Tygit
A basic terminal interface for git, written on Node.js [Project not maintained]
Stars: ✭ 36 (-83.56%)
Mutual labels:  terminal, npm
Npx card
use npx anmol to connect with me
Stars: ✭ 377 (+72.15%)
Mutual labels:  terminal, npm
Listr2
NodeJS Task List derived from the best! Create beautiful CLI interfaces via easy and logical to implement task lists that feel alive and interactive.
Stars: ✭ 73 (-66.67%)
Mutual labels:  terminal, npm
tarjama
This package allows you to translate your models fields. `2.0` version will be continued here: https://github.com/fevrok/laravel-translatable
Stars: ✭ 2 (-99.09%)
Mutual labels:  translations, translation
pomodoro-tracker-locales
Language files
Stars: ✭ 23 (-89.5%)
Mutual labels:  translations, translation
Developing Ios 11 Apps With Swift
Stanford 公开课,Developing iOS 11 Apps with Swift 字幕翻译
Stars: ✭ 1,237 (+464.84%)
Mutual labels:  translation, translations
Talkr
Talkr is a super small i18n provider for React applications. It supports Typescript, has 0 dependencies, and is very easy to use.
Stars: ✭ 129 (-41.1%)
Mutual labels:  translation, translations

Normit Build Status NPM version Coverage Status

Normit is an easy way to translate stuff in your terminal. You can check out its Ruby gem version termit.

Installation

npm install normit -g

Usage

normit 'source_language' 'target_language' 'text'

Example:

normit en es "hey cowboy where is your horse?"
=> "Hey vaquero dónde está tu caballo?"

normit fr en "qui est votre papa?"
=> "Who's Your Daddy?"

Parenthesis are not necessary for text data input:

normit fr ru qui est votre papa
=> "Кто твой папочка?"

Speech synthesis

Specify a -t (talk) flag to use speech synthesis (requires mpg123):

normit en fr "hey cowboy where is your horse?" -t
=> "Hey cowboy où est votre cheval ?" # and a french voice says something about a horse

You can use normit as a speech synthesizer of any supported language without having to translate anything:

normit en en "hold your horses cowboy !" -t
=> "hold your horses cowboy !" # and an english voice asks you to hold on

Learning language when committing to git (zsh only)

Idea by Nedomas . See and hear your messages translated to target lang every time you commit:

In ~/.zshrc

export LANG=es
git(){[[ "//./} -t;command git [email protected]}

I am no shell ninja so if you know how to make it work in bash then please submit a PR.

Language codes:

To find all available language codes visit https://msdn.microsoft.com/en-us/library/hh456380.aspx

Requirements

Works with node 0.10.0 and higher.

To use speech synthesis you need to have mpg123 installed.

For Ubuntu:

sudo apt-get install mpg123

For MacOSX:

brew install mpg123

For Windows: Download Site or Direct Download mpg123-1.24.0-x86-64.zip

Status

It was rewritten to work with Bing Translator . Thanks to Ragnarson for supporting it !

Disclaimer

Normit works by scraping the private APIs and is therefore not recommended for use in production or on a large scale.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].