Manga2mobi
:floppy_disk: Download manga/comic and convert it to mobi file for Kindle
Install / Use
/learn @KevCui/Manga2mobiREADME
manga2mobi
Download manga/comic and generate .mobi file for better reading on Kindle devices
Table of Contents
Supported manga/comic source
Dependency
-
jq: command-line JSON processor
-
kcc: Kindle Comic Converter
-
fzf: command-line fuzzy finder
-
The dependency below is required by
kissmangaandreadcomic:- pup: command-line html parser
Installation
$ cd manga2mobi
$ git clone https://github.com/ciromattia/kcc.git
$ cd kcc
$ pip3 install -r requirements.txt
How to use
Usage
Usage:
./manga2mobi.sh [-n <manga_name>|-s <manga_slug>] -c <id1,id2...> -k -d -f <source>
Options:
-n <manga_name> Search and find manga by manga name
-s <manga_slug> Search and find manga slug by manga slug
Attention: slug name is case sensitive
-c <id> Specify chapter ID to download
<id1,id2...> Multiple chapter IDs sepereated by ","
<id1-id2> Use "-" to indicate the range of chapters
-k Optinal, keep downloaded manga images
-d Optinal, only download manga images, without converting mobi
This option will apply -k automatically
-f <source> Optinal, from which manga source
available source: ["weebcentral", "kissmanga", "manganelo", "mangadex", "readcomic"]
weebcentral is set by default
-h | --help Display this help message
Examples
- Search manga slug of "Goblin Slayer", then select the correct one in fzf
$ ./manga2mobi.sh
> goblin slayer
[Goblin-Slayer] Goblin Slayer (["Goblin Slayer"])
[Goblin-Slayer-Side-Story-Year-One] Goblin Slayer Side Story...
...
- Simply list "Onepunch Man" chapters, in case when you knew manga slug already. Be careful that manga slug is case sensitive:
$ ./manga2mobi.sh -s Onepunch-Man
...
Chapter [125]: 2020-01-10 21:33:08
Chapter [126]: 2020-01-24 20:50:57
Chapter [127]: 2020-02-08 03:28:35
Chapter [127.2]: 2020-02-21 22:57:54
Chapter [128]: 2020-03-09 20:25:48
- Download "Goblin Slayer" chapter 45, all images, without converting mobi file:
$ ./manga2mobi.sh -s Goblin-Slayer -c 45 -d
- Download "Goblin Slayer" chapter 45 and convert it to mobi file, without keeping downloaded images:
$ ./manga2mobi.sh -s Goblin-Slayer -c 45
- Download "Onepunch Man" chapter 120, 123 and 128, then convert them to mobi files, and keep download images:
$ ./manga2mobi.sh -s Onepunch-Man -c 120,123,128 -k
- Download "Onepunch Man" from chapter 130 to 133, then convert them to one mobi file:
$ ./manga2mobi.sh -s Onepunch-Man -c 130-133
- Switch manga source to kissmanga:
$ ./manga2mobi.sh -k kissmanga
- Customize options for
kcc-c2e:
$ KCC_OPTION="-m -g 1" ./manga2mobi.sh
Disclaimer
The purpose of this script is to download mangas in order to read them later in case when Internet is not available. Please do NOT copy or distribute downloaded mangas to any third party. Read them and delete them afterwards. Please use this script at your own responsibility.
<a href="https://www.buymeacoffee.com/kevcui" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/v2/default-orange.png" alt="Buy Me A Coffee" height="60px" width="217px"></a>
Related Skills
node-connect
351.2kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
110.6kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
351.2kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
351.2kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
