Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

212 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

save-as-ebook

Save a web page/selection as an eBook (.epub format) - a Chrome/Firefox/Opera Web Extension

alt ex2.png

alt ex3.png

How to install it

or manually (tested on v. 52.0.2743.116)

1. Navigate to chrome://extensions/
2. Load unpacked extension ...
3. Select the extension's directory

or manually (tested on v. 50.0a2)

1. Navigate to about:debugging
2. Load temporary add-on ...
3. Select the extension's directory

Opera (tested on v. 39.0.2256.48)

1. Navigate to opera:extensions
2. Load unpacked extension ...
3. Select the extension's directory

Convert .epub to .mobi

sudo apt-get install calibre
ebook-convert "book.epub" "book.mobi"

Default Keyboard Shortcuts

NOTE These shortcuts are not fixed and the browser will assign a different shortcut if the default one is taken

Shortcut Description
Alt + Shift + 1 Save current page as eBook
Alt + Shift + 2 Save current selection as eBook
Alt + Shift + 3 Add current page as chapter
Alt + Shift + 4 Add current selection as chapter

How to change the default Shortcuts

in Chrome:

1. Navigate to chrome://extensions/
2. Scroll down
3. Click on Keyboard shortcuts

Added in 2.1.0

  • add support for EPUB 3
  • add option to apply Readability.js on Save Page and Save Page as Chapter

Added in 2.0.0

  • Updated the manifest to v3

To-Do

  • make the Custom Style Editor more user friendly
  • support backup / restore for Custom Styles
  • DONE fix all 'epubcheck' errors (https://github.com/IDPF/epubcheck)
  • clean & optimize code
  • create tests
  • support other formats (mobi, pdf etc.)
  • show confirmations (ui/ux)
  • display errors (ui/ux)
  • DONE support custom style
  • add 'remove from ebook' right click menu action

Run Tests (Work in progress...)

cd tests
yarn install  # install puppeteer
node test/index.js  # should start a chrome instance with Save as eBook loaded

# it will generate and save the ebook in ./tmp-downloads

.... 

Credits

About

Save a web page/selection as an eBook (.epub format) - a Chrome/Firefox/Opera Web Extension

Topics

Resources

Stars

1.1k stars

Watchers

25 watching

Forks

Releases

Packages

Used by

Contributors

Languages