ebook

package module
v0.0.0-...-ff45d91 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2025 License: GPL-3.0 Imports: 0 Imported by: 0

README ΒΆ

πŸ“š 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

πŸ“ Supported Formats

  • .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 🐹

Documentation ΒΆ

The Go Gopher

There is no documentation for this package.

Directories ΒΆ

Path Synopsis

Jump to

Keyboard shortcuts

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