0.0.8 • Published 7 years ago

doublesub v0.0.8

Weekly downloads
1
License
Beerware
Repository
github
Last release
7 years ago

doublesub

A CLI tool and node API to help you append translated subtitles at the bottom of the original ones.

Watch your shows with hilarious mistranslated subtitles. At least you can learn languages faster.

Requirements

You need a Yandex translate API key here

Installation

If you just want to use the API

$ npm install doublesub

With also the CLI utility

$ npm install doublesub --global

CLI Usage

doublesub -f Kung.Fury.WEBRiP.srt -T en -F es

Options:

-h, --help                 output usage information
-V, --version              output the version number
-t, --translate            If set, only a single line of translated subtitles
-T, --to-lang <lang>       The language to translate to and to be appended at the bottom
-F, --from-lang <lang>     The original language of the .srt subtitle file
-f, --file <path>          The original file of the .srt subtitle file in utf8
-y, --yandex-key <string>  The API key for yandex translate, ignore if YANDEX_KEY is set

API Usage

See comments on index.js

0.0.8

7 years ago

0.0.7

7 years ago

0.0.6

9 years ago

0.0.5

9 years ago

0.0.4

9 years ago

0.0.3

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago