Skip to content

leonardoserra/ebook_reader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EBOOK READER (.epub)

| 2025.03.11 - version 0.0.10 |

Description

This is a webapp to read a epub extension file (Ebook)
It's not complete
Currently it opens a book on the collection and make it possible to read it and navigate between the pages
if the ebook has a protection like DRM, it will not work.

Installation

  1. Create a venv: python -m venv .ebook_reader_venv
  2. Activate the venv:
    • Windows: .\.ebook_reader_venv\Sripts\activate
    • Mac/Linux: source ebook_reader_venv/bin/activate
  3. Install requirements: pip install requirements.txt

Get Started

  1. Put your ebooks with .epub extension into the /ebooks folder.
  2. run into the terminal: flask run
  3. Go to the ip address provided by the terminal ( usually is http://127.0.0.1:5000 )

Changelog:

2025.03.11 - version 0.0.10

  • Added page indicator on current page and completion percentage in the read page.

2025.03.10 - version 0.0.9

  • Now the scroll Y position of a page in a specified book will be memorized, so when a book is reopened you will continue from the last point.

2025.02.11 - version 0.0.8

  • Added dark theme.

2025.02.06 - version 0.0.7

  • Moved the ebook/ folder into the static/ folder.
  • Swapped the template extension to .html from .j2.
  • Showed file size in the ebook menu.
  • Now the ebook state is saved so when you close a book, it remembers where you stopped.

2025.02.05 - version 0.0.6

  • Added pagination, now the book is opened with pages.
  • Added arrows to change page.
  • Added indicator for page index.
  • Optimized ebook loading.
  • Added some style.
  • added again beautifulsoup4 package.

2025.02.03 - version 0.0.5

  • Added 404 and 500 error page.
  • Changed font.
  • Some style on the ebook list menu.

2025.02.03 - version 0.0.4

  • Now the landing page is the page where to choose the book from the ebooks folder.
  • Added the read/<ebook_name> route to open different books.
  • added some style in the static/css/main.css file.

2025.02.03 - version 0.0.3

  • Changed the module names from 'book' to 'ebook'.
  • Added a base64 decoding to directly pass to the template the images loaded, without the necessity to store them locally into the static folder.
  • removed pillow package.
  • removed beautifulsoup4 and soupsieve packages.
  • added a todo.md file, with all the features or fix.

2025.01.31 - version 0.0.2

  • Added an image extractor module to store in local the ebook images.
  • Rendering of the book, currently the images are not in order.

2025.01.29 - version 0.0.1

  • Added flask implementation with a single route, to show the content.

2025.01.29 - version 0.0.0

  • First implementation, just printed the content.

References Docs


screenshot


screenshot


screenshot


screenshot

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published