epub2azw3

module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 10, 2026 License: MIT

README

epub2azw3

EPUB to AZW3 converter - a standalone Go implementation for converting EPUB ebooks to Amazon Kindle compatible AZW3 (KF8) format without external dependencies like Calibre.

Installation

go install github.com/yuanying/epub2azw3/cmd/epub2azw3@latest

Usage

epub2azw3 [flags] <input.epub>
Flags
  • -o, --output: output file path (default: <input>.azw3)
  • -q, --quality: JPEG quality (60-100, default: 85)
  • --max-image-size: max image size in KB (default: 127)
  • --max-image-width: max image width in px (default: 600)
  • --no-images: remove all images from output
  • -l, --log-level: error|warn|info|debug (default: info)
  • --log-format: text|json (default: text)
  • --strict: treat recoverable warnings as errors
  • -v, --verbose: enable verbose output (forces debug logging)

Development

Build
go build -o epub2azw3 ./cmd/epub2azw3
Test
go test ./...
Lint
go tool golangci-lint run ./...

Directories

Path Synopsis
cmd
epub2azw3 command
test/epub_reader command
Test program for EPUB ZIP reader functionality Related: Issue #1, PR #10
Test program for EPUB ZIP reader functionality Related: Issue #1, PR #10
test/opf_parser command
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL