epubjs-reader
epub3-samples
epubjs-reader | epub3-samples | |
---|---|---|
1 | 3 | |
428 | 417 | |
1.4% | 0.7% | |
0.0 | 3.5 | |
over 1 year ago | 10 months ago | |
JavaScript | HTML | |
MIT License | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
epubjs-reader
-
Today I learned ePub is just HTML/CSS
There's a few JS libraries that allows you to basically have the same functionality, example: https://github.com/futurepress/epubjs-reader/
epub3-samples
-
Converting my PhD thesis into HTML
With MathML epubs can look decent. For example take a look at the sample MathML epub "A First Course In Linear Algebra" [0] (in a reader that supports MathML of course). It looks pretty good. The problem is Amazon STILL doesn't support MathML, so publishers just churn out a gross version where all the equations are images and so then it doesn't scale properly with the text and the book becomes 300+ MB because of it. And they can't be bothered to make two versions for readers like Kobo that do support MathML.
[0]: https://github.com/IDPF/epub3-samples/releases/download/2017...
-
File Types -- ? New to Brave, after a few days, I have only one question please?
For example, if you want to open epub files like https://github.com/IDPF/epub3-samples/releases/download/20170606/accessible_epub_3.epub inside Brave, you will have to install an epub reader extension then instead of downloading it will open inside Brave, if you want to change that behavior you have to disable the extension or limit the extension's domain list, or you right click and "save link as file", but unless the extension has the settings, there is no way to tell Brave to use extension or download manager depending on extensions, unless the extension gets disabled. And if you have an external epub reader, well, you can automatically open the extension when you tell Brave to do it as well.
-
Today I learned ePub is just HTML/CSS
I've worked on a ePub parse and renderer and the issues you're describing sound pretty familiar.
The three main components of the ePub (aside from the actual pages) are the TOC, the spine and the manifest. The manifest basically tells you where everything is, the TOC is the table of contents which can link to various pages and the spine gives you the traversal order.
Some mistakes I've seen are using the TOC to traverse the book. Using the spine to traverse the book but not handling hidden pages properly. Not handling two page spread properly.
So yeah the spec is nuanced and it would be easy to make a reader that worked with a lot of books but then had weird issues on another set of books that aren't particularly different.
I recall using this repo (https://github.com/IDPF/epub3-samples) to test specific functionality to make sure it was in line with the spec.
What are some alternatives?
Sigil - Sigil is a multi-platform EPUB ebook editor
epub_builder - Python Epub builder utility class...
calibre - The official source code repository for the calibre ebook manager
tools - The Standard Ebooks toolset for producing our ebook files.
leech - Turn a story on certain websites into an ebook for convenient reading
steward - Your Customized Personal Information Steward
PyQtGraph - Fast data visualization and GUI tools for scientific / engineering applications