this project is inspired by Android APP Lithium. Lithium is a very great reader app for offline epub book. this project with reader app is a online reader service for epub book. all with books, marks and bookmarks is store on server.
current features:
- category
- marks with comments
- bookmarks
- display toc
- pc and mobile compatible
feel free to give a new issue and pull requests.
To build docker image, it need download reader app release(epub-reader-app.zip) and extract to root/public directory and build.
when run docker image, you need give MONGO_DB
env for mongodb uri, and mount folder to /opt/asar
for users' uploading books.
see egg docs for more detail.
$ npm i
$ npm run dev
$ open http://localhost:7001/
$ npm start
$ npm stop
- Use
npm run lint
to check code style. - Use
npm test
to run unit test. - Use
npm run autod
to auto detect dependencies upgrade, see autod for more detail.