saggins / rikaichamp

A port of rikaikun to Web Extensions, but faster. Translate Japanese by hovering over words.

Home Page:https://addons.mozilla.org/firefox/addon/rikaichamp/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rikaichamp!

Look up Japanese words with the hover of a mouse.

Rikaichamp is a port of rikaikun, which is a port of rikaichan, which is a port of rikaiXUL. It aims to be simple, reliable, fast, and up-to-date.

It includes simple installation, an up-to-date dictionary, many many bug fixes over its predecessors (e.g. it correctly recognizes the causative passive), automated tests and type-checking, and modern API usage (no sync XHR, XPath etc.).

Twitter: @rikaichamp

Development

git clone https://github.com/birtles/rikaichamp.git
yarn install

The install step above will build the add-on and put the output in dist-firefox. To build again you can use:

yarn build

Or to build the Chrome version:

yarn build:chrome

Or to build and package:

yarn package
yarn package:chrome # Chrome version

Running

For manual testing you can use:

yarn start

To use a specific version of Firefox (e.g. Nightly):

yarn start --firefox nightly

Testing

yarn test

Unit tests only:

yarn test:unit

Browser-based tests only:

yarn test:browser

Releasing

yarn version --new-version 1.2.3
# or for a pre-release version (NOTE: The 'dash' is important!)
yarn version --new-version 1.2.3-pre1

# Then...
git push --follow-tags

If you want to bump the version without triggering a new release use:

yarn version --new-version 1.2.3 --no-git-tag-version

About

A port of rikaikun to Web Extensions, but faster. Translate Japanese by hovering over words.

https://addons.mozilla.org/firefox/addon/rikaichamp/


Languages

Language:TypeScript 77.7%Language:JavaScript 9.3%Language:CSS 7.5%Language:HTML 5.3%Language:Shell 0.2%