linuxmint / nemo

File browser for Cinnamon
GNU General Public License v2.0
1.21k stars 300 forks source link

[Feature Request] Search Ebooks #2846

Open blueray453 opened 3 years ago

blueray453 commented 3 years ago
 * Nemo version (nemo 5.0.4)
 * Is issue with windowed nemo
 * Distribution - (Mint 20.2)
 * 64 bit

I found that Go > Search For Files... > Search content: already search within pdfs. It will be great if it also supported ebook (example: epub, mobi etc.) formats.

Jeremy7701 commented 3 years ago

I'd also like to see search within EPUB's - but an EPUB consists of compressed multiple HTML pages so it would be feasible.

If you want decent thumbnails to be generated, this would be harder, due to several different ways of storing metadata.

mtwebster commented 3 years ago

I had a quick look on synaptic to see what's out there to parse epubs - there are a few things we may be able to use for this.

ItzSwirlz commented 1 year ago

https://github.com/linuxmint/nemo/commit/d5644adb7f6c163155db8cd14c91cb187296cc5e is this it?

Jeremy7701 commented 1 year ago

It converts an EPUB into a text stream using a BASH file, which gets called once for each epub file to be searched.

A Python program would run better/faster. If you have Calibre installed, then a command ebook-convert input_file output_file works much better.