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.2k 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.
  • T Offline
    T Offline
    thetomester13
    App Dev
    wrote on last edited by girish
    #1

    Calibre is a popular self-hosted ebook manager. Github page.

    Now, Calibre is a desktop application, not a web application. But there is also Calibre-web, which is a web front end for the Calibre backend.

    Should Calibre and Calibre-web be hosted through a single Cloudron application, or 2 separate applications?

    Either way, I think these 2 applications could be very powerful on Cloudron.

    1 Reply Last reply
    8
    • E Offline
      E Offline
      ethanxrosen
      wrote on last edited by
      #2

      Agreed, would love to see ☺

      1 Reply Last reply
      0
      • yusfY Offline
        yusfY Offline
        yusf
        wrote on last edited by
        #3

        A Cloudron app hosting a desktop app? I don’t understand.

        T 1 Reply Last reply
        0
        • yusfY yusf

          A Cloudron app hosting a desktop app? I don’t understand.

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

          @yusf Calibre itself is quite a lot of things as I understand it. The important part here would be the server component. With Calibre installed locally, then Calibre-web would be the web interface to the server.

          I've done some research on open source ebook software out there, and Calibre is the one that always comes up with the most community support. Open to other suggestions!

          yusfY 1 Reply Last reply
          0
          • T thetomester13

            @yusf Calibre itself is quite a lot of things as I understand it. The important part here would be the server component. With Calibre installed locally, then Calibre-web would be the web interface to the server.

            I've done some research on open source ebook software out there, and Calibre is the one that always comes up with the most community support. Open to other suggestions!

            yusfY Offline
            yusfY Offline
            yusf
            wrote on last edited by
            #5

            @thetomester13 I see. So is it possible to isolate the server component and bundle it with Calibre Web without involving the desktop app?

            I’ve tried to look into this before but I’ve always come up short because of confusion around dependency on the desktop app, which I don’t want to involve in my setup.

            T 1 Reply Last reply
            0
            • yusfY yusf

              @thetomester13 I see. So is it possible to isolate the server component and bundle it with Calibre Web without involving the desktop app?

              I’ve tried to look into this before but I’ve always come up short because of confusion around dependency on the desktop app, which I don’t want to involve in my setup.

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

              @yusf Unfortunately, I believe the installation will include the many different components of Calibre, but you can start only the server component.

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

                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.

                T scookeS 3 Replies Last reply
                4
                • 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.

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

                  @ultraviolet Wow! If this works and packages both Calibre and Calibre-web then I will be one happy camper! I'm installing it now and will give it a whirl. I'm not a super active user of these services but I do have a bit of a library and use it every so often to download some books to my reader. I'll leave any notes. Thanks for tackling this!

                  1 Reply Last reply
                  1
                  • 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.

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

                    @ultraviolet unfortunately I didn't get very far yet... I'm not able to login on my fresh install of your Cloudron package. It looks as if you're trying to set up LDAP, however, I'm not able to login with my main Cloudron user and not sure if there's another default login to get past the original Calibre-web login form.

                    Another question for you: Is the Calibre server port exposed as well as the calibre-web application? For example, I like having access to Calibre-web as a GUI for managing the Calibre library, but I have an e-reader that can plug into Calibre's OPDS catalog in order to download books.

                    ultravioletU 1 Reply Last reply
                    0
                    • T thetomester13

                      @ultraviolet unfortunately I didn't get very far yet... I'm not able to login on my fresh install of your Cloudron package. It looks as if you're trying to set up LDAP, however, I'm not able to login with my main Cloudron user and not sure if there's another default login to get past the original Calibre-web login form.

                      Another question for you: Is the Calibre server port exposed as well as the calibre-web application? For example, I like having access to Calibre-web as a GUI for managing the Calibre library, but I have an e-reader that can plug into Calibre's OPDS catalog in order to download books.

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

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

                      mehdiM T 2 Replies Last reply
                      1
                      • 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.

                        mehdiM Offline
                        mehdiM Offline
                        mehdi
                        App Dev
                        wrote on last edited by
                        #11

                        @ultraviolet

                        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.

                        1 Reply Last reply
                        0
                        • 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
                                          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