Code for the Chrome extension.
You need: Chrome / Chromium and Node.js.
Run like this:
git clone https://github.com/eirikb/audiblehero
cd audiblehero
npm i
npm start
- Go to chrome://extensions.
- Enable Developer mode.
- Click Load unpacked extension...
- Select the ext folder in project.
- Go to Audible and click on the extension (icon in top right).
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.