News for hackers. Stuff that matters.
Re:Foliate: Read e-books in style, navigate with ease by Buttons840 on Friday July 19, 2024 @02:03AM (#41002321)
Does it manage my "library" for me?

I can open PDFs on every OS I've ever used. Like, just open the file, find a PDF file in some directory and open that PDF file and see a render of the PDF.

I've never found anything that can do the same for ebooks without also trying to manage my "library". Like, if I just want to peek at a random epub file it will add it to my "bookshelf" automatically and makes that a very prominent part of the program.

Can I use this to just open an epub file?

Re:Foliate: Read e-books in style, navigate with ease by lf-non on Friday July 19, 2024 @02:20AM (#41002422)
Foliate's core function is an ebook reader and not library management. Once installed you can double click your epubs to open them on foliate - it will not move around your stuff.

There is a library view in the app but it is mostly a history of recently accessed files.

Re:Foliate: Read e-books in style, navigate with ease by pjerem on Friday July 19, 2024 @03:10AM (#41002749)
Ironically, the best ebook reader that just worked like you said was Microsoft Edge when it had its own engine, before it became "Chrome but even worse".
Re:Foliate: Read e-books in style, navigate with ease by skydhash on Friday July 19, 2024 @02:15AM (#41002383)
Zathura and okular can do it, as well as Sumatra on windows, but they suffer from ugly defaults. The best reader is koreader (kobo device in my case) as it let you customize the reading experience.

I tried creating a reader (macos) based on mupdf (koreader also used it) and it’s definitely possible to have an epub viewer. I also dislike bookshelf type software if they try to manage the files as well (a simple database can be fine). So far. I just use these to check the epub file and do the reading on the kobo instead (or convert to pdf if I want annotations (ipad)).

Re:Foliate: Read e-books in style, navigate with ease by II2II on Friday July 19, 2024 @07:20AM (#41005075)
It's worth noting that KOReader is available for desktop Linux users, both as a Debian package and AppImage. The interface is better suited to touch screens though. I suspect that is why noone has bothered to port/build it for other desktop operating systems.
Re:Foliate: Read e-books in style, navigate with ease by graemep on Friday July 19, 2024 @08:10AM (#41005533)
Its what I use on a Linux tablet because of the better touchscreen UI. Foliate did not work as well.
Re:Foliate: Read e-books in style, navigate with ease by joveian on Friday July 19, 2024 @09:47AM (#41006547)
Zathura will by default keep a history and your position in each document, which I personally don't like (I want it to start from the beginning each time) but you can change this with 'set database "null"' in the config file. I tried zathura for pdfs a while ago but went back to evince due to the nice feature of showing all search results in a sidebar when you search. Unfortunately evince doesn't support epub. My zathurarc so far is:

  set database "null"
  set adjust-open "width"
  set scroll-wrap false
  set font "monospace light 24"
  set statusbar-home-tilde true
  set window-title-home-tilde true
  set window-title-page true
  set guioptions "v"
  map [fullscreen] <PageDown> scroll full-down
  map [fullscreen] <PageUp> scroll full-up
  map [normal] <PageDown> scroll full-down
  map [normal] <PageUp> scroll full-up
The font option just seems to cover the interface font (which is tiny if you don't set it) and guioptions "v" means no default status bar but always a vertical scroll bar. Page up and down use viewable pages instead of the default document page.

I was also just looking for an epub reader due to this Humble book bundle on game design that mostly only has epub:

https://www.humblebundle.com/books/all-about-gaming-mit-pres...

Re:Foliate: Read e-books in style, navigate with ease by freddie_mercury on Friday July 19, 2024 @03:27AM (#41002860)
Calibre works exactly the way you suggest, so I'm not sure why you haven't found it.

It comes with an app called ebook-viewer that doesn't do anything except view ebooks. It doesn't automatically add it to the calibre library management.

Re:Foliate: Read e-books in style, navigate with ease by Scaevolus on Friday July 19, 2024 @03:33AM (#41002913)
Calibre's built in ebook viewer is very ugly.
Re:Foliate: Read e-books in style, navigate with ease by xangel on Friday July 19, 2024 @04:18AM (#41003373)
I use it for everything but actual reading.
Re:Foliate: Read e-books in style, navigate with ease by johnchristopher on Friday July 19, 2024 @05:12AM (#41003946)
> Calibre works exactly the way you suggest, so I'm not sure why you haven't found it.

JFC, that's not how the installation and the first run of Calibre works at all. I'd write "I'am not sure why you think people would think calibre is first a manager library and not a book reader after installing it" but I'd be lying.

Re:Foliate: Read e-books in style, navigate with ease by karolist on Friday July 19, 2024 @05:29AM (#41004097)
I think Calibre advocates forgot what it's like to setup it for the first time and what a messy ugly process it is for new timers. A containerized version needs VNC access to set it up and perform some un-intuitive UI actions https://docs.linuxserver.io/images/docker-calibre/#applicati...

I've used https://www.kavitareader.com/ but it's not perfect either, this space could be "disrupted" by a Plex like product with opensource + licensed offerings but the target market is pretty small I think.

Re:Foliate: Read e-books in style, navigate with ease by exe34 on Friday July 19, 2024 @06:50AM (#41004778)
nix-shell -p calibre

I'm not sure what the container is for...

Re:Foliate: Read e-books in style, navigate with ease by OscarTheGrinch on Friday July 19, 2024 @06:07AM (#41004403)
Yeah I'm currently running Calibre, which works fine for my needs, but my gripe is that it takes up around 1gb of space on my tiny old system.

Can someone please tell me the diskspace requirement for Foliate?

Re:Foliate: Read e-books in style, navigate with ease by vetinari on Friday July 19, 2024 @02:17PM (#41009381)
Foliate itself is about 12 MB.

However, it needs flatpak runtime. If you already have different flatpak apps, this is not an issue, it is going to be shared with them, but if this is going to be your first-and-only flatpak app, you need to add few hundreds MB.

Re:Foliate: Read e-books in style, navigate with ease by OscarTheGrinch on Saturday July 20, 2024 @01:06AM (#41014222)
Thanks!

I'm pretty sure I already have flatpak, and enough space to run both Calibre and Foliate to compare them.

Re:Foliate: Read e-books in style, navigate with ease by TiredOfLife on Friday July 19, 2024 @07:49AM (#41005322)
Calibre reader default to auto changing the opened file.
Re:Foliate: Read e-books in style, navigate with ease by squidbeak on Friday July 19, 2024 @08:06AM (#41005492)
But it brings a densely featured library manager along with it. The OP seems to just want something to open books.
Re:Foliate: Read e-books in style, navigate with ease by freddie_mercury on Saturday July 20, 2024 @12:42AM (#41014122)
So? Don't run the command for the library manager. No one is forcing you to open it. They are completely independent commands. You might as well complain that all you want to do is list directories but linux only provides coreutils which also includes chcon and I don't want to run chcon.
Re:Foliate: Read e-books in style, navigate with ease by alias_neo on Friday July 19, 2024 @11:46AM (#41007645)
I love Calibre, even calibre-web, which I can use as an ebook store by modifying the URLs in my Kobo eReader so that I can download ebooks from my server directly from the eReader over WiFi.

I use Calibre to manage my collection, create book covers if I need to for non-boo k documents, web for organising and occasional looking up of things, and eReader for reading.

Re:Foliate: Read e-books in style, navigate with ease by gregors on Saturday July 20, 2024 @09:46AM (#41016465)
Just recently setup some ebook software on my linux laptop trying not only use Apple for everything these days.

Calibre was the very first thing I tried but it seems like it was going to be a time sink. I can't quantify that precisely maybe because of the design? I didn't seem like I could just get going easily.

Foliate was the next thing I tried and seemed perfect. Easy to start, limited options, good design. It was a lot closer to what I was used to on my mac.

I'm sure Calibre probably does a bunch of things perfectly and I should revisit it, but that's the experience coming from a novice.

Re:Foliate: Read e-books in style, navigate with ease by specproc on Friday July 19, 2024 @02:15AM (#41002382)
I like foliate, certainly one of the slicker options out there, but yes it does have the behaviour you describe.

I do have need of a library, but there's not much point for me if it's just one or two types of document. I've just moved to the new Zotero 7 beta, which has epub support, has always managed PDFs and web snapshots, and since Zotero 6 has supported rich annotation.

Perfect setup for me. One library containing all my notes, citations and reading.

Re:Foliate: Read e-books in style, navigate with ease by Bayes7 on Friday July 19, 2024 @02:08AM (#41002346)
Check out sioyek, it’s great and can open epubs like normal pdfs:

https://sioyek.info/ https://github.com/ahrm/sioyek

Re:Foliate: Read e-books in style, navigate with ease by flobosg on Friday July 19, 2024 @03:58AM (#41003146)
Sioyek uses the MuPDF engine, which supports EPUB: https://mupdf.com/
Re:Foliate: Read e-books in style, navigate with ease by Ringz on Friday July 19, 2024 @04:45AM (#41003688)
I stumbled over it but didn’t installed it because the website doesn’t mention the ebook functionality.

“Sioyek is a PDF viewer with a focus on technical books and research papers”

Re:Foliate: Read e-books in style, navigate with ease by zeke_the_cat on Friday July 19, 2024 @05:51AM (#41004273)
Nightmarish with a tablet.
Re:Foliate: Read e-books in style, navigate with ease by exe34 on Friday July 19, 2024 @02:06AM (#41002340)
koreader is very polite about this, unlike calibre.
Re:Foliate: Read e-books in style, navigate with ease by 9dev on Friday July 19, 2024 @05:19AM (#41004009)
I'm actually working on something like this:

https://github.com/project-kiosk/kiosk/tree/v3

I'm still deep in the trenches, though. That project is like my personal zen garden of deadline-free software development, so don't expect a release soon. Happy if someone would be interested in contributing, though :)

Re:Foliate: Read e-books in style, navigate with ease by adrian_b on Friday July 19, 2024 @06:11AM (#41004439)
On Linux, I prefer to use MuPDF for just opening any epub file.

That was originally a PDF reader, but it has been working for some time also with epub files.

It renders the pages not only very fast, but also better than any other epub reader that I have tried (all the others seem to make worse choices about the relative sizes of various page elements).

Re:Foliate: Read e-books in style, navigate with ease by Gormo on Friday July 19, 2024 @10:42PM (#41013603)
Atril works the same way as well.
Re:Foliate: Read e-books in style, navigate with ease by bmacho on Friday July 19, 2024 @08:32AM (#41005787)
> I can open PDFs on every OS I've ever used.

I can't do that, on windows, or linux. I loved the experience that evince on ubuntu gave me for comics/manga some years ago (what I want: continuous pages, no menu or scrollbar visible, centered, fixed width, variable width, scrollbar on edge hover to show progress), and nothing that I've tried comes remotely close.

I was able to come close with HTML + CSS so I am partially content.

- - -

A recent big failure of mine is to find a music player on F-Droid, to listen to albums, that

  - is capable to play a song, 
  - is capable to seek in the song
  - doesn't need access to every media file ever on my phone, only the actual file (either by popping up the file chooser, or the file is opened from an another program)
I've checked at least 15 of them, and I think it is possible. I've found multiple examples that can do two (video players that don't need access to every file, can go forward/backward but refuse to play songs, also music players that don't need access to every media file, but can't jump to a position). I eventually had to give up on this one.
Re:Foliate: Read e-books in style, navigate with ease by yjftsjthsd-h on Friday July 19, 2024 @10:08AM (#41006762)
I'm pretty sure VLC (from f-droid) does what you want. It might prefer to have full file access, but you can just deny that and just open files from a file browser or whatever.
Re:Foliate: Read e-books in style, navigate with ease by bmacho on Friday July 19, 2024 @10:41AM (#41007042)
Is it working for you? It is not working for me, it keeps demanding permissions. It might be something specific to my phone, but also unlikely, since there are video and audio players that can play videos and audio without any permission at all.
Re:Foliate: Read e-books in style, navigate with ease by yjftsjthsd-h on Friday July 19, 2024 @12:06PM (#41007889)
Just tested, TLDR yes it works.

Steps:

0. Uninstall VLC (I just did this to reset its permissions+config)

1. Install VLC (3.5.4 from fdroid)

2. Open VLC

3. It'll start with a splash screen, click next.

4. Next screen is VLC asking what permissions you want to give it. Pick the leftmost of the 3

5. Finish the setup wizard

6. It prompts for notification permission, which I allowed

7. You should be at a screen titled "Permission not granted", with 2 buttons. Click the right button to pick a file

8. Use the system file dialog to pick a file

9. It plays

Re:Foliate: Read e-books in style, navigate with ease by bmacho on Friday July 19, 2024 @01:41PM (#41008984)
I don't have "2 buttons" on the screen titled "Permission not granted", and no file dialog. Also not working, when asking VLC to play the file from another program. Must be a bug or incompatibility somewhere. Also this must be the reason why I wasn't able to find a music player on F-Droid then :| Thank you for checking!
Re:Foliate: Read e-books in style, navigate with ease by vetinari on Friday July 19, 2024 @01:27PM (#41008841)
Just be aware, that music player without file access won't be able to traverse/list directories, so playlists won't work. This is a limitation of any file-picker based file access (e.g. flatpak applications on linux, accessing files via portals have exactly the same limitations). As the sibling comment says, it is possible to run vlc this way, but be aware of the limitations.
Re:Foliate: Read e-books in style, navigate with ease by Gormo on Friday July 19, 2024 @10:51PM (#41013647)
MPV for Android seems to meet all your criteria for audio playback: https://f-droid.org/en/packages/is.xyz.mpv/
Re:Foliate: Read e-books in style, navigate with ease by bmacho on Saturday July 20, 2024 @01:47AM (#41014372)
That does the trick, thank you!
Re:Foliate: Read e-books in style, navigate with ease by carlosjobim on Friday July 19, 2024 @09:52AM (#41006609)
FBReader does this on MacOS
Re:Foliate: Read e-books in style, navigate with ease by Matl on Friday July 19, 2024 @10:41AM (#41007044)
Calibre has a 'standalone' ebook viewer component.
Re:Foliate: Read e-books in style, navigate with ease by weaksauce on Friday July 19, 2024 @05:33PM (#41011586)
maybe there’s a firefox extension you could use that when you set the default file opener it works like that? or drag and drop it on firefox with an extension.
Re:Foliate: Read e-books in style, navigate with ease by __rito__ on Friday July 19, 2024 @03:05AM (#41002709)
I used to read all ebooks on desktop when smartphones didn’t enter the market. Now I read on Kindle and a dedicated tab.

There’s only one kind of book I read on my laptop now- programming books PDFs. To code side by side. That's all. And PDF is better for rendering equations, graphs, code with syntax highlighting, and figures.

I use EPUB for "flat" essays, novels, storybooks, poems, etc. i.e. non-text/non-technical stuff.

And I use my Kindle or my tab always for that.

For the once or twice need of opening EPUBs on my laptop, I just use Okular.

Won't install something via Snap/Flat or compile it for that one-off kinds of use.

Re:Foliate: Read e-books in style, navigate with ease by nyanpasu64 on Friday July 19, 2024 @04:12AM (#41003293)
A Kindle is a physical device and a tab is a tablet (I initially thought it was browser tab)? My family sat/stepped on two Kindles (crushing the screens to oblivion) growing up and nobody has dared buy another one since; I don't know if it's time to reconsider.
Re:Foliate: Read e-books in style, navigate with ease by consf on Friday July 19, 2024 @07:14AM (#41005013)
Align well with the strengths and limitations of various devices and file formats
Re:Foliate: Read e-books in style, navigate with ease by anentropic on Friday July 19, 2024 @07:43AM (#41005267)
I bought a Kindle for this (programming books and PDFs) but was quickly disappointed

The device itself is pleasant enough

But I should have guessed, the experience for managing any content bought/downloaded from outside Amazon is almost unusable

Re:Foliate: Read e-books in style, navigate with ease by __rito__ on Friday July 19, 2024 @08:23AM (#41005683)
> the experience for managing any content bought/downloaded from outside Amazon is almost unusable

Not at all.

I buy EPUBs from all kinds of vendors, across multiple languages. I also have many downloaded from Standard Ebooks [0].

All EPUB works fine, and provides great experience- as long as a file does not contain one of the following- custom page illustrations, syntax highlighted code, graphs, charts, maps, math equations, color comicstrip etc.

Just use PDF in tablet or laptop for arxiv papers, math/programming books, etc.

Use Kindle for recreational reading- like novels, poetry, essays, etc. I am a huge fan of reading since basically learning to read. And I love Kindle! Am a user for last ~10 years.

[0]: https://standardebooks.org

Re:Foliate: Read e-books in style, navigate with ease by anentropic on Friday July 19, 2024 @09:30AM (#41006365)
the EPUB files work fine

and it's possible to load PDFs on there

my complaint is that the tools for organising and managing the library are crap

Re:Foliate: Read e-books in style, navigate with ease by __rito__ on Friday July 19, 2024 @12:05PM (#41007871)
Yeah definitely. It's very slow, and the screen refresh rate is sometimes frustrating.

But that is how it manages to hold its charge for a full month!

Re:Foliate: Read e-books in style, navigate with ease by reify on Friday July 19, 2024 @02:45AM (#41002590)
I used to always install Foliate when I installed a new linux distro though it only opens epub and not pdf's. The default on linux is Evince for Pdf.

Koodo is the way to go

However, more recently I have been using "Koodo" reader and library for both epub and pdf

It has a great visual library too. I only use Koodo now.

https://github.com/troyeguo/koodo-reader

http://aur.archlinux.org/packages/koodo-reader-bin

Re:Foliate: Read e-books in style, navigate with ease by dsr_ on Friday July 19, 2024 @09:35AM (#41006417)
It might be the most awesome software in the world, but if I can't read the majority of bug reports, it's not something I can feel comfortable using.

(This is not a flaw in the software, this is a flaw in me: I don't know how to read -- I'm assuming it's Mandarin Chinese, but I can't even reliably tell that.)

Re:Foliate: Read e-books in style, navigate with ease by Milner08 on Friday July 19, 2024 @10:17AM (#41006833)
If thats really such an issue, you can just get the browser to translate them for you?
Re:Foliate: Read e-books in style, navigate with ease by TechDebtDevin on Friday July 19, 2024 @10:19AM (#41006844)
You have dozens and dozens of translation tools at your disposal that take <10 seconds to solve that problem.
Re:Foliate: Read e-books in style, navigate with ease by dsr_ on Friday July 19, 2024 @01:12PM (#41008679)
You want me to trust random translation tools on the internet for technical issues?

No.

Re:Foliate: Read e-books in style, navigate with ease by TechDebtDevin on Friday July 19, 2024 @09:30PM (#41013243)
For an E reader? Sure it's not some production tool.
Re:Foliate: Read e-books in style, navigate with ease by squigz on Friday July 19, 2024 @03:04PM (#41009910)
Not to be rude, but if that's the case, and you're unwilling to use "random" translation tools like Google Translate, what is the point of this comment? Not everyone in the world speaks English. Do you want them to learn English and post bug reports in English for you?
Re:Foliate: Read e-books in style, navigate with ease by LargoLasskhyfv on Saturday July 20, 2024 @12:06AM (#41013953)
!YÄSS-S-S-S
Re:Foliate: Read e-books in style, navigate with ease by synergy20 on Friday July 19, 2024 @10:38AM (#41007012)
I have tried nearly all the epub readers mentioned.

Koodo is now what I use, it renders the best for me, I feel like I'm reading a paper book, which is great to me, the fonts and theme are great.

Calibre's epub reader is painfully slow to start, and it does not look that good either.

I wish other epub readers can have better fonts and color.

Re:Foliate: Read e-books in style, navigate with ease by idoubtit on Saturday July 20, 2024 @03:54AM (#41014867)
Almost all the Git commits of Koodo have the same message: "fix bug". https://github.com/koodo-reader/koodo-reader/commits/master/

I'm really not confortable with projects that treat the Git history as junk, to the point I'd rather avoid that software. I daily use the e-reader Koreader, and sometimes Plato, and their source code and Git history are clear and documented (though I think Koreader's choice of Lua is poorly suited to the task). I could patch Koreader to my taste and send pull requests.

Re:Foliate: Read e-books in style, navigate with ease by rkwasny on Friday July 19, 2024 @02:49AM (#41002617)
I’d love to have a beautifully designed version of Calibre for macOS. I’d even pay for it! It would be fantastic to have a sleek way to organize my ebook collection, especially if it could also store papers from Arxiv etc.
Re:Foliate: Read e-books in style, navigate with ease by mattkevan on Friday July 19, 2024 @04:06AM (#41003225)
I would love this too. Calibre is amazingly useful and powerful, there’s nothing else like it, but my goodness the UI is ugly.

I’ve come to appreciate it as some sort of outsider art anti-design, defiantly refusing to follow any notion of design consistency and aesthetics. But still, a nicely designed version would be amazing.

Re:Foliate: Read e-books in style, navigate with ease by karolist on Friday July 19, 2024 @05:38AM (#41004180)
Would you mind listing some of the killer Calibre features you'd expect to see in an MVP?
Re:Foliate: Read e-books in style, navigate with ease by skydhash on Friday July 19, 2024 @08:44AM (#41005918)
Cover grid, virtual libraries, customizable details pane (select the fields to show), filtering (both tree and search), virtual libraries (collection), export template, metadata editing and embedding (write to file).

Thats the few stuff I used regularly.

Re:Foliate: Read e-books in style, navigate with ease by jkingsman on Friday July 19, 2024 @01:58PM (#41009202)
Not the OP, but my library management is 90% tagging, format conversion, metadata fetch and editing, and format tune-up (font subsetting or stripping fonts, fixing covers, etc.). Virtual libraries keep me organized based on tags.
Re:Foliate: Read e-books in style, navigate with ease by karolist on Friday July 19, 2024 @03:20PM (#41010096)
Hey, which program do you do that now with, Calibre or a set of separate tools?
Re:Foliate: Read e-books in style, navigate with ease by jkingsman on Tuesday July 23, 2024 @02:11PM (#41049050)
Calibre.
Re:Foliate: Read e-books in style, navigate with ease by dsego on Friday July 19, 2024 @06:07AM (#41004407)
How do you feel about the built-in Apple Books?
Re:Foliate: Read e-books in style, navigate with ease by dantondwa on Friday July 19, 2024 @04:09AM (#41003256)
I wish this worked on Windows too. In general, I'd love to see all those lovely GTK4 apps on Windows, they look so nice.
Re:Foliate: Read e-books in style, navigate with ease by boredhedgehog on Friday July 19, 2024 @05:06AM (#41003891)
There's Alexandria(https://github.com/btpf/Alexandria), which was inspired by Foliate and supports Windows and MacOS.
Re:Foliate: Read e-books in style, navigate with ease by rrishi on Friday July 19, 2024 @07:14AM (#41005017)
oh this is great. there's still room for improvement but it satisfies my basic requirements very well.

thanks, this is quite useful for my macos.

Re:Foliate: Read e-books in style, navigate with ease by shortrounddev2 on Friday July 19, 2024 @07:28AM (#41005142)
Did you try wsl?
Re:Foliate: Read e-books in style, navigate with ease by lazyeye on Saturday July 20, 2024 @03:36PM (#41019110)
Sumatra PDF reader is a lightweight, superfast app that will load epub files.
Re:Foliate: Read e-books in style, navigate with ease by relyks on Friday July 19, 2024 @02:46AM (#41002595)
This is my favorite e-book reader to use on my desktop :) (it's great for epubs)
Re:Foliate: Read e-books in style, navigate with ease by thaumasiotes on Friday July 19, 2024 @04:16AM (#41003349)
> Enjoy features such as auto-hyphenation

Is this a feature of the app? Can I bundle an ebook with my own hyphenations and ensure that only those hyphenations will appear when Foliate displays the ebook?

Kindles have incredibly awful hyphenation. It seems to originate from somebody confusing the algorithm for hyphenation -- which is "there's a big list of hyphenation points for every word in existence, and when you want to hyphenate a word, you look it up in the list and choose the best available hyphenation point" -- with the algorithm for compressing the master hyphenation list, which involves representing the list as a priority-ordered set of rules for where a hyphen should appear based on a few surrounding letters.

But the result is that Kindles are constantly trying to hyphenate words based on a compressed list of words that doesn't include the word that needs to be hyphenated, with results like "Q-ingjiao".

This could be easily solved by checking every ebook for words that don't appear in the master list, and bundling a custom list of just those words with every book, falling back to the master list in the common case where a word that needs to be hyphenated isn't present in the custom list. But I guess nobody cares.

Re:Foliate: Read e-books in style, navigate with ease by newzisforsukas on Friday July 19, 2024 @04:19AM (#41003396)
foliate is pretty good for epub. I have been using it for several months, and definitely prefer it to fbreader, calibre, etc. It is much faster than those. It has a good TTS interface as well.
Re:Foliate: Read e-books in style, navigate with ease by __gotcha___ on Friday July 19, 2024 @04:28AM (#41003511)
been trying to use it on windows. Its a great app on linux.
Re:Foliate: Read e-books in style, navigate with ease by __gotcha___ on Friday July 19, 2024 @04:29AM (#41003518)
Been trying to use it on windows. Best app for linux.
Re:Foliate: Read e-books in style, navigate with ease by asimovfan on Friday July 19, 2024 @05:04AM (#41003871)
i need something like this for the chromebook / android..

the only app that works fine with chromebook is its own gallery viewer, but has no bookmarks no annotations

in android theres only xodo which is paid and proprietary

Re:Foliate: Read e-books in style, navigate with ease by nabla9 on Friday July 19, 2024 @05:53AM (#41004291)
I have been testing this for 15 minutes.

- enforces two page layout. I don't see how to fix it. advice does not fix it: https://github.com/johnfactotum/foliate/discussions/1166

- can't open all pdf that other viewers can.

- zoom does not work, settings do nothing.

Result of the 'style' is smudge view you can't fix.

Re:Foliate: Read e-books in style, navigate with ease by wahnfrieden on Friday July 19, 2024 @06:02AM (#41004360)
I’m using this app’s EPUB engine for my iOS/macOS app, Manabi Reader, which is for learning Japanese through reading (but I want to expand to more languages and general purpose use soon)

https://reader.manabi.io

Re:Foliate: Read e-books in style, navigate with ease by rubymamis on Friday July 19, 2024 @06:05AM (#41004389)
Linux needs more beautiful apps with attention to UX - the same kind of care that developers of macOS apps put into their apps. That's why even when I'm building an app for Linux[1] I start by trying to make the best macOS app first.

[1] https://www.get-plume.com

EDIT: Spelling errors.

Re:Foliate: Read e-books in style, navigate with ease by karolist on Friday July 19, 2024 @07:22AM (#41005089)
Beautiful app, how did you deal with Qt licensing if I may ask?

One nit regarding website, toggling dark mode causes a video change that has some ugly flashing, I think you could improve this by recording the video without dropshadow and adding the shadow with CSS.

Re:Foliate: Read e-books in style, navigate with ease by rubymamis on Friday July 19, 2024 @09:42AM (#41006501)
Thanks! I'm using the LGPL version of Qt, since I'm not changing Qt's own source code I can release my app has closed-source easily with dynamic linking. I could also release it with static linking with no problem (in my understanding), if I allow people to download the object files as well so they can link them to any version of Qt they want (but that's a bit too much for now).

Thanks for your suggestion, I'll consider it. But what do you mean by ugly flashing? Is it the instant background change that turn you off?

Re:Foliate: Read e-books in style, navigate with ease by karolist on Friday July 19, 2024 @11:51AM (#41007701)
Yes, the background changes instantly, but video replacement is slower, therefore for an moment the old video shadow background appears distinctly from the site's background color. This is on M1 Max 64 with latest Chrome.

Also, there's a problem with responsive text reflow on your personal site, I've only noticed because I'm using a tiling wm.

I've made videos to showcase

https://gofile.me/7cmOh/e1dTClPiT

https://gofile.me/7cmOh/VyHzagGGa

Re:Foliate: Read e-books in style, navigate with ease by rubymamis on Friday July 19, 2024 @04:59PM (#41011158)
Thanks for taking the time to make the videos!

I think for the first issue, with the flashing, it seems to flash to you, but it's just the theme being changed to light, isn't it? Or you are specifically only talking about the way the video container doesn't fit the rest of the page while it's loading?

Regarding the second issue, good catch! I'll fix that. Thanks!

Re:Foliate: Read e-books in style, navigate with ease by karolist on Friday July 19, 2024 @05:21PM (#41011446)
Ha, I think you're right, it's the empty container with grey background visible whilst the video is being changed, I actually went frame by frame to confirm. It's getting silly and super nitpicky so feel free to ignore :)

https://imgur.com/a/Z0Yrl8h

Re:Foliate: Read e-books in style, navigate with ease by rubymamis on Friday July 19, 2024 @05:45PM (#41011692)
Well, I care about tiny details like that, so always appreciate such comments (:

I'll try to see what I can do about it to make the transition easier on the eyes, so thanks for the feedback.

Re:Foliate: Read e-books in style, navigate with ease by adonese on Friday July 19, 2024 @06:13AM (#41004453)
Is there a nice ebooks reader on android. The options I keep running to are rather very disappointing
Re:Foliate: Read e-books in style, navigate with ease by DaSHacka on Friday July 19, 2024 @07:02AM (#41004890)
I use Librera FD from f-droid[0], I think it works great though I don't typically read books on my phone (instead opting to use an e-ink kindle).

[0] https://f-droid.org/packages/com.foobnix.pro.pdf.reader/

Re:Foliate: Read e-books in style, navigate with ease by gabelschlager on Friday July 19, 2024 @06:23AM (#41004535)
I quite liked ReadEra. Scans your phone for all epubs, allows grouping and organizing them, but most importantly, has a good looking, customizable reading interface.
Re:Foliate: Read e-books in style, navigate with ease by alexejb on Friday July 19, 2024 @06:16AM (#41004475)
KOreader is quite nice after some setup.
Re:Foliate: Read e-books in style, navigate with ease by TiredOfLife on Friday July 19, 2024 @07:50AM (#41005332)
Moon+ reader for non technical books
Re:Foliate: Read e-books in style, navigate with ease by hgyjnbdet on Friday July 19, 2024 @01:23PM (#41008792)
Mupdf.
Re:Foliate: Read e-books in style, navigate with ease by Sunspark on Friday July 19, 2024 @07:47PM (#41012670)
"Cool Reader GL" is good. Has a lovely page curl animation, etc. It's old though, and hasn't been updated in many years now but it still works fine. I like it because it's very customizable and has fine control of font rendering such as being able to turn off anti-aliasing. It takes time to set-up the way you like, but once you do, it's great and just works.
Re:Foliate: Read e-books in style, navigate with ease by mattkevan on Friday July 19, 2024 @06:24AM (#41004548)
I’ve not been happy with the state of desktop ebook readers for a while, so I recently built a simple web-based ebook reader. It’s designed to be a quick and easy way to read books while also providing decent layout and typography.

Although it’s a website, books and reading histories are saved in the browser’s local storage and it doesn’t track anything.

Here’s the link: https://www.minimalreader.xyz

Re:Foliate: Read e-books in style, navigate with ease by rrishi on Friday July 19, 2024 @07:01AM (#41004879)
any plans to add pdf support?
Re:Foliate: Read e-books in style, navigate with ease by azdle on Friday July 19, 2024 @11:24AM (#41007415)
Hey, might I suggest adding a public domain example book? I tried adding a couple of different epubs that I happen to have on my phone, but it just says "Please select an EPUB file." when I do. (Using mobile Firefox.)
Re:Foliate: Read e-books in style, navigate with ease by mattkevan on Friday July 19, 2024 @11:33AM (#41007520)
That's a good idea, thanks for the suggestion.

It seems to be quite picky about which books it accepts sometimes, will have to look into that :)

Re:Foliate: Read e-books in style, navigate with ease by just_testing on Sunday July 21, 2024 @11:44PM (#41030747)
I am going to start using this. Thank you!
Re:Foliate: Read e-books in style, navigate with ease by GEBIRGE on Friday July 19, 2024 @06:38AM (#41004664)
Foliate is really good with the security aspects of rendering ebooks. See the author's foliate-js library project (https://github.com/johnfactotum/foliate-js?tab=readme-ov-fil...).

I've recently written an article about the dangers of ebooks. Maybe it's of interest to some: https://gebir.ge/blog/every-trick-in-the-book/

Re:Foliate: Read e-books in style, navigate with ease by nathansherburn on Friday July 19, 2024 @10:04AM (#41006719)
Thanks for the write up!

I just wanted to chime in to say the Foliate code is really beautifully written too.

I was able to hack together an epub audiobook reader by running a custom version of foliatejs in Microsoft Edge (which has an amazing and free text to speech engine called "read aloud"). It's VERT hacky but you can try it here: https://nathansherburn.github.io/foliate-js/

Works on mobile and desktop Edge.

Re:Foliate: Read e-books in style, navigate with ease by joshstrange on Friday July 19, 2024 @07:45AM (#41005288)
The app looks beautiful, but I can’t unsee the clipped buttons at the top and bottom on the left. Why wouldn’t you use the same border radius as the window? Or have the window not be rounded?
Re:Foliate: Read e-books in style, navigate with ease by mikae1 on Friday July 19, 2024 @07:54AM (#41005373)
For KDE Plasma users that dislike non-native looking GTK apps I can recommend https://apps.kde.org/en/arianna/
Re:Foliate: Read e-books in style, navigate with ease by throwoutway on Friday July 19, 2024 @07:59AM (#41005419)
Looks beautiful! While I mostly read on kindle, this makes me want to setup a new Ubuntu install. Haven't had that feeling in a while
Re:Foliate: Read e-books in style, navigate with ease by codethief on Friday July 19, 2024 @08:10AM (#41005537)
My favorite thing about Foliate:

> Add bookmarks and annotations. Reading progress, bookmarks, and annotations are stored in plain JSON files, so you can export or sync them easily with any tool or storage service.

> The data for each book is stored in a JSON file named after the book's identifier.

> How are identifiers generated? For formats or books without unique identifiers, Foliate will generate one with the prefix foliate:, plus the MD5 hash of the file.

Finally, someone recognized the benefit of using file hashes for ID purposes and my PDFs no longer get modified when I annotate them!

Now I just wish music playlists used hashes, too…

Re:Foliate: Read e-books in style, navigate with ease by explosion-s on Friday July 19, 2024 @09:52AM (#41006606)
Maybe I'm not understanding, but wouldn't using the file hash to keep track of things make it really tricky if the file is modified in any way? E.g. when annotating a PDF it would lose all previous data associated because the hash would change
Re:Foliate: Read e-books in style, navigate with ease by braiamp on Friday July 19, 2024 @10:27AM (#41006916)
> Reading progress, bookmarks, and annotations are stored in plain JSON files

The file is not modified.

Re:Foliate: Read e-books in style, navigate with ease by cl3misch on Friday July 19, 2024 @10:49AM (#41007098)
I think they mean that the hash in the JSON record does not match the PDF file anymore, after the PDF has been changed by some other program.
Re:Foliate: Read e-books in style, navigate with ease by kylebenzle on Friday July 19, 2024 @11:33AM (#41007526)
I agree but it seems the original PDF is not changed but you are right, if it is edited directly and renamed then it will fail to load the JSON.
Re:Foliate: Read e-books in style, navigate with ease by TuringTest on Friday July 19, 2024 @10:23AM (#41006887)
I guess they'd use a hash of the book contents, not the whole file?
Re:Foliate: Read e-books in style, navigate with ease by ericjmorey on Friday July 19, 2024 @10:38AM (#41007002)
You end up with the ebook file and an annotations and bookmarks file. I'm assuming that the program would just look in the same directory as the ebook file or some configurable location.
Re:Foliate: Read e-books in style, navigate with ease by mook on Friday July 19, 2024 @12:31PM (#41008200)
I download still-running fiction from the internet and read them locally, and periodically replace the files with versions with more chapters. It does not sound like the workflow would work for me.

(This also means hashing the contents wouldn't work.)

Re:Foliate: Read e-books in style, navigate with ease by arichard123 on Saturday July 20, 2024 @05:33AM (#41015236)
If notes are stored as json maybe it would be easy to write a program to transfer notes from the old hash to the new one
Re:Foliate: Read e-books in style, navigate with ease by codethief on Saturday July 20, 2024 @09:53AM (#41016513)
But if the annotations get stored directly in the ebook file (as opposed to separately in a JSON file), I don't see how this would work for you, either? You would still have to transfer them to the new file somehow.
Re:Foliate: Read e-books in style, navigate with ease by dredmorbius on Saturday July 20, 2024 @06:23PM (#41020571)
If a chain of hashes is associated with a single work ... you might get somewhere.

I've thought through the problem of fingerprinting records (as in, any recorded data: text, images, audio, video, software, etc.) in a way that coherently identifies it despite changes over time. Git and related revision control systems probably offer one useful model. Another is to generate signatures via ngrams of the text in such a way that's resilient (i.e., non-brittle) despite varioius changes: different fonts, charactersets, slight variances in spelling (e.g., British vs. American English, transliterations between languages), omissions or additions, or other changes. Different versions of the same underlying work, e.g., PDF, HTML, or ASCII text, translations, different editions, etc., all have much in common, though in ways that a naive file hash wouldn't immediately recognise or reveal.

We often refer to works through tuples such as author-title-pubdate, or editor-language-title. This is a minute fraction of the actual content of most works, but is remarkably effective in creating namespaces. Controlled vocabularies and specific indexing systems (Dewey Decimal, OCLC, Library of Congress Catalog Number, ISBN, DOI, etc.) all refine this further, but require specific authority and expertise. I'd like to see an approach which both leverages and extends such classifications.

Re:Foliate: Read e-books in style, navigate with ease by p0w3n3d on Friday July 19, 2024 @08:36AM (#41005829)
This looks like a decent PDF reader too, especially with Adobe's decision to cease shipping the Acrobat Reader to Linux
Re:Foliate: Read e-books in style, navigate with ease by inSenCite on Friday July 19, 2024 @08:41AM (#41005892)
This look pretty neat, wish there were some decent ebook readers for Android that can handle both pdf and ebpub....I was looking into moon reader but it requires an obnoxious breadth of permissions that seems very odd. Calibre is still my go-to on windows
Re:Foliate: Read e-books in style, navigate with ease by dsr_ on Friday July 19, 2024 @08:47AM (#41005949)
Have you tried KOreader? https://koreader.rocks
Re:Foliate: Read e-books in style, navigate with ease by nvllsvm on Friday July 19, 2024 @05:29PM (#41011543)
I use KOReader to read epubs on Android, but not PDFs. Being geared towards eink devices, KOReader lacks the smooth panning+zooming one would typically expect in an Android PDF reader. I've settled on using Bubble2 when I need to read a PDF, though I'd prefer to use my laptop when possible.
Re:Foliate: Read e-books in style, navigate with ease by casenmgreen on Friday July 19, 2024 @09:29AM (#41006360)
Can't view images.

This is because they are in webp format.

I have support for this format disabled in browser, because I know of no simple native viewer on Linux, so I in effect cannot save such images, because I cannot view them.

Re:Foliate: Read e-books in style, navigate with ease by adrian_b on Friday July 19, 2024 @10:07AM (#41006755)
Firefox works fine as a native viewer of the saved webp images on Linux, if you associate the file extension/file type with it. Also Chromium/Chrome can be used for the same purpose.

The only disadvantage is that the browsers are slower and they have much more inconvenient user interfaces than the dedicated image viewers, for functions like zoom and pan or passing to the next or previous image in a directory.

An alternative is to use the movie player "mpv" as the native webp viewer. This is much faster and it has the advantage of easy navigation in a directory with webp images and of easy zoom and pan (you may need to edit the mpv configuration and bind the ZOOMIN and ZOOMOUT commands to whatever keys you prefer).

Re:Foliate: Read e-books in style, navigate with ease by Lex-2008 on Friday July 19, 2024 @09:34AM (#41006413)
ffplay?
Re:Foliate: Read e-books in style, navigate with ease by kaanyalova on Friday July 19, 2024 @03:41PM (#41010290)
Every image viewer i know of on Linux supports webm, do you have libwebp installed?
Re:Foliate: Read e-books in style, navigate with ease by rabbitofdeath on Friday July 19, 2024 @10:45AM (#41007068)
I love this on my laptop - but struggling for iOS - particularly iPad - any good suggestions? I just want to read books, keep my place and not have any ads -is this that hard?
Re:Foliate: Read e-books in style, navigate with ease by leobg on Friday July 19, 2024 @12:03PM (#41007848)
Voice Dream Reader. Using it for 10+ years. Haven’t found anything that comes close.
Re:Foliate: Read e-books in style, navigate with ease by dmd on Friday July 19, 2024 @10:46AM (#41007082)
The built in Books meets all those criteria.
Re:Foliate: Read e-books in style, navigate with ease by skydhash on Saturday July 20, 2024 @10:57AM (#41016925)
MapleRead, but it’s a paid app. Apple Books is ok for reading, bad at everything else.
Re:Foliate: Read e-books in style, navigate with ease by sqeaky on Friday July 19, 2024 @12:10PM (#41007936)
Does it have a dark mode?
Re:Foliate: Read e-books in style, navigate with ease by sqeaky on Monday July 22, 2024 @12:45PM (#41036492)
It was in Fedora's repo, so I tried on a Fedora machine I have. It installed and worked. And does have a dark mode, it respected system preferences which was set to dark mode in KDE settings!

But it no option menu and no obvious way to turn pages without using the table of contents tool. It didn't respond intuitively to mouse clicks or touch gestures attempts to turn the pages. I will try it some more later, but it doesn't follow hardware ereader (tap to turn page) or normal desktop (no visible buttons or click/drag) UI conventions.

Re:Foliate: Read e-books in style, navigate with ease by giraffes on Friday July 19, 2024 @12:34PM (#41008234)
Is there something like this for Windows?
Re:Foliate: Read e-books in style, navigate with ease by garyfirestorm on Friday July 19, 2024 @01:09PM (#41008633)
I installed snap version of Foliate on Ubuntu20.04. And it failed to work for me (when I open a valid epub, it is just blank). I’m so disappointed when I see something that I badly want and it doesn’t work.
Re:Foliate: Read e-books in style, navigate with ease by Sunspark on Friday July 19, 2024 @07:26PM (#41012524)
Try the flatpak.
Re:Foliate: Read e-books in style, navigate with ease by WuxiFingerHold on Friday July 19, 2024 @11:28PM (#41013800)
I've solved this for me with this alias:

alias foliate='WEBKIT_DISABLE_DMABUF_RENDERER=1 foliate'

Re:Foliate: Read e-books in style, navigate with ease by ntnsndr on Friday July 19, 2024 @02:00PM (#41009221)
I love this app! I recently went shopping for Linux readers and came right back to Foliate for its common sense and feature-richness beneath a clean UX.
Re:Foliate: Read e-books in style, navigate with ease by beginnings on Friday July 19, 2024 @02:08PM (#41009313)
its written in javascript, I dont want javascript apps on my system
Re:Foliate: Read e-books in style, navigate with ease by oslis on Sunday July 21, 2024 @08:26AM (#41024614)
Foliate is a gem for Linux users who love e-books! The customizable reading experience, seamless navigation, and support for various formats make it a standout. Plus, the ability to add annotations and bookmarks that sync easily is a game-changer. Anyone else using it as their go-to e-reader? What features do you find most useful?