nicovideo-translator: Nico Nico Douga (ニコニコ動画) Comment Translator

[ agpl, library, program, translation ] [ Propose Tags ]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.0.0, 0.1.0.1, 0.2.0.0, 0.3.0.0
Dependencies base (>=4.5.0.0 && <4.8.0.0), bytestring (>=0.10.4.0 && <0.11.0.0), case-insensitive (>=1.2.0.0 && <1.3.0.0), cmdargs (>=0.10.12 && <0.11.0), containers, dns (>=1.4.4 && <1.5.0), http-client (>=0.4.9 && <0.5.0), http-types (>=0.8.6 && <0.9.0), iso639, lens (>=4.8 && <4.9), naver-translate (>=0.1.0.0 && <0.2.0.0), nicovideo-translator, setlocale (>=1.0.0.2 && <1.1.0.0), text (>=1.1.0.0 && <1.2.0.0), text-format (>=0.3.1.1 && <0.4.0.0), wai (>=3.0.2.3 && <3.1.0.0), warp (>=3.0.10 && <3.1.0), wreq (>=0.3.0.1 && <0.4.0.0), xml-conduit (>=1.2.3.3 && <1.3.0.0) [details]
License AGPL-3.0-only
Copyright (c) 2015 Hong Minhee
Author Hong Minhee
Maintainer hongminhee@member.fsf.org
Home page https://github.com/dahlia/nicovideo-translator
Bug tracker https://github.com/dahlia/nicovideo-translator/issues
Uploaded by hongminhee at 2015-08-14T19:03:32Z
Distributions
Reverse Dependencies 1 direct, 0 indirect [details]
Executables nicovideo-translator
Downloads 3153 total (10 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2015-08-14 [all 1 reports]

Readme for nicovideo-translator-0.1.0.1

[back to package description]

Nico Nico Douga (ニコニコ動画) Comment Translator

Build Status

Installation

You can install it using cabal:

$ cabal install nicovideo-translator

Aliasing msg.nicovideo.jp to localhost

To make the translator to intercept comments from Nico Nico comment server, you have to alias Nico Nico comment server domain (msg.nicovideo.jp) to your localhost (127.0.0.1). Open your hosts file using text editor (you probably need administrator permission), and then add the following line:

127.0.0.1    msg.nicovideo.jp

Proxy server

The translator behaves as a proxy server, so it has to be running while you watch Nico Nico videos. You can invoke the proxy server using CLI (you probably need administrator permission to listen 80 port):

$ nicovideo-translator
Running on http://0.0.0.0:80/ (Press ^C to quit)
Upstream: msg.nicovideo.jp (202.248.110.173)

You can terminate the server by pressing Ctrl-C.

It can optionally take the target language which is a two-letter e.g. en, ko through -l/--language option:

$ nicovideo-translator --language ko

Open source

It's written by Hong Minhee, and distributed under AGPLv3. You can find the source code from the Git repository:

$ git clone git://github.com/dahlia/nicovideo-translator

Please report bugs to the issue tracker if you find. Pull requests welcome!