Skip to content

adrichey/cbconv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cbconv

CLI tool to convert comic book archive files into PDFs. It was created so that I can convert my digital comic book collection to a format readable on any device that can read PDFs. You can read more about the comic book archive file format on its Wikipedia entry. This application can convert .cb7, .cbr, .cbt, and .cbz files to PDF. It will not convert .cba files as ACE archives are a dead format.

How to build this application

  • Clone this repo and run go build

How to use this application

Flags

  • -i: Path to a comic book archive file or directory containing comic book archive files. Accepts: .cbz, .cbr
  • -o: Specify an output file or directory for the converted PDF(s). Defaults to a sibling directory beside input path named cbconv_output
  • -r: Recursively convert subdirectories while in directory mode
  • -help: Display help with examples on how to use the application

Possible Future Improvements

PDF metadata population:

  • Some comic archive files have ComicInfo XML files that could be useful for PDF metadata population. There can be more than one ComicInfo.xml file in an archive since subdirectories can exist within an archive.
  • Extracted images have the following metadata: Title, Author, and Subject. This could also be used to populate PDF metadata.

About

CLI tool to convert comic book archive files into PDFs.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages