ZXY101 / mokuro-reader

A mokuro reader written in svelte
https://reader.mokuro.app/
GNU General Public License v3.0
51 stars 10 forks source link

[Feature Request] Docker container for self-hosting #21

Open TaakoMagnusen opened 3 months ago

TaakoMagnusen commented 3 months ago

I would like to self-host this app on my home server using a docker container. Ideally the docker container would accept a mapped volume to the location of all the mokuro bundles, and allow the user to choose one.

dlsf commented 1 month ago

I would love to see this as well - or at least instructions on how to deploy this app in a production environment

deckyfx commented 4 weeks ago

+1 For this, I have Casaos installed, and it would be great if we could do this.

@dlsf you may want to check this repo github.com/nanoskript/manga-ocr-docker, and under the hood mokuro use manga-ocr too

dlsf commented 4 weeks ago

That link unfortunately does not help; manga-ocr and mokuro are written in Python and the deployment process is different from for mokuro-reader (Typescript with Svelte). I have yet to figure out how to run this app in anything but preview mode (which isn't recommended for production environments); I didn't even manage to run it in dev mode per the instructions in the README. I appreciate the suggestion, though!

deckyfx commented 4 weeks ago

@dlsf Update: yeah I am also stuck, I tried to pull mokuro, and mokuro-reader but mokuro itself depends on another project named comic_text_reader, which is pretty old, (2 years ago) and my phtyon3 keep gets dependency version clash when pulling it's requirement.txt

comic_text_detector > depends on trdg > depends on > arabic_reshaper which not compatible with python3 I also need to rename onnx-simplifer to onnxsim

So for now it is a dependency version hell

dlsf commented 4 weeks ago

Hmm, that's weird, I recently got the latest version of mokuro working on my machine, and I even pushed it as an update to the nix package manager. Maybe your Python version is outdated? The latest version of mokuro also doesn't have a requirements.txt file