π ebook
A Go module for parsing EPUB and Mobipocket (MOBI/AZW) ebook formats.
It extracts metadata and cover images from ebook files with ease.
β¨ Features
- π Supports EPUB and MOBI formats
- π·οΈ Reads metadata (title, author, language, etc.)
- πΌοΈ Extracts embedded cover images
- β‘ Clean and simple API
π§ Usage
import "github.com/ignisVeneficus/ebook"
meta, cover, err := ebook.Parse("path/to/book.epub")
if err != nil {
log.Fatal(err)
}
fmt.Println("Title:", meta.Title)
fmt.Println("Author:", meta.Author)
// cover is a []byte (e.g. JPEG or PNG)
π¦ Installation
go get github.com/ignisVeneficus/ebook
- .epub (EPUB 2 / EPUB 3)
- .mobi / .azw (Mobipocket)
β
Planned Features
- β
EPUB metadata & cover support
- β
MOBI/AZW basic metadata support
π License
MIT License
Feel free to use, modify, and share.
Made with β and Go πΉ