AudibleHero

Code for the Chrome extension.

Build Status

How to run locally

You need: Chrome / Chromium and Node.js.

Run like this:

git clone https://github.com/eirikb/audiblehero
cd audiblehero
npm i
npm start
  1. Go to chrome://extensions.
  2. Enable Developer mode.
  3. Click Load unpacked extension...
  4. Select the ext folder in project.
  5. Go to Audible and click on the extension (icon in top right).

How to build for production

Run like this:

npm run ext
npm run build   

And that's it, now the dist folder can be zipped and shipped.
This works because ext/app.js is made for development, which will load the app from webpack-dev-server, but when running npm run build this file is simply replaced with the production-ready file.