https://tt-rss.org/gitlab/fox/the-epube
weekend project: a web EPUB reader
last few weeks i was being progressively annoyed with google books working like shit. surprisingly enough, looks like nobody yet made a functional replacement i could use, therefore i had to hack something myself.
i was specifically interested in working with Calibre metadata.db, responsive design, storing and synchronizing lastread pointers between multiple users and devices, and offline capability.
re: offline
the idea is either download books to read manually or just open anything and it's transparently available later regardless of network conditions. when the network is up again lastread pointer is stored on the server.
in my experience the underlying tech (i.e. service workers) is a bit flaky atm but tends to work.
what it looks like:
1) https://fakecake.org/uploads/2017/02h35AgH.png
2) https://fakecake.org/uploads/2017/02gxD8wP.png
what it needs: php and sqlite, Calibre books directory including metadata.db, http auth (mandatory i'm afraid, to distinguish users).
known issues:
1. epub.js may (rarely) hang on rendering, sometimes taking the entire chrome tab with it. not sure if its a bug in the library or my glue code.
introducing The Epube
-
- Bear Rating Trainee
- Posts: 40
- Joined: 30 Oct 2013, 15:46
Re: introducing The Epube
Looks cool, reminds me of my back-log of books I never get around to reading.
OT: epube? I see what u did there![Smile :)](images/smilies/icon_smile.gif)
OT: epube? I see what u did there
![Smile :)](images/smilies/icon_smile.gif)
Re: introducing The Epube
Would you be able to provide an nginx config? I'm unsure of how to deploy this. Do I need to fastcgi line?
- fox
- ^ me reading your posts ^
- Posts: 6318
- Joined: 27 Aug 2005, 22:53
- Location: Saint-Petersburg, Russia
- Contact:
Re: introducing The Epube
there's not much of a config
where php_params is php fastcgi stuff: https://www.nginx.com/resources/wiki/st ... s/phpfcgi/ i keep in a separate include because nginx.
Code: Select all
location /books {
auth_basic "books";
auth_basic_user_file /path/to/htpasswd;
include php_params;
}
where php_params is php fastcgi stuff: https://www.nginx.com/resources/wiki/st ... s/phpfcgi/ i keep in a separate include because nginx.
Who is online
Users browsing this forum: No registered users and 1 guest