Solved Calibre (& Calibre web?)
-
@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
-
@girish all done!
-
Oh! Gonna take it for a spin.
-
Works pretty good! LDAP integration will ace it!
-
I've read this thread but wanted to ask - is there a procedure to follow for this installation? I'd like to try it.
-
@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
-
@ei8fdb I put a small tutorial here - https://forum.cloudron.io/topic/3102/building-custom-packages . Feel free to ask questions there.
-
@girish Yes they are needed that is the base database for calibre, they are copied to the app/data on build (if I recall correctly)
-
@ultraviolet I see but how did you generate them or create them? Are they provided by the upstream project?
-
@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/ )
-
@girish the combination of Calibre and Calibre-web is quite tricky. That being said, there are plenty of apps that can read from Calibre-web's OPDS server. I personally use MapleRead SE on iOS, but any app that supports OPDS can plug into Calibre-web's server.
Also, I could be wrong here, but I believe Calibre doesn't support LDAP whereas Calibre-web does.
-
@thetomester13 said in Calibre (& Calibre web?):
OPDS
Ah, thanks for this note. This is what I was missing. I was wondering how to get books out of the app for mobile use and this seems to be it.
@jdaviescoates I also managed to figure out how to automate the LDAP parts, so I will get it published soonish.
-
@girish said in Calibre (& Calibre web?):
@jdaviescoates I also managed to figure out how to automate the LDAP parts, so I will get it published soonish.
Woohoo!
-
So, anyone know if the desktop apps can synchronize with the web app ? I have a quite large Calibre library locally, I'd appreciate uploading it and keeping it in sync
-
@mehdi Yes, Calibre is the 'backend' for Calibre-web. If you manage to upload your local Calibre to this Calibre, then Calibre-web should have it all synced up for you. I managed to do this upgrade before (with a relatively small library). I wonder if I can dig up the instructions somewhere...
-
@mehdi from a quick search around it also seems one possible option (which I think I might try once we've got Calibre-web in Cloudron) is to store your Calibre library in a Nextcloud folder and then connect/ sync both the desktop Calibre and Calibre-web to that.
-
Alright, almost there. There's a few bugs I have to report upstream and learn some python along the way to get those fixed.
-
I hope there's a dark mode!
-
I have opened https://github.com/janeczku/calibre-web/issues/1656 for a start.
-
I have pushed this to unstable now. Still some work to be done, hopefully should get done next week.
-
@girish
thanks! This is definitely something I've been wanting for a while. I'll play around with this soon and try and post instructions on migrating from a manual installation (@ultraviolet 's package) to this one.
-
@thetomester13 yes, I want to move in all my books as well. The app itself works well , just the integration points need to be ironed out. Also, let me know if the OPDS works for you.
-
@girish Ok, got it up and running! I'm not seeing LDAP working, I'm only able to logon using the admin/admin123 credentials, but I know you mentioned this as an issue. I am able to get the OPDS link to work though. I'm using the MapleRead SE iOS app, and the link should look like
https://calibre.my.cloudron/opds
.In the way of migrating things over from a manual instance to this instance:
- I went to the Terminal of the old instance and hit 'Download' and downloaded the
/app/data/Library
directory - In your new instance, go to the File Manager. Upload this Library folder. Change permissions to the folder from 'root' to 'cloudron'.
- In your new Calibre instance, go to the 'Admin' view page. Under 'Basic Configuration' => 'Library Configuration' put
/app/data/Library
and hit 'save'. - Back in the Admin view page, hit 'Reconnect to Calibre DB'.
- If you go to your Calibre-web home you should now see your library!
- I went to the Terminal of the old instance and hit 'Download' and downloaded the
-