|
|
Thread Tools | Search this Thread |
01-17-2020, 10:00 PM | #1 |
Wizard
Posts: 2,792
Karma: 6990707
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
kepubify v3: A fast, standalone EPUB to KEPUB converter (plus covergen/seriesmeta)
kepubify (v3)
Kepubify converts EPUBs to KEPUBs. Kepubify also includes two standalone utilities: covergen (which pre-generates cover images), and seriesmeta (which updates the database with Calibre or EPUB3 series metadata). ___ Features:
Usage (Windows) (drag and drop):
Usage (Windows):
Usage (Linux/macOS):
Full usage info: Code:
Usage: kepubify [options] input_path [input_path]... Version: kepubify v3.1.0 General Options: -v, --verbose Show extra information in output --version Show the version -h, --help Show this help text Output Options: -u, --update Don't reconvert files which have already been converted (i.e. don't overwrite output files) -i, --inplace Don't add the _converted suffix to converted files and directories --no-preserve-dirs Flatten the directory structure of the input (an error will be shown if there are conflicts) -o, --output string [>1 inputs || 1 file input with existing dir output]: Directory to place converted files/dirs under; [1 file input with nonexistent output]: Output filename; [1 dir input]: Output directory for contents of input (default: current directory) --calibre Use .kepub instead of .kepub.epub as the output extension (for Calibre compatibility, only use if you know what you are doing) -x, --copy strings Copy files with the specified extension (with a leading period) to the output unchanged (no effect if the filename ends up the same) Conversion Options: --smarten-punctuation Smarten punctuation (smart quotes, dashes, etc) (excluding pre and code tags) -c, --css stringArray Custom CSS to add to ebook --hyphenate Force enable hyphenation --no-hyphenate Force disable hyphenation --fullscreen-reading-fixes Enable fullscreen reading bugfixes based on https://www.mobileread.com/forums/showpost.php?p=3113460&postcount=16 -r, --replace stringArray Find and replace on all html files (repeat any number of times) (format: find|replace) Spoiler:
Covergen: Spoiler:
What features do KEPUBs offer?
Download | Website Last edited by geek1011; 07-14-2020 at 05:53 PM. |
01-17-2020, 10:01 PM | #2 |
Wizard
Posts: 2,792
Karma: 6990707
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
What's new in Kepubify v3?
Kepubify v3 is the next major release of kepubify. New features: - Kepubify now gives you much more control over the output location and naming. See the help text (if you want, there are more detailed examples here). - Covergen now supports grayscale and color inversion. Improvements: - Kepubify now converts books 15-30% faster and uses 50-70% less memory (Update: As of v3.1.1, it's now 40-70% faster than that for batch conversions, making it at least twice as fast as v2.x, and almost 30x faster than Calibre overall). - Kepubify now has a 50% smaller binary. - Smartening punctuation is now more robust and supports more punctuation. - Seriesmeta and covergen are now built for ARM and 32-bit Linux. - The help text for kepubify is now split into sections. - There are now comprehensive unit tests for Kepubify, especially around the span adding. - Kepubify is now automatically tested on Windows and macOS in addition to Linux. - Kepubify now processes files in a deterministic order (i.e. the files are listed in alphabetic order during conversion). - You can now add more than one additional stylesheet from the command line. Breaking changes: - Smartening punctuation has been disabled by default. - Span adding has been refactored and improved to better match Kobo. This means that the numbering of spans may be different if you reconvert a book. - Optional stylesheet inlining has been removed. - The API for the kepub package has been redesigned. See the godoc for more information. Bugfixes: - Kepubify now works better on books with deeply nested structures. - Race conditions in the parallel processing code have been eliminated. - The bugfixes for #36, #29, #28, #26, #21, #14, #10, #5, and #2 have been improved. - The HTML parser now deals with XML declarations and self-closing tags in a better way. - Adding spans doesn't swallow whitespace under certain conditions anymore. See the commit log for more detailed information. Last edited by geek1011; 07-14-2020 at 05:53 PM. |
Advert | |
|
01-17-2020, 10:02 PM | #3 |
Wizard
Posts: 2,792
Karma: 6990707
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
Changelogs
v3.1.6: Spoiler:
v3.1.5: Spoiler:
v3.1.4: Spoiler:
v3.1.3: Spoiler:
v3.1.2: Spoiler:
v3.1.1: Spoiler:
v3.1.0: Spoiler:
v3.0.0: Spoiler:
Last edited by geek1011; 10-18-2020 at 11:06 PM. Reason: v3.1.6 |
01-18-2020, 12:49 AM | #5 | |
hopeless n00b
Posts: 5,110
Karma: 19597086
Join Date: Jan 2009
Location: in the middle of nowhere
Device: PW4, PW3, Libra H2O, iPad 10.5, iPad 11, iPad 12.9
|
Awesome. Thanks!
Just a question though, the font size for kepub is much, much, much smaller compared to epub on my Libra H2O so if I read books in different formats, I need to adjust the font size. I saw this post which I believe refers to the Kobo Touch Extended driver. What's the syntax to do something similar using kepubify's --css option? Thanks! Quote:
|
|
Advert | |
|
01-18-2020, 02:40 AM | #6 | |
Wizard
Posts: 2,792
Karma: 6990707
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
Quote:
|
|
01-18-2020, 06:21 AM | #7 |
Wizard
Posts: 3,305
Karma: 10259306
Join Date: May 2016
Device: kobo forma, Kobo Libra, Huawei media Tab, fire HD10, PW3 HDX8.9,
|
getting this through various protections ( win 10) is a hassle
first, chrome warns don't download it then windows warns don't run the installer then it fails anyway because panda Av has helpfully quarantined a component... would it be better packaged as an .msi ? ( I am trying to use the win 64 exe , from the 21 download options, as that seemed the best choice ? ) |
01-18-2020, 07:51 AM | #8 | |
Grand Sorcerer
Posts: 6,224
Karma: 16536676
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
Quote:
I don't know whether you're a kobopatch user but, if so, there's a patch available which will equalise the font-sizes in epub and kepub at the device level without needing to adjust font-size in each individual kepub. It's the one named 'ePub uniform font scale' in libnickel.so.1.0.0.yaml. Not all Kobo models have the epub/kepub font-size mismatch (e.g. KA1, Forma don't have it). If you only have one Kobo device it doesn't really matter which option you choose, but for users with multiple Kobo models kobopatch is the more flexible option because you could use the same saved kepubs on all devices. |
|
01-18-2020, 08:55 AM | #9 |
Resident Curmudgeon
Posts: 76,491
Karma: 136564766
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
01-18-2020, 09:02 AM | #10 | |
Resident Curmudgeon
Posts: 76,491
Karma: 136564766
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
01-18-2020, 09:05 AM | #11 | |
Resident Curmudgeon
Posts: 76,491
Karma: 136564766
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
So there you go for some fixes to fix most of your trouble. |
|
01-18-2020, 09:17 AM | #12 | |
Wizard
Posts: 3,305
Karma: 10259306
Join Date: May 2016
Device: kobo forma, Kobo Libra, Huawei media Tab, fire HD10, PW3 HDX8.9,
|
Quote:
also, its windows security ( the smart somethign or other ) that says "don't run it " maybe there's nothing a small indie developer can do to avoid suspicion ? |
|
01-18-2020, 10:30 AM | #13 | |
Wizard
Posts: 2,792
Karma: 6990707
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
Quote:
|
|
01-18-2020, 10:32 AM | #14 |
Wizard
Posts: 2,792
Karma: 6990707
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
|
01-18-2020, 10:39 AM | #15 | |
Wizard
Posts: 3,305
Karma: 10259306
Join Date: May 2016
Device: kobo forma, Kobo Libra, Huawei media Tab, fire HD10, PW3 HDX8.9,
|
Quote:
my "removed from quarantine" entry says kepubify-windows-64bit (unknown name) malwarebytes pro did not flag it i guessed it might be an unsigned code issue- calibre still has the same problem sometimes. its not a problem so long as windows don't make it any harder to run unsigned code & I think chrome disapproves on principle of anyone downloading anything.exe |
|
Tags |
conversion, epub, kepub, kepubify |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
kepubify 2.0 - A standalone tool to convert ePubs to Kepubs | geek1011 | Kobo Reader | 149 | 10-03-2020 05:12 PM |
kepubify - A standalone tool to convert ePubs into Kobo ePubs | geek1011 | Kobo Reader | 114 | 03-04-2018 11:30 AM |
Creating epub/kepub books (docx→epub/kepub via MS Word→Calibre) | SJC-Caron | ePub | 18 | 04-21-2016 12:10 PM |
Kindle Comic Converter can now create KEPUB files | AcidWeb | Kobo Reader | 16 | 06-28-2015 02:14 PM |
Aspose standalone converter Word to Epub | ErikG | ePub | 1 | 05-25-2011 03:13 AM |