Calibre (& Calibre web?)
-
@thetomester13 LDAP can't be done during install because there is no API or config file. It may need to be thrown in via a SQL import but I will get to that later. you can login with admin and admin123. If you want to configure LDAP I have pushed a new commit to the repo that fixed a few bugs in creating a script to add the LDAP and email envs to a text file in the /app/data dir.
The connection to Calibre desktop app is not something I am sure I can do. The database file (metadata.db) is empty but I am not sure how Calibre can talk to the DB on the backend in Cloudron. If you have any info how it interacts I can have a look.
There is an e-reader build into the web app too.
-
On the desktop app side, I cannot find an option to connect its library to a remote server I don't think it's possible.
-
@ultraviolet Ok, I'm starting to find my way here.
Theadmin:admin123
credentials worked great! Eventually it'd be cool to tie into Cloudron's LDAP, but I know I'm asking for a lot
Also, it turns out that Calibre-web offers its own OPDS catalog atcalibre.cloudron.com/opds
, so I was able to connect my e-reader to that endpoint and download a book, meaning that exposing the real Calibre's endpoint to the www might not be necessary after all!
Very good work, thanks again! I'll be migrating my exiting Calibre library over during the next few days! -
@ultraviolet This is super! I thought I saw a few lines of how to clone, build and install this app. Was it here on this forum, or was it in the README.md at Github? Could you post those again please?
Do you ever get teased about Star Wars or trainspotting or riding a motorbike across Central Asia (if you are the own of the gh repository)?
-
@thetomester13 awesome glad it is of use to you I will look at the LDAP integration soon just finishing off a few other packages just now.
@scooke you will need to install the cloudron cli there is stuff in the docs telling you how. Login to your instance using cloudron login then cloudron build then cloudron install. You will docker either installed locally or using the build service app from the store. Also need a repo on docker hub . Failing that you can use my build which I can get the tag for you.
Also how do you know I am not the one in those movies?
-
@thetomester13 @ultraviolet So is the conclusion that we don't actually need the calibre server and that calibre-web can be used standalone? @mehdi 's comment led me to believe that it's not possible to connect but I think @thetomester13 is saying this is possible.
-
@girish I may not have come across well (I tend to do that ). As far as I know, Calibre-web uses the Calibre application as a database/backend. I thought that Calibre proper was also the only way to get an OPDS catalog available to e-readers, but it turns out that Calibre-web offers this as well. What this means is that Calibre doesn't need to be accessible to the www, but still needs to be part of the package as that is the actual book database behind Calibre-web. Hope that helps!
-
Calibre web operates completely standalone. It just uses the calibre database to store and order the books.
-
@ultraviolet Do you think you can add a license to https://github.com/euanmcgregor/calibre-web-cloudron as well? Thanks
-
@ultraviolet I tried to move the app package forward. Can you tell me how those database files are created (and why are they needed?). Meaning the files here - https://github.com/euanmcgregor/calibre-web-cloudron/tree/master/Library
-
@girish ah with you. No it needs to be generated by the calibre project it is an empty database created that the web app uses to connect to. I created it as I would then need to install calibre into the app container then use the api to generate the empty db then remove calibre. Seemed a waste of time so I created a blank one for the purpose of ease.
-
Got to hack on the app this weekend. Still have to figure how to automate the settings but I wanted to ask how this integrates with mobile apps. It seems to me that this is done via the calibre content server (and not calibre web). I think it would not be very useful if we just had calibre web but no way to access the books from the mobile apps. I think what this means is that I have to set up the app so that the content server is also running (and authenticates via LDAP or something).
Am I correct about this?
-
@girish I don't know, but I'd still find it useful even if I couldn't use mobile apps (my phone is full up and has no space for any more apps anyway - it's so annoying I can't delete all the Google apps I never user, once this phone dies I'm definitely going to get a 2nd hand phone that will run https://e.foundation/ or https://lineageos.org/ )