Converte um arquivo epub para web book local.
- Python 2 or 3
- Pip
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.
book.html: o arquivo que tu vai abrir no broswer. tem um iframe com teu livrobookIndex.html: indice dos arquivos (lista de links). o arquivo que vai ta no iframebookContent/: os arquivos do epubextractedEpub/: pasta aonde o conteudo do arquivo foi extraido
Converts an epub file to a local web book.
- Python 2 or 3
- Pip
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.
book.html: The file you'll open in your browser. it contains an iframe with the book on itbookIndex.html: A list with links to the epub contentbookContent/: The folder which contains the epub filesextractedEpub/: The folder where the epub was extracted. It can be deleted
