Sigil – A free, open-source, multi-platform eBook editor
github.com
github.com
I've used it in the past, and it is quite decent.
It appears to be largely equivalent to the Calibre editor.
Reminds me of a similar looking UI contraption I saw recently: https://staticdelivery.nexusmods.com/mods/1704/images/921/92... (the multicolored database icons at the top)
It's kinda funny how we will spend years collaborating on some project yet not think to spend 30 seconds checking a screenshot into the readme for a project that we supposedly want others to find and use. It's like self-sabotage.
Then you finally feel like you're done but now there's 100 different things that you have to document and you get overwhelmed.
It was started in 2009, and for some reason.. no screenshots.
For me, that breaks trust.
Neither of these are interesting for the (presumptive) target audience of "people who want to edit epub files".
https://duckduckgo.com/?q=sigil+ebook+screenshot&ia=images&i...
For editing this would be ridiculous, but for transport and presentation it seems much more compact and useful. It is easy to target as an output format for a variety of tools, without understanding a bunch of quirks of the format. It would be easier to render, since the application has to make all the decisions about where to place content and support reflowing anyway.
An ebook editor just entails helping you edit those .xhtml files in a slightly more domain specific way, generating a few extra files (like table of contents), and producing the distributable zip.
Though I may have misunderstood which "container format" you were referring to.
My comment below has some remarks on pagination and reflowing that mean that a reflowable HTML file capable of being rendered by an ereader is likely subject to certain restrictions on the content to make it work. There would probably have to be a one-time indexing job (noting paragraph and chapter breaks to allow random-ish access into the file) but I think that's not crazy even for a very large document.
I also expect data URIs for images would make the HTML file, even if gzipped, larger than the equivalent ePub.
HTML also isn’t good at doing the book-like things such as pagination, tables of content and on-page footnotes.
For the most part ebooks are reflowable, so pagination only matters in the sense of manual page breaks, and HTML has to be extended to handle that even for epub. Similarly on-page footnotes (<aside> in iBook epub and <a href><sup> for Kindle) need to be handled now in HTML extensions.
Tables of contents and indexing content is a little harder, but if the format were well-defined (something like <chapter> tags, or just using <h1> as semantic tags) then it would be easy to generate as well. Or it could just be done using a bunch of <a href> in an explicit TOC -- easy enough for a compiler to handle.
Metadata is in theory more difficult, for things like author, etc., but defining tags in the <head> of the document would be just as easy as the manifest definitions that readers have to deal with now.
[1] gzipping random data base64 encoded is ~3% increase in file size.
Writing it in sections and assembling the sections for rendering allows me to also export for multiple targets, and multiple versions.
Think "build" for books.
Glad to pay a modest amount for hosting on AWS or similar, if I'm in control of my data. Not so glad to do another corporate lock-in.
https://www.edrlab.org/software/thorium-reader/ https://github.com/edrlab/thorium-reader
If you want to build a good ereader, you either use a web browser or you reimplement one. And you have to support things like https://developer.mozilla.org/en-US/docs/Web/CSS/hyphens, rtl, mathml, and—well—the rest of the nontrivial stack.
EDIT: the only epub reader I know that doesn't use a webview is Okular and the rendering using QTextDocument basic html support is horrible.
Your options are A) web view, B) crappy RSS reader.
Not saying there shouldn't be an app for those who want it.
Sorry for OT, but there are no PMs on hacker news. I found your comment about CO2 sensors for Raspberry PI from last year [0]. Have you finished this project? If yes, could you share a few details?
For my first Rasberry PI project, I am considering buying Enviro for Raspberry Pi + Air Quality. I would like to add an affordable CO2 sensor that would require minimal config and no soldering. Pimoroni folks told me MH-Z19 would not work because of the number of pins. Would you have any suggestions on what sensor to choose and how to make it work with Enviro / Raspberry PI?
$ brew cask install sigil
If you don't have homebrew installed, go to http://brew.sh