ランキングに戻る

alexadam/save-as-ebook

JavaScript

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

ebookepubepub-formatwebextensionproductivityebookswebextensions
スター成長
スター
1.1k
フォーク
73
週間成長
Issue
37
5001k
2023年2月2024年3月2025年5月2026年7月
成果物npmnpm install save-as-ebook
README

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

From Chrome Web Store

or manually (tested on v. 52.0.2743.116)

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

From Firefox Add-ons

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 1.4.2

  • Added MIME type to the generated .epub file

Added in 1.4.1

  • Remove unnecessary permissions
  • Detect image type if the URL doesn't have a file extension (jpg, gif, png)
  • Reset the Busy indicator on errors
  • Remove hidden elements when style is not included
  • Replace iframes with divs

Added in 1.4

  • Smaller ebook file size
  • Fix for #37 - custom styles not applied
  • Fix for #36 - br tag missing from pre blocks
  • Fix for #31 - hanging in Busy state
  • Other misc bug fixes

Added in v1.3.4

  • Fix for MathML - the rendered expression is too large (Issue #26)
  • Add translation in Russian (thanks to @ Emil Khalikov) & Brazilian Portuguese (thanks to @welksonramos)

Added in v1.3

  • Keyboard shortcuts
  • Simplified tool bar menu
  • Misc bug fixes

Added in v1.2.2

  • fixed & & issue in title; Issue # 10

Added in v1.2.1

  • support for hr/br html tags

Added in v1.2

  • BETA: Support for CSS
  • BETA: Create / edit custom Styles
  • No errors from EPUB Validator (http://validator.idpf.org/) + this should fix the Google Play upload issue

Added in v1.1

  • Chapter Editor: option to save changes
  • Chapter Editor: option to remove all chapters
  • persist Chapter Editor changes & chapters after generating an eBook or after a browser restart

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

関連リポジトリ
halfrost/LeetCode-Go

✅ Solutions to LeetCode by Go, 100% test coverage, runtime beats 100% | LeetCode 题解

GoGo ModulesMIT Licenseleetcodegolang
books.halfrost.com/leetcode
33.8k5.7k
koreader/koreader

An ebook reader application supporting PDF, DjVu, EPUB, FB2 and many more formats, running on Cervantes, Kindle, Kobo, PocketBook and Android devices

LuaGNU Affero General Public License v3.0luajitkobo
koreader.rocks
27.9k1.8k
koodo-reader/koodo-reader

A modern ebook manager and reader with sync and backup capacities for Windows, macOS, Linux, Android, iOS and Web

JavaScriptnpmGNU Affero General Public License v3.0epubreader
koodoreader.com
27.6k2.1k
kovidgoyal/calibre

The official source code repository for the calibre ebook manager

PythonPyPIGNU General Public License v3.0ebook-managercalibre
calibre-ebook.com
25.4k2.6k
readest/readest

Readest is a modern, feature-rich ebook reader designed for avid readers offering seamless cross-platform access, powerful tools, and an intuitive interface to elevate your reading experience.

TypeScriptnpmGNU Affero General Public License v3.0ebookebook-reader
readest.com
22.6k1.4k
janeczku/calibre-web

:books: Web app for browsing, reading and downloading eBooks stored in a Calibre database

FluentGNU General Public License v3.0calibreepub
17.7k1.8k
hoanhan101/ultimate-go

The Ultimate Go Study Guide

GoGo ModulesApache License 2.0golangcomputer-systems
gumroad.com/l/bpUYF
14.9k1.2k
dotnet-architecture/eShopOnWeb

Sample ASP.NET Core 8.0 reference application, now community supported: https://github.com/NimblePros/eShopOnWeb

C#MIT Licenseasp-net-coreasp-net-core-mvc
10.7k6k
learnbyexample/Command-line-text-processing

:zap: From finding text to search and replace, from sorting to beautifying text and more :art:

Shellcommand-linelinux
10.2k704
QianMo/Game-Programmer-Study-Notes

:anchor: 我的游戏程序员生涯的读书笔记合辑。你可以把它看作一个加强版的Blog。涉及图形学、实时渲染、编程实践、GPU编程、设计模式、软件工程等内容。Keep Reading , Keep Writing , Keep Coding.

game-developmentnotes
10k1.8k
vahidk/EffectiveTensorflow

TensorFlow tutorials and best practices.

tensorflowneural-network
twitter.com/VahidK
8.6k879
phodal/growth-ebook

Growth Engineering: The Definitive Guide。全栈增长工程师指南

HTMLOthergrowthphodal
growth.phodal.com
7.8k1.2k