News for hackers. Stuff that matters.
Re:Sigil – A free, open-source, multi-platform eBook editor by wegs on Friday August 14, 2020 @11:06AM (#24158855)
What's the best eBook reader? I'm getting fed up with Amazon, and I'd like to have some kind of clone of the Kindle. Key thing is SaaS -- I'd like my reading positions, notes, etc. to sync between machines and available through a web interface.

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.

Re:Sigil – A free, open-source, multi-platform eBook editor by JoeDaDude on Friday August 14, 2020 @12:42PM (#24160125)
Calibre is usually the go-to open source ebook reader. I don't know about SaaS but it does include a server so if you keep you ebooks centrally located and acess them from there, your bookmarks and notes would be preserved.

https://calibre-ebook.com/about

Re:Sigil – A free, open-source, multi-platform eBook editor by m_kos on Friday August 14, 2020 @12:55PM (#24160272)
@JoeDaDude

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?

0. https://news.ycombinator.com/item?id=20185649

Re:Sigil – A free, open-source, multi-platform eBook editor by wegs on Friday August 14, 2020 @01:49PM (#24160942)
Can I pay anyone for a hosted Calibre server?
Re:Sigil – A free, open-source, multi-platform eBook editor by dsr_ on Friday August 14, 2020 @03:09PM (#24161996)
Run Calibre on your desktop; sync the library up to a $5/month VM, and run ubooquity there. Or Calibre.
Re:Sigil – A free, open-source, multi-platform eBook editor by popup21 on Friday August 14, 2020 @12:07PM (#24159713)
Thorium Reader is an absolute pleasure to use. Open-source and regularly updated.

https://www.edrlab.org/software/thorium-reader/ https://github.com/edrlab/thorium-reader

Re:Sigil – A free, open-source, multi-platform eBook editor by tonypace on Friday August 14, 2020 @08:53PM (#24164983)
Thorium is astoundingly slow. I've started using Sumatra for ebooks as well as PDFs. It's fast and good enough.
Re:Sigil – A free, open-source, multi-platform eBook editor by abrowne on Friday August 14, 2020 @02:53PM (#24161801)
Really wish it was a Chromium extension (or PWA) rather than separate app.
Re:Sigil – A free, open-source, multi-platform eBook editor by contravariant on Friday August 14, 2020 @08:32PM (#24164861)
Really? Why on earth?
Re:Sigil – A free, open-source, multi-platform eBook editor by abrowne on Saturday August 15, 2020 @10:32AM (#24169142)
Since 90+% of the time I have the browser open. An epub book is just a weird, constrained website, another type of document to read.

Not saying there shouldn't be an app for those who want it.

Re:Sigil – A free, open-source, multi-platform eBook editor by onyva on Friday August 14, 2020 @12:24PM (#24159891)
Is it more than just an ePub reader? You really feel it’s justified to spin-up an electorn app (!!!) to read an ePub? I use Emacs’ nov.el or Foliate which are not only low on resources but also instantaneous to open files.
Re:Sigil – A free, open-source, multi-platform eBook editor by chocolatkey on Friday August 14, 2020 @12:43PM (#24160130)
I don't like it either, but the only way it is technically feasible to support the full potential styling/markup of an EPUB is to use a browser engine, and therefore electron is a logical choice. Can your specialized EPUB reader support MathML? Or vertical-ttb text?
Re:Sigil – A free, open-source, multi-platform eBook editor by Finnucane on Friday August 14, 2020 @01:19PM (#24160587)
Just this. Epub depends on the same tech stack as the web. So, either you use an engine that supports that in full, or you are going to be missing pieces of the standard. Which means that most other reading software opts for missing pieces of the standard.
Re:Sigil – A free, open-source, multi-platform eBook editor by hombre_fatal on Friday August 14, 2020 @01:23PM (#24160642)
An .epub is literally a zip of xhtml, css, and images.

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.

Re:Sigil – A free, open-source, multi-platform eBook editor by ognarb on Friday August 14, 2020 @02:36PM (#24161590)
I have a bad news for you, recently I was interested in how could I write a good QML/Kirigami based ebook reader and looked at all the existing Linux epub reader and each one was using a webview for the epub rendering. But they usually try to integrate better with the rest of the app and your DE so you just don't see it.

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.

Re:Sigil – A free, open-source, multi-platform eBook editor by xbmcuser on Friday August 14, 2020 @03:19PM (#24162114)
Koreader and coolreader both based on crengine and dont use webview. Koreader devs forked crengine and now seem to be in the process of merging back. https://github.com/koreader/koreader https://github.com/buggins/coolreader
Re:Sigil – A free, open-source, multi-platform eBook editor by hombre_fatal on Friday August 14, 2020 @02:57PM (#24161849)
I ran into a similar realization when I set out to build my own minimal RSS reader.

Your options are A) web view, B) crappy RSS reader.

Re:Sigil – A free, open-source, multi-platform eBook editor by popup21 on Friday August 14, 2020 @01:07PM (#24160437)
It's irrelevant to me whether or not it's an electron app. I'm not running a Pentium 486 system. I've got more RAM than I know what to do with...I'll run a half-dozen instances of Thorium if I wanted to...no worries.
Re:Sigil – A free, open-source, multi-platform eBook editor by onyva on Friday August 14, 2020 @01:54PM (#24161019)
It’s not just resources. It’s usability. Electron apps look and feel out of place to me. I would personally never use one let alone for reading an ePub. I get the point about perfect rendering, but that’s a specific problem I’m personally not worried about.
Re:Sigil – A free, open-source, multi-platform eBook editor by xbmcuser on Friday August 14, 2020 @03:26PM (#24162207)
https://github.com/koreader/koreader and you can host your own koreader server to sync data https://github.com/koreader/koreader-sync-server
Re:Sigil – A free, open-source, multi-platform eBook editor by captn3m0 on Friday August 14, 2020 @12:10PM (#24159760)
I’ve been delighted by Foliate. Supports OPDS, and keeps getting better.
Re:Sigil – A free, open-source, multi-platform eBook editor by onyva on Friday August 14, 2020 @12:18PM (#24159835)
Oh didn’t know that. Thanks for the tip. I’ve been using this app on Fedora for a while. Will have a look.