kcc
kcc copied to clipboard
Kindlegen no longer available for download
It looks like kindlegen is no longer available for download and is replaced with Kindle Previewer. I don't see anything about this on the wiki or recent issues so I'm guessing this change from them is recent - what should I do instead?
I just used the wayback machine to pull the file from here: https://web.archive.org/web/20190817070956/https://www.amazon.com/gp/feature.html?docId=1000765211
This is v2.9 of kindlegen, you need to take the kindlegen.exe from inside and use that. Hope this helps
The file wasn't even on web archive for Linux. If anyone is looking for it, I've got it from an old hard drive. I've uploaded it here : https://archive.org/details/kindlegen
I created a docker image setted up for kcc. Actually I don't know for sure how to run gui applications in a docker container. So basically I use the kcc CLI (kindlegen already on the image). If some one got iterested here is the image: https://hub.docker.com/r/wesleympg/kindle-comic-converter-cli
Step 1: Creating a container and attaching:
$ docker run -it --name kcc-cli -v <yourComicsDirPath>:/home/kcc/chapters wesleympg/kindle-comic-converter-cli
NOTE: you must mantain your comics dir in the same path else you will need to create a new container with the new path.
Step 2: Convert:
$ kcc-c2e (or kcc-cli) <options> *
$ exit (for quit the container)
* means all the files and directories in the current directorie. You might just convert one file as well. See the CLI usage and be happy :D
(edit) The step 1 only needs to be done the first time, because after that you don't need to create a new container. To enter again in the container you do:
$ docker start -a kcc-cli (container name)
Then you can repeat the step 2
(edit 2) There is something off happening when I start the container with -a flag (attach). The shell just freezes after the first command, so if someone has the same problem, there's an easy workaround:
$ docker start kcc-cli && docker attach kcc-cli
i'm gonna just use calibre...
Kindle Previewer also allows mass convertion
`USAGE: kindlepreviewer <-command(s)> [-option(s)] kindlepreviewer -update
input Specify the input file name here when processing a single file, or the input folder when processing multiple files.
-command(s) Include at least one of the commands specified below.
-option(s) Choose any of options specified below (optional).
-update Download and install the latest software update for Kindle Previewer.
COMMANDS: -convert Create a KPF file in the specified output path, or a Mobi file when the book does not support Enhanced Typesetting. Use the Enhanced Typesetting compatible KPF file to open the book on Kindle Previewer's graphical user interface without reconverting it.
-showpreview Open the converted book in Kindle Previewer's graphical user interface. This will first convert the book, and then open it for preview.
-log Use this option to generate only the log files for validation without generating a KPF or a Mobi file.
-qualitychecks Use this option (beta) to validate external links, internal links, and footnotes in your books.
OPTIONS: -output
-locale
EXAMPLES: kindlepreviewer inputfile.epub -convert kindlepreviewer inputfolder/ -convert -output outputfolder/ kindlepreviewer inputfile.epub -showpreview kindlepreviewer inputfolder/ -log`
So it should be possible to add support of kindle previewer to kcc :)
What about manga/comics mode? Does the tool support it?
-------- Original Message -------- On Oct 21, 2020, 21:13, Grauen wrote:
Kindle Previewer also allows mass convertion
`USAGE: kindlepreviewer <-command(s)> [-option(s)] kindlepreviewer -update
input Specify the input file name here when processing a single file, or the input folder when processing multiple files.
-command(s) Include at least one of the commands specified below.
-option(s) Choose any of options specified below (optional).
-update Download and install the latest software update for Kindle Previewer.
COMMANDS: -convert Create a KPF file in the specified output path, or a Mobi file when the book does not support Enhanced Typesetting. Use the Enhanced Typesetting compatible KPF file to open the book on Kindle Previewer's graphical user interface without reconverting it.
-showpreview Open the converted book in Kindle Previewer's graphical user interface. This will first convert the book, and then open it for preview.
-log Use this option to generate only the log files for validation without generating a KPF or a Mobi file.
-qualitychecks Use this option (beta) to validate external links, internal links, and footnotes in your books.
OPTIONS: -output Path to the output folder. Use this option to specify a preferred path to store output file(s) instead of the default path (input folder).
-locale Specify your preferred locale. Use this option to set the language for conversion log messages and the Kindle Previewer user interface. Supported locales are en : English, de : German, fr : French, it : Italian, es : Spanish, zh : Chinese, ja : Japanese, pt : Portuguese, nl : Dutch.
EXAMPLES: kindlepreviewer inputfile.epub -convert kindlepreviewer inputfolder/ -convert -output outputfolder/ kindlepreviewer inputfile.epub -showpreview kindlepreviewer inputfolder/ -log`
So it should be possible to add support of kindle previewer to kcc :)
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.
@Nomeji , What exactly does "manga mode" mean?
I converted my input file to epub using kcc. After that I converted the epub using Kindle Previewer. I just converted it via cli without any further configuration:
kindlepreviewer . -convert -output .
The result looks splendid on my kindle. Also you have to swipe from left to right, like you would read a real manga. Quality looks great and loading times are quite fast. So this is exactly what I need.
But no, you cannot pass any "manga" or "comic" parameter with kindle preview. However - I'm satisfied with the result and supporting Kindle Preview would be better than relying on deprecated software and archive.org as primary download source .
For my Kindle model, manga/comics mode remove margins (usually used to diplay page count). This is the most usefull since the screen is very small. Even removing the slightest margin can improve image size a lot since it scale better. It's clearly a must have.
The other "not very usefull" feature is that it allow to zoom on different sections of the page. kcc allow to configure 4 zoom split or 2 zoom split options.
-------- Original Message -------- On Oct 21, 2020, 23:17, Grauen wrote:
@Nomeji , What exactly does "manga mode" mean?
I converted my input file to epub using kcc. After that I converted the epub using Kindle Previewer. I just converted it via cli without any further configuration:
kindlepreviewer . -convert -output . The result looks splendid on my kindle. Also you have to swipe from left to right, like you would read a real manga. Quality looks great and loading times are quite fast. So this is exactly what I need.
But no, you cannot pass any "manga" or "comic" parameter with kindle preview. However - I'm satisfied with the result and supporting Kindle Preview would be better than relying on deprecated software and archive.org as primary download source .
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.
@Nomeji my output files look perfectly cropped. When I doubletab the screen, it switches to 'split zoom'. Why don't you just give it a try yourself?
Kindlegen is gone. You should definitely consider supporting Kindle Previewer.
I just used the wayback machine to pull the file from here: https://web.archive.org/web/20190817070956/https://www.amazon.com/gp/feature.html?docId=1000765211
This is v2.9 of kindlegen, you need to take the kindlegen.exe from inside and use that. Hope this helps
It can be found in "Amazon Kindle Previewer 3 Folder\lib\fc\bin" too but using the Wayback Machine is the fastest way to get it since no installation is needed.
where do you guys put the kindlegen? I tried pasting it on /.local/lib/python3.8/site-packages/kindlecomicconverter but when i run it I get the error saying that the KindleGen is missing
The file wasn't even on web archive for Linux. If anyone is looking for it, I've got it from an old hard drive. I've uploaded it here : https://archive.org/details/kindlegen
What is exactly the file you gave ? the original seems to be the one shared by Jrockzdev.
After seeing that people said it's installed with Amazon Kindle Previewer and I noticed you don't even have to install it. I just opened KindlePreviewerInstaller.exe with 7-zip and extracted it from KindlePreviewerInstaller.exe\lib\fc\bin\
By the way, kindlegen
is also installable via Chocolatey: choco install kindlegen
closing this many answers have been given and the README has been adapted. I will create another issue to manage kindle previewer