Firefox add-on that creates .epub books from the about:reader and overdrive books
JavaScript
73
46 commits
updated Nov 5, 2022
ePub creator allows you to save web pages opened in the browser as offline ePub e-books. It currently supports:
How to create/save books:
Whether saving content with this extension is legal or not depends on the content and your local legislation. Checking that is your own responsibility. Just because you can do it doesn't mean you should.
What you get & Troubleshooting:
Readability.js is used to extract the content. Since that is the same software component used by Firefox to generate the Reader view, the result should generally be the same as well. All resources (e.g. images) that show up there should also be included in the ePub book. If parts of the website are missing in the book, please check whether they show up in the reader mode. If not, there is little this extension can change about that. Also note that some sites load e.g. images on demand, usually when scrolled to; before that, they won't be captured by the reader view or this extension. Permissions used:
Development builds are automatically created on every commit with appveyor and published as release on GitHub.
These build use a different id (-dev suffix), so they are installed as additional extension and do not replace the release version. This means that:
git clone https://github.com/NiklasGollenstede/epub-creator && cd epub-creatornpm installTo build, run npm start -- "<options>", where <options> is an single optional JSON5 object.
Without options it creates a release build for Firefox in the build/ directory.
The .zip file is ready to be uploaded on AMO, and the build/ directory or the .zip file can be loaded via about:debugging.
To test the extension in a fresh Firefox profile, use the {run:1} or {run:{bin:'path/to firefox/binary'}} option.
To build for Chrome (which e.g. doesn't support .svg icons), add the {chrome:1} option.
The exact version of the minified JSZip file can be found here: https://github.com/Stuk/jszip/blob/v3.1.5/dist/jszip.min.js.
46 commits
JavaScript
100.0%
Firefox add-on that creates .epub books from the about:reader and overdrive books
JavaScript
73
46 commits
updated Nov 5, 2022
ePub creator allows you to save web pages opened in the browser as offline ePub e-books. It currently supports:
How to create/save books:
Whether saving content with this extension is legal or not depends on the content and your local legislation. Checking that is your own responsibility. Just because you can do it doesn't mean you should.
What you get & Troubleshooting:
Readability.js is used to extract the content. Since that is the same software component used by Firefox to generate the Reader view, the result should generally be the same as well. All resources (e.g. images) that show up there should also be included in the ePub book. If parts of the website are missing in the book, please check whether they show up in the reader mode. If not, there is little this extension can change about that. Also note that some sites load e.g. images on demand, usually when scrolled to; before that, they won't be captured by the reader view or this extension. Permissions used:
Development builds are automatically created on every commit with appveyor and published as release on GitHub.
These build use a different id (-dev suffix), so they are installed as additional extension and do not replace the release version. This means that:
git clone https://github.com/NiklasGollenstede/epub-creator && cd epub-creatornpm installTo build, run npm start -- "<options>", where <options> is an single optional JSON5 object.
Without options it creates a release build for Firefox in the build/ directory.
The .zip file is ready to be uploaded on AMO, and the build/ directory or the .zip file can be loaded via about:debugging.
To test the extension in a fresh Firefox profile, use the {run:1} or {run:{bin:'path/to firefox/binary'}} option.
To build for Chrome (which e.g. doesn't support .svg icons), add the {chrome:1} option.
The exact version of the minified JSZip file can be found here: https://github.com/Stuk/jszip/blob/v3.1.5/dist/jszip.min.js.
46 commits
JavaScript
100.0%