Live data from Hacker News

Kavita – Self-hosted digital library which supports a vast array of file formats

kavitareader.com

81–90 of 90 posts

Re: Kavita – Self-hosted digital library which supports a vast array of file formats

#81
post #7

Earlier quoted context omitted.

So you can only read while at home, unless I misunderstood something.

You should def setup a reverse proxy. Our wiki has examples for most of the popular ones: https://wiki.kavitareader.com/en/install/reverse-proxy

Setting up a reverse proxy is a good way to access the server or container but I would recommend that nobody do this. I did a quick look through of the code on github and I would strongly advocate against exposing this server to the internet at this time even if it were situated behind a reverse proxy with an encrypted connection. The code is immature and not particularly well hardended, many error messages just spew out to Console and catch clauses are empty/non-logging and don't handle the error. There were several places in the repository pattern that gave me pause, and whilst there was only a limited number of ExecuteCommand invocations wrapped in a helper function, that is not to say there isn't a way to ExecuteCommand or perform other attacks. A malformed PDF, CBR or epub could easily fuzz this server. A VPN connecting to the server, or at the very least, symmetric challenge/response HTTPS with a client key requirement on the reverse proxy, with the server running in an isolated Docker container is the only way I'd expose this service.

P.S. I know you are the author of the code and not trying to state anything about the code, but merely that I would be careful exposing it to the internet at this time.

Re: Kavita – Self-hosted digital library which supports a vast array of file formats

#82
First of all, great work and name. I hadn’t even realized that I was looking for this. Installed it on my NAS under docker.

Also got interested in competitors so tried a couple. Here are my notes:

1) docker works well. UI is fine, was able to figure out without much effort.

2) not sure what is the difference manga and comics? For some reason it didn’t scan some Pdfs as manga but did as comics.

3) wasn’t able to make caliber-web docker work, but tried ubooquity. For some reasons PDFs render sharper with ubooquity than with Kavita. It is fairly obvious and checked with a few. All settings are default. ubooquity was also faster, but I prefer the UI of Kavita.

Re: Kavita – Self-hosted digital library which supports a vast array of file formats

#83
post #82

First of all, great work and name. I hadn’t even realized that I was looking for this. Installed it on my NAS under docker. Also got interested in competitors so tried a couple. Here are my notes: 1) docker works well. UI is fine, was able to figure out without much effort. 2) not sure what is the difference manga and comics? For some reason it didn’t scan some Pdfs as manga but did as comics. 3) wasn’t able to make…

> wasn’t able to make caliber-web docker work

I done through this route before. From the best of my crappy memory, you need to make sure that you create calibre library before starting the web part. You would have to do it through the standalone app.

And for docker, it kinda a fickle from I remember. you have to bind the calibre-web to your local calibre library folder. You need to enable the docker to access to that folder. It took me multiple guides to understand how to make this works.

Re: Kavita – Self-hosted digital library which supports a vast array of file formats

#84
post #82

First of all, great work and name. I hadn’t even realized that I was looking for this. Installed it on my NAS under docker. Also got interested in competitors so tried a couple. Here are my notes: 1) docker works well. UI is fine, was able to figure out without much effort. 2) not sure what is the difference manga and comics? For some reason it didn’t scan some Pdfs as manga but did as comics. 3) wasn’t able to make…

> wasn’t able to make caliber-web docker work I done through this route before. From the best of my crappy memory, you need to make sure that you create calibre library before starting the web part. You would have to do it through the standalone app. And for docker, it kinda a fickle from I remember. you have to bind the calibre-web to your local calibre library folder. You need to enable the docker to access to that…

Thanks I’ll give it another shot.

Re: Kavita – Self-hosted digital library which supports a vast array of file formats

#85
post #13

Would love to give the demo a try, but am getting "Your credentials aren't correct" unfortunately.

That just means someone changed it because they are bullies. Let me change it back. :)

It's been changed again. You should probably modify the demo deployment to prevent password changes, as well as revert the system to a known good state every so often to undo whatever nonsense has been done to it.

Re: Kavita – Self-hosted digital library which supports a vast array of file formats

#86
post #84

Earlier quoted context omitted.

> wasn’t able to make caliber-web docker work I done through this route before. From the best of my crappy memory, you need to make sure that you create calibre library before starting the web part. You would have to do it through the standalone app. And for docker, it kinda a fickle from I remember. you have to bind the calibre-web to your local calibre library folder. You need to enable the docker to access to that…

Thanks I’ll give it another shot.

Here a few guides that I used in the past that helps me to understand and how to set up for Calibre-Web to work with Docker.

I have a guide for the Docker with local filesystem that helps me to make it work[1],[2]. I remember that Docker is particular with file path and you have to use the Docker file path convention, they uses forward slashes instead backslashes like Windows.

[1] https://flaviocopes.com/docker-access-files-outside-containe...

[2] https://stackoverflow.com/questions/44876778/how-can-i-use-a...

Re: Kavita – Self-hosted digital library which supports a vast array of file formats

#87
post #31

Earlier quoted context omitted.

An offline reading feature would be great. Start the reader, mark some books for offline access, download them, go offline, read them, sync the page number with the server when back online.

Haha I tried this last week with PWAs, but they weren't able to provide the level of control I needed to achieve literally this idea. So it looks like native-ish code is in my future for iOS and Android :( But you can download files and use native readers already.

Yes, and it's what I do. I copy ebooks from my computer to my phone with Syncthing, read on my phone and... only on my phone :-)

I know that there are page syncing services, maybe even a self hostable one from Mozilla but I'm lazy about this. After all my phone is always close to me and the screen is even wider than newspaper columns used to be.

Too bad browsers are too crippled to build PWAs with the power of native apps. Thanks for the effort anyway :-)

Re: Kavita – Self-hosted digital library which supports a vast array of file formats

#88
post #84

Earlier quoted context omitted.

Thanks I’ll give it another shot.

Here a few guides that I used in the past that helps me to understand and how to set up for Calibre-Web to work with Docker. I have a guide for the Docker with local filesystem that helps me to make it work[1],[2]. I remember that Docker is particular with file path and you have to use the Docker file path convention, they uses forward slashes instead backslashes like Windows. [1] https://flaviocopes.com/docker-acces…

This is the error I’m running into. I’m running it on a Synology NAS.

https://github.com/linuxserver/docker-calibre-web/issues/162

The folder and port mapping was done, I'm familiar with using Docker.

Re: Kavita – Self-hosted digital library which supports a vast array of file formats

#89

I'd love to have something like this if I ever bought a https://onyxboox.com/boox_nova3color If it could download "to-read" books/manga onto local storage and then sync page numbers when you connect to wifi that would be amazing.

I have a waaay simpler version with only ePub with no pictures support: https://h5reader.azurewebsites.net/

The advantage is you don't have to install anything. Whatever books you upload are simply stored in your browser (might be an issue on iOS). If you want to sync, you login into your Google Drive, and books and positions are synced via it.

It is not correctly set to be a PWA, but if you're offline and the tab is still open, it will continue to work.

Re: Kavita – Self-hosted digital library which supports a vast array of file formats

#90
post #88

Earlier quoted context omitted.

Here a few guides that I used in the past that helps me to understand and how to set up for Calibre-Web to work with Docker. I have a guide for the Docker with local filesystem that helps me to make it work[1],[2]. I remember that Docker is particular with file path and you have to use the Docker file path convention, they uses forward slashes instead backslashes like Windows. [1] https://flaviocopes.com/docker-acces…

This is the error I’m running into. I’m running it on a Synology NAS. https://github.com/linuxserver/docker-calibre-web/issues/162 The folder and port mapping was done, I'm familiar with using Docker.

Oh Synology NAS, I am not familiar with their and I haven't use it before. This happened in Windows in my experience. Thank you for the link!

Now I remember there is one more step, I fixed it by putting the library in the root folder of the drive. That solved the issue for me. I only tried it for a day and shut it down.

I am planning to get RPI and put calibre-web in it. It still in my todo list.

Post reply on HN