CLI to search and download manga chapters -> exported to CBZ.
Project description
๐ KizamuManga

KizamuManga is a command-line tool to search, download, and convert manga chapters into CBZ files from different online sources.
โจ Main Features
- ๐ Interactive search for manga and chapter selection directly from the terminal.
- โก Asynchronous downloads with concurrency control, automatic CBZ export, and cleanup of temporary files.
- ๐ผ๏ธ Optional image processing: grayscale conversion, margin cropping, and proportional resizing.
- ๐ Multi-source support (WeebCentral, InManga, and LeerMangaEsp) with an extensible scraping system based on Playwright.
- ๐ Progress indicators and rotating logs for easy tracking of execution. ##โกQuick Start
- Clone the repository and enter the project folder
git clone https://github.com/CoceraCia/KizamuManga.git
- Enter the project repo
cd KizamuManga
- install requirements and playwright browsers
pip install -r requirements.txt && playwright install
- start searching or installing a manga
python -m kizamumanga.main search "One Piece"
python -m kizamumanga.main install "One Piece"
๐งพ Requirements
- Python 3.9 or higher.
- Dependencies listed in
requirements.txt. - Playwright installed along with its browsers (
playwright install). - Access to the supported websites to fetch online chapters.
โ๏ธ Installation
- Clone the repository and enter the project folder.
- (Optional) Create and activate a virtual environment.
- Install dependencies:
pip install -r requirements.txt - Install Playwright browsers:
playwright install
๐ง Configuration
The config.toml file (at the project root) allows customization of parameters such as:
| Key | Description |
|---|---|
cbz_path |
Destination folder for CBZ files (default:manga_downloads). |
website |
Active source (weeb_central, inmanga, leermangaesp). |
multiple_tasks |
Maximum number of concurrent downloads. |
color |
Export in color (true) or grayscale (false). |
cropping_mode |
Enable automatic margin cropping. |
width / height |
Target resolution; leave empty to keep original size. |
You can also modify configuration from the terminal:
- Change scraper and concurrency:
python -m kizamumanga.main config scraper --website inmanga --multiple_tasks 5 - Change output folder:
python -m kizamumanga.main config paths --cbz_path "./my_manga" - Apply predefined resolution profile:
python -m kizamumanga.main config dimensions --device boox_go_7
๐น๏ธ Basic Usage
- Search for manga:
python -m kizamumanga.main search "One Piece" - Download all chapters:
python -m kizamumanga.main install "One Piece" - Download a specific chapter or range:
python -m kizamumanga.main install "One Piece" 5python -m kizamumanga.main install "One Piece" 10-15CBZ files are saved in the folder defined bycbz_path.
๐ Internal Workflow
- The Runner validates arguments, loads configuration, and sets up the selected scraper.
- Manga and chapter lists are fetched using Playwright + BeautifulSoup.
- Each chapter is downloaded via
aiohttp, optionally processed, and packed into a CBZ.
๐๏ธ Project Structure
โโโ config.toml
โโโ pyproject.toml
โโโ requirements.txt
โโโ src/
โโโ kizamumanga/
โโโ main.py
โโโ handlers/
โ โโโ args_handler.py
โโโ engine/
โ โโโ runner.py
โ โโโ downloader.py
โ โโโ image_converter.py
โ โโโ paths.py
โโโ scraping/
โ โโโ base.py
โ โโโ weeb_central.py
โ โโโ inmanga.py
โ โโโ leermangaesp.py
โโโ utils/
โโโ logger.py
โโโ loading_spinner.py
โโโ general_tools.py
๐ License
This project is under the license MIT.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file kizamu_manga-1.0.0.tar.gz.
File metadata
- Download URL: kizamu_manga-1.0.0.tar.gz
- Upload date:
- Size: 20.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2ac0083fdf7e2426718d6970f04dac6a838931204769f6aaec67b674164a9af6
|
|
| MD5 |
f6c5efde3c4f675281431f27647f43fb
|
|
| BLAKE2b-256 |
ce9bbe980c24c066e4aa01c236cedd7973e8d986ad35da668e677c66e2b12db2
|
File details
Details for the file kizamu_manga-1.0.0-py3-none-any.whl.
File metadata
- Download URL: kizamu_manga-1.0.0-py3-none-any.whl
- Upload date:
- Size: 29.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b837ec33c11a2222abeaaabcb5fd741fe14a681e92be4657ebb20b952dc07cd7
|
|
| MD5 |
716d95eb51faf4c5682db38db49a00d9
|
|
| BLAKE2b-256 |
aebf0779d03024f20e917eb3b7411c46313b4d511fac42c99f3a87cacf17b861
|