Giter VIP home page Giter VIP logo

rikaichamp's Introduction

Rikaichamp!

Port of rikaikun (which is a port of rikaichan, which is a port of rikaiXUL) to Web Extensions.

Development

git clone --recursive https://github.com/birtles/rikaichamp.git
npm install

Running

For manual testing you can use

npm start

Which will run:

web-ext run --bc --start-url __tests__/playground.html

The --bc just brings up the browser console immediately so you can check for any warnings produced at startup.

Add -p default if you want to use your regular browsing profile so you can easily test sites that require a login such as Twitter and Facebook. e.g.

npm start -- -p default

Likewise, if web-ext is bringing up the wrong version of Firefox or can't find it, you can specify to use, e.g. Nightly using -f nightly. e.g.

npm start -- -f nightly

Testing

npm test

If you have trouble running the SlimerJS tests using the above, you can just run the unit tests and browser tests separately:

./node_modules/.bin/jest
firefox __tests__/rikaicontent.html

Debugging SlimerJS test runs

For debugging SlimerJS something like the following should work:

SLIMERJSLAUNCHER=/opt/firefox/firefox ./node_modules/.bin/slimerjs utils/slimerjs-test-runner.js __tests__/rikaicontent.html --debug=true

That's assuming that you have a nightly build at /opt/firefox/firefox. If you're lucky, SlimerJS might just pick up the right version without using SLIMERJSLAUNCHER. The UA string is printed at the beginning of the test run so you can check which version is being used.

Regular running:

MOZ_HEADLESS=1 SLIMERJSLAUNCHER=/opt/firefox/firefox ./node_modules/.bin/slimerjs utils/slimerjs-test-runner.js __tests__/rikaicontent.html

rikaichamp's People

Contributors

birtles avatar eiennohito avatar kikaxa avatar melink14 avatar nanaya avatar versusvoid avatar xorgy avatar

Watchers

 avatar  avatar

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.