Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. App Wishlist
  3. Calibre (& Calibre web?)

Calibre (& Calibre web?)

Scheduled Pinned Locked Moved Solved App Wishlist
43 Posts 10 Posters 9.7k Views 12 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • ultravioletU ultraviolet

    @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.

    T Offline
    T Offline
    thetomester13
    App Dev
    wrote on last edited by
    #12

    @ultraviolet Ok, I'm starting to find my way here.
    The admin: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 at calibre.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!

    ultravioletU 1 Reply Last reply
    3
    • ultravioletU ultraviolet

      Hi all,
      I have packaged this for Cloudron. I could use some more people to test functionality, conversion of books etc. You can clone, build and install from this repo.

      EDIT: I should mention it is quite a hefty build it may take some time to build the image. I may need to tidy up any installs too but would like to get some feedback from the community first.

      scookeS Offline
      scookeS Offline
      scooke
      wrote on last edited by
      #13

      @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)?

      A life lived in fear is a life half-lived

      1 Reply Last reply
      0
      • T thetomester13

        @ultraviolet Ok, I'm starting to find my way here.
        The admin: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 at calibre.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!

        ultravioletU Offline
        ultravioletU Offline
        ultraviolet
        App Dev
        wrote on last edited by
        #14

        @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? 😊

        1 Reply Last reply
        3
        • girishG Offline
          girishG Offline
          girish
          Staff
          wrote on last edited by
          #15

          @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.

          T 1 Reply Last reply
          0
          • girishG girish

            @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.

            T Offline
            T Offline
            thetomester13
            App Dev
            wrote on last edited by
            #16

            @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!

            1 Reply Last reply
            1
            • ultravioletU Offline
              ultravioletU Offline
              ultraviolet
              App Dev
              wrote on last edited by
              #17

              Calibre web operates completely standalone. It just uses the calibre database to store and order the books.

              1 Reply Last reply
              2
              • girishG Offline
                girishG Offline
                girish
                Staff
                wrote on last edited by
                #18

                @ultraviolet Do you think you can add a license to https://github.com/euanmcgregor/calibre-web-cloudron as well? Thanks

                ultravioletU 1 Reply Last reply
                1
                • girishG girish

                  @ultraviolet Do you think you can add a license to https://github.com/euanmcgregor/calibre-web-cloudron as well? Thanks

                  ultravioletU Offline
                  ultravioletU Offline
                  ultraviolet
                  App Dev
                  wrote on last edited by
                  #19

                  @girish all done!

                  1 Reply Last reply
                  2
                  • yusfY Offline
                    yusfY Offline
                    yusf
                    wrote on last edited by
                    #20

                    Oh! Gonna take it for a spin.

                    1 Reply Last reply
                    2
                    • yusfY Offline
                      yusfY Offline
                      yusf
                      wrote on last edited by
                      #21

                      Works pretty good! LDAP integration will ace it! 🎴

                      1 Reply Last reply
                      2
                      • ei8fdbE Offline
                        ei8fdbE Offline
                        ei8fdb
                        wrote on last edited by
                        #22

                        I've read this thread but wanted to ask - is there a procedure to follow for this installation? I'd like to try it.

                        1 Reply Last reply
                        1
                        • girishG Offline
                          girishG Offline
                          girish
                          Staff
                          wrote on last edited by
                          #23

                          @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

                          ultravioletU 1 Reply Last reply
                          1
                          • girishG Offline
                            girishG Offline
                            girish
                            Staff
                            wrote on last edited by
                            #24

                            @ei8fdb I put a small tutorial here - https://forum.cloudron.io/topic/3102/building-custom-packages . Feel free to ask questions there.

                            1 Reply Last reply
                            2
                            • girishG girish

                              @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

                              ultravioletU Offline
                              ultravioletU Offline
                              ultraviolet
                              App Dev
                              wrote on last edited by
                              #25

                              @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)

                              1 Reply Last reply
                              0
                              • girishG Offline
                                girishG Offline
                                girish
                                Staff
                                wrote on last edited by
                                #26

                                @ultraviolet I see but how did you generate them or create them? Are they provided by the upstream project?

                                ultravioletU 1 Reply Last reply
                                0
                                • girishG girish

                                  @ultraviolet I see but how did you generate them or create them? Are they provided by the upstream project?

                                  ultravioletU Offline
                                  ultravioletU Offline
                                  ultraviolet
                                  App Dev
                                  wrote on last edited by
                                  #27

                                  @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.

                                  1 Reply Last reply
                                  3
                                  • girishG Offline
                                    girishG Offline
                                    girish
                                    Staff
                                    wrote on last edited by
                                    #28

                                    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?

                                    jdaviescoatesJ 1 Reply Last reply
                                    0
                                    • girishG girish

                                      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?

                                      jdaviescoatesJ Online
                                      jdaviescoatesJ Online
                                      jdaviescoates
                                      wrote on last edited by
                                      #29

                                      @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/ )

                                      I use Cloudron with Gandi & Hetzner

                                      1 Reply Last reply
                                      1
                                      • T Offline
                                        T Offline
                                        thetomester13
                                        App Dev
                                        wrote on last edited by
                                        #30

                                        @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.

                                        1 Reply Last reply
                                        1
                                        • girishG Offline
                                          girishG Offline
                                          girish
                                          Staff
                                          wrote on last edited by
                                          #31

                                          @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.

                                          jdaviescoatesJ 1 Reply Last reply
                                          3
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • Bookmarks
                                          • Search