Skip to main content

A command-line tool to make ebook of comics.

Project description

ComicGen is the commandline tool to make ebooks formatted by mobi file format from jpeg images. This is convinience when you want make own ebook comics scaned by yourself.

Install

Install it by easy way through pip:

pip install comicgen

or use easy_install:

easy_install comicgen

If you have not use virtualenv and virtualenvwrapper yet, it is very nice tool to make a depended environment:

mkvirtualenv comicgen
pip install comicgen

See details on virtualenvwrapper document.

Usage

First of all, you have to make the dir containig image of pages:

./comic_title
    |- 0001.jpg
    |- 0002.jpg
    |- 0003.jpg
    |- 0004.jpg
    |- 0005.jpg
    |- 0006.jpg
    +- 0007.jpg

You also have to download the kindlegen package from the official site and unpacked it:

$ wget http://kindlegen.s3.amazonaws.com/KindleGen_Mac_i386_v2_9.zip
$ unzip KindleGen_Mac_i386_v2_9.zip

If you finished to make it and install the depended libraries, run its command:

$ mkdir output
$ comicgen --title 'Hello Comic' --author 'Takahiro Fujiwara' --publisher 'ComicGen' --output ./output -k ./kindlegen ./comic_title

A mobi file will appear in the output dir that you set as the option of comicgen:

$ ls ./output
Hello Comic.mobi

Advanced Usage

When you buy so many comics and scan them, comicgen-volumes command is nice.

Separate volumes by each directories:

./comic_title
    +- 0001
    |   |- 0001.jpg
    |   |- 0002.jpg
    |   +- 0003.jpg
    +- 0002
        |- 0001.jpg
        +- 0002.jpg

And run it:

$ comicgen-volumes --title-template 'Hello Comic %(volume)i' --author 'Takahiro Fujiwara' --publisher 'ComicGen' --output ./output -k ./kindlegen ./comic_title

License

ComicGen is released under the MIT License. http://www.opensource.org/licenses/mit-license

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

comicgen-0.1.tar.gz (3.3 kB view hashes)

Uploaded Source

Built Distributions

comicgen-0.1.macosx-10.7-x86_64.tar.gz (1.9 kB view hashes)

Uploaded Source

comicgen-0.1-py2.7.egg (2.1 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page