Go to file
2023-10-23 20:12:55 -07:00
cmd Add license and makefile 2023-10-23 20:12:55 -07:00
img Add initial README 2023-10-22 22:28:53 -07:00
arch.go Initially working version 2023-10-22 20:57:43 -07:00
file.go Initially working version 2023-10-22 20:57:43 -07:00
go.mod Initial commit 2023-10-19 17:56:27 -07:00
LICENSE Add license and makefile 2023-10-23 20:12:55 -07:00
media.go Initially working version 2023-10-22 20:57:43 -07:00
README.md Add initial README 2023-10-22 22:28:53 -07:00

Mex

Mex漫画展開ツール is a tool for repacking manga archives (RAR, CBZ, etc.) into a sane directory structure which can be readily consumed by viewers like Komga, Kavita, and others.

Requirements

You must have both 7za / 7z and unrar installed on your system.

Features

  • Extract most compressed formats, handling nested archives 🌮
  • Select best quality volumes when duplicates exist 🌶️
  • Optionally rename volumes and pages for consistency 🫔
  • Exclude any irrelevant garbage files present 🥑
  • Output loose images or repack to CBZ archives 🌯

Usage

Usage: mex <input_path> [<output_dir>]
  -label-book string
    	book name template (default "{{.Name}}")
  -label-page string
    	page name template (default "page_{{.Index}}{{.Ext}}")
  -label-volume string
    	volume name template (default "vol_{{.Index}}")
  -workers int
    	number of simultaneous workers (default 4)
  -zip-book
    	compress book as a cbz archive
  -zip-volume
    	compress volumes as cbz archives (default true)
Templates:
  {{.Index}} - index of current volume or page
  {{.Name}} - original filename and extension
  {{.Ext}} - original extension only