Skip to content

alexbatistaarantes/epubToWeb

Repository files navigation

epubToWeb

Converte um arquivo epub para web book local.

an example

Requisitos

  • Python 2 or 3
  • Pip

Como funciona

Se certifique que as dependências foram instaladas:

pip install -r requirements.txt

Para gerar o web book, execute o comando:

python epubToWeb [-h] ARQUIVO.epub DIRETÓRIO_DO_WEB_BOOK

Os arquivos serão gerados no diretório indicado no comando.

Arquivos gerados

  • book.html: o arquivo que tu vai abrir no broswer. tem um iframe com teu livro
  • bookIndex.html: indice dos arquivos (lista de links). o arquivo que vai ta no iframe
  • bookContent/: os arquivos do epub
  • extractedEpub/: pasta aonde o conteudo do arquivo foi extraido

[eng]

Converts an epub file to a local web book.

an example

Requirements

  • Python 2 or 3
  • Pip

How it works

Make sure you have all dependencies installed:

pip install -r requirements.txt

To generate the web book, run the command:

python epubToWeb [-h] FILE.epub WEB_BOOK_FOLDER

The web book files will be generated in the specified folder/directory.

Generated files

  • book.html: The file you'll open in your browser. it contains an iframe with the book on it
  • bookIndex.html: A list with links to the epub content
  • bookContent/: The folder which contains the epub files
  • extractedEpub/: The folder where the epub was extracted. It can be deleted

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •