manga-rafsun
v1.0.0
Published
A powerful CLI tool to search, download, and OCR manga using gallery-dl
Maintainers
Readme
manga-rafsun
A powerful command-line tool to automate searching, downloading, and extracting text from manga. Converts chapters into high-quality PDFs while preserving the original JPG images and generating OCR-accurate text files.
This is the NPM wrapper for the original python tool.
Features
- Smart Search: Search by manga name or paste a direct URL from supported sites.
- Chapter Selection: Download specific ranges (e.g.,
1-10), from a starting point to the end (20-), or the first N chapters (10). - JPG + PDF Support: Downloads original high-quality images and automatically compiles them into a single PDF per chapter.
- OCR Support: Extract English text from manga bubbles.
- History Tracking: Automatically detects which chapters you've already downloaded and shows "Missing" chapters.
Prerequisites
Because manga-rafsun is a wrapper for a powerful Python ecosystem, your system must have:
- Node.js (v14.0+)
- Python 3.10+ installed and available in your PATH.
The wrapper script will attempt to automatically install the required python packages:
requestsbeautifulsoup4richPillowpytesseractopencv-pythongallery-dl
Optional for OCR: Tesseract OCR engine must be installed on your system (apt install tesseract-ocr, brew install tesseract, etc.).
Installation
npm install -g manga-rafsunUsage
Run the following command anywhere:
manga-rafsunDownloads will be saved by default to a MANGA directory inside your user's home folder (~/MANGA/).
