This is a nice e-book reader base on epub.js
React
support both PC and mobile.
The whole reader system with 3 part, React front end application, JAVA backend services with mysql database and a python search engine.
-
Reader Frontend Page React base front end application
-
Java Reader Backend Services We use Spring Boot and MySQL
-
Reader Search Engine Python whoosh
** It's a e-book reader only for EPUB now, we may support other format of ebook later **
This search engine base on python search framework whoosh
To use this (assumes a Python 2.7 environment with pip and virtualenv)
$ virtualenv venv
$ source venv/bin/activate
$ pip install -r requirements.txt
Add an unzipped epub to the source directory, say /your_epub/ then run
$ python indexer.py --i your_epub
Finally run the search api
$ python search.py
Flask should run on localhost:5000/ and you can query the server with the /search route and the parameter q, like:
localhost:5000/search?q=test
MIT