{"id":22374534,"url":"https://github.com/kevcui/manga2mobi","last_synced_at":"2025-07-30T22:30:59.808Z","repository":{"id":132198018,"uuid":"247137367","full_name":"KevCui/manga2mobi","owner":"KevCui","description":":floppy_disk: Download manga/comic and convert it to mobi file for Kindle ","archived":false,"fork":false,"pushed_at":"2025-02-11T22:23:11.000Z","size":38,"stargazers_count":19,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-06T15:03:58.427Z","etag":null,"topics":["bash","bash-script","comic-downloader","kindle","kissmanga","kissmanga-downloader","kissmanga-scraper","manga","manga-downloader","manga-scraper","mangadex","mangalife","manganelo","mobi","mobile","readcomiconline"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"wtfpl","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/KevCui.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-03-13T18:28:55.000Z","updated_at":"2025-02-19T00:14:33.000Z","dependencies_parsed_at":null,"dependency_job_id":"f51a774c-1d1c-41f8-a4e0-a829dba55eda","html_url":"https://github.com/KevCui/manga2mobi","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/KevCui/manga2mobi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KevCui%2Fmanga2mobi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KevCui%2Fmanga2mobi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KevCui%2Fmanga2mobi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KevCui%2Fmanga2mobi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KevCui","download_url":"https://codeload.github.com/KevCui/manga2mobi/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KevCui%2Fmanga2mobi/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267953580,"owners_count":24171419,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-30T02:00:09.044Z","response_time":70,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bash","bash-script","comic-downloader","kindle","kissmanga","kissmanga-downloader","kissmanga-scraper","manga","manga-downloader","manga-scraper","mangadex","mangalife","manganelo","mobi","mobile","readcomiconline"],"created_at":"2024-12-04T21:17:25.735Z","updated_at":"2025-07-30T22:30:59.801Z","avatar_url":"https://github.com/KevCui.png","language":"Shell","funding_links":["https://www.buymeacoffee.com/kevcui"],"categories":[],"sub_categories":[],"readme":"# manga2mobi\n\n\u003e Download manga/comic and generate .mobi file for better reading on Kindle devices\n\n## Table of Contents\n\n- [Supported manga/comic source](#supported-mangacomic-source)\n- [Dependency](#dependency)\n- [Installation](#installation)\n- [How to use](#how-to-use)\n  - [Usage](#usage)\n  - [Examples](#examples)\n- [Disclaimer](#disclaimer)\n\n## Supported manga/comic source\n\n- ~[MangaLife](https://manga4life.com/)~\n- [Weeb Central](https://weebcentral.com/)\n- [Kissmanga](https://kissmanga.org/)\n- [Manganelo](https://manganelo.com/)\n- [Mangadex](https://mangadex.org/)\n- [readcomic](https://readcomiconline.to/)\n\n## Dependency\n\n- [jq](https://stedolan.github.io/jq/download/): command-line JSON processor\n- [kcc](https://github.com/ciromattia/kcc): Kindle Comic Converter\n- [fzf](https://github.com/junegunn/fzf): command-line fuzzy finder\n\n- The dependency below is required by `kissmanga` and `readcomic`:\n\n  - [pup](https://github.com/EricChiang/pup): command-line html parser\n\n- The dependency below is required by `readcomic`:\n\n  - [cf-cookie](https://github.com/KevCui/cf-cookie): fetch cf cookie\n\n## Installation\n\nThe steps below are required to run once for `readcomic`:\n\n```bash\n$ git submodule init\n$ git submodule update\n$ cd bin\n$ npm i puppeteer-core commander\n```\n\n## How to use\n\n### Usage\n\n```\nUsage:\n  ./manga2mobi.sh [-n \u003cmanga_name\u003e|-s \u003cmanga_slug\u003e] -c \u003cid1,id2...\u003e -k -d -f \u003csource\u003e\n\nOptions:\n  -n \u003cmanga_name\u003e   Search and find manga by manga name\n  -s \u003cmanga_slug\u003e   Search and find manga slug by manga slug\n                    Attention: slug name is case sensitive\n  -c \u003cid\u003e           Specify chapter ID to download\n     \u003cid1,id2...\u003e   Multiple chapter IDs sepereated by \",\"\n     \u003cid1-id2\u003e      Use \"-\" to indicate the range of chapters\n  -k                Optinal, keep downloaded manga images\n  -d                Optinal, only download manga images, without converting mobi\n                    This option will apply -k automatically\n  -f \u003csource\u003e       Optinal, from which manga source\n                    available source: [\"weebcentral\", \"kissmanga\", \"manganelo\", \"mangadex\", \"readcomic\"]\n                    weebcentral is set by default\n  -h | --help       Display this help message\n```\n\n### Examples\n\n- Search manga slug of \"Goblin Slayer\", then select the correct one in fzf\n\n```bash\n$ ./manga2mobi.sh\n\u003e goblin slayer\n[Goblin-Slayer] Goblin Slayer ([\"Goblin Slayer\"])\n[Goblin-Slayer-Side-Story-Year-One] Goblin Slayer Side Story...\n...\n```\n\n- Simply list \"Onepunch Man\" chapters, in case when you knew manga slug already. Be careful that manga slug is case sensitive:\n\n```bash\n$ ./manga2mobi.sh -s Onepunch-Man\n...\nChapter [125]: 2020-01-10 21:33:08\nChapter [126]: 2020-01-24 20:50:57\nChapter [127]: 2020-02-08 03:28:35\nChapter [127.2]: 2020-02-21 22:57:54\nChapter [128]: 2020-03-09 20:25:48\n```\n\n- Download \"Goblin Slayer\" chapter 45, all images, without converting mobi file:\n\n```bash\n$ ./manga2mobi.sh -s Goblin-Slayer -c 45 -d\n```\n\n- Download \"Goblin Slayer\" chapter 45 and convert it to mobi file, without keeping downloaded images:\n\n```bash\n$ ./manga2mobi.sh -s Goblin-Slayer -c 45\n```\n\n- Download \"Onepunch Man\" chapter 120, 123 and 128, then convert them to mobi files, and keep download images:\n\n```bash\n$ ./manga2mobi.sh -s Onepunch-Man -c 120,123,128 -k\n```\n\n- Download \"Onepunch Man\" from chapter 130 to 133, then convert them to one mobi file:\n\n```bash\n$ ./manga2mobi.sh -s Onepunch-Man -c 130-133\n```\n\n- Switch manga source to kissmanga:\n\n```bash\n$ ./manga2mobi.sh -k kissmanga\n```\n\n- Customize options for `kcc-c2e`:\n\n```bash\n$ KCC_OPTION=\"-m -g 1\" ./manga2mobi.sh\n```\n\n## Disclaimer\n\nThe 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.\n\n---\n\n\u003ca href=\"https://www.buymeacoffee.com/kevcui\" target=\"_blank\"\u003e\u003cimg src=\"https://cdn.buymeacoffee.com/buttons/v2/default-orange.png\" alt=\"Buy Me A Coffee\" height=\"60px\" width=\"217px\"\u003e\u003c/a\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkevcui%2Fmanga2mobi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkevcui%2Fmanga2mobi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkevcui%2Fmanga2mobi/lists"}