Git Product home page Git Product logo

comibat's Introduction

ComiBat

PyPI - Python Version

Buy Me a Coffee at ko-fi.com

A tool to add a title page to CBZ comic book archives if it doesn't already exist. It uses the first image file in the archive as the title page, and also adds a Pages node with all the other pages to the ComicInfo.xml file during the process.

This tool works only with CBZ files, as CBR and CB7 files are not supported and proprietary.

Requirements

  • Python 3.5 or higher
  • pip

Installation

ComiBat is available on PyPI. To install it, run the following command:

pip3 install comibat

Usage

To add a title page to a CBZ file, run the following command:

comibat <path/to/cbz/file>

This will add a title page to the CBZ file, and save it as a new CBZ file with the same name but with a (FIXED) suffix.

If you do not specify any files, ComiBat will look for CBZ files in the current directory (not recursive).

Examples

Add a title page to a single CBZ file

comibat 'Maou-jou de Oyasumi Ch.310.cbz'

Add a title page to all CBZ files in the current directory

comibat

Add a title page to all CBZ files in the current directory recursively

comibat -r

Add a title page to all CBZ files in the current directory and output to a different directory

comibat -o 'C:\Users\User\Documents\Comic Books'

Add a title page to all CBZ files in the current directory recursively

comibat -r

Add a title page to all CBZ files in the current directory and output to a different directory

comibat -o 'C:\Users\User\Documents\Comic Books'

Add a title page to specific CBZ files using wildcards

comibat 'Maou-jou de Oyasumi Ch.*.cbz'

in a specific directory

comibat '/home/user/comics/*.cbz'

License

ComiBat is licensed under the GNU General Public License v3.0. See the LICENSE file for more information.

About

By recoskyler - 2024

comibat's People

Contributors

recoskyler avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.