Repository navigation
Another platform. #110
Replies: 28 comments 3 replies
|
You can clone the repo and run it locally To run CLU (Comic Library Utilities) locally without Docker, you will need to set up a Python environment and install several system-level dependencies used for processing comic archives (CBR/CBZ) and PDFs. Prerequisites
Step-by-Step Instructions1. Clone the RepositoryOpen your terminal and clone the repository to your local machine: git clone https://github.com/allaboutduncan/clu-comics.git
cd clu-comics
2. Install System DependenciesInstall the required binaries for your operating system:
sudo apt update
sudo apt install unar poppler-utils
brew install unar poppler
3. Create a Virtual EnvironmentIt is highly recommended to use a virtual environment to manage dependencies: python -m venv venv
# Activate on Linux/macOS:
source venv/bin/activate
# Activate on Windows:
.\venv\Scripts\activate
4. Install Python DependenciesInstall the required Python packages: pip install --upgrade pip
pip install -r requirements.txt
5. Install Playwright BrowsersCLU uses Playwright for web scraping and metadata retrieval. You must install the Chromium browser specifically: playwright install chromium
6. Set Up Required DirectoriesThe application expects specific directory structures for its configuration and data. In a non-Docker environment, the app may default to root paths (e.g.,
mkdir -p ./config ./data ./downloads/temp ./downloads/processed ./logs
# Example .env file content
FLASK_ENV=development
MONITOR=no
# Note: If the app code expects absolute paths like /data,
# you may need to symlink them or check the config.ini file.
7. Run the ApplicationYou can start the application using the built-in Flask server (for development) or Gunicorn (for production-like behavior).
python app.py
gunicorn -w 1 --threads 8 -b 0.0.0.0:5577 --timeout 120 app:app
8. Access the Web UIOpen your browser and navigate to: Configuration Tips
|
|
100% generated that with Google Gemini - but very accurate. You can try this and ask here (or Gemini) if you have issues |
I don't really trust AI. Can you package it in a .exe file for later installation in Windows? |
|
Unfortunately there's not an easy and/or reliable way to package a Python/Flask app into an .exe file. I won't completely rule it out, but it will be a ways down the road, if at all. I'd rather have it feature complete and stable before I tackle something like that. |
|
Unfortunately, I'm still a noob at installing packages for any platforms. I did everything that is currently installed at my own risk, and it was not a very successful experience, because the developer indicated that the package would "probably" work on Windows, but I would prefer the installer. |
|
I can totally understand that. I'll rename this request and in the future I can at least provide manual steps to install on Windows and Mac - once I document, test and verify them. |
I will keep an eye on updates CLU, please, if you make an adequate version for Windows, I would like an installer, please do not use Docker, use other platforms. Let me know about it, hopefully it will happen soon. 😉 |
|
@allaboutduncan Hi! The first time I start, I get a number of errors.
When trying to add a local library. eg. D:\Media\Comics
I am attaching logs, I hope you can help me. |
|
You'll need to map the path in your Docker Compose file - the app itself doesn't under the concept of letter drives. In your docker setup, you would map like this (using what's in your image)
and in the UI, you would enter
|
|
I would like to know if I'm warning you correctly. When installing, I didn't use docker, but used Python? Can I go into a little more detail? But to be honest, I do not know how to do this, much less do it right? |
|
I'd have to do some investigation and testing to see how that would work. in and try |
|
The first block it seems like it's failing because it's trying to start before it's initialized. For the 2nd error |
|
What shows in the UI when you visit the File Manager? |
|
When you click the "Library" button does anything show? Have you attempted to add a Library in the settings? |
|
It's not seeing any libraries. Try adding one in Settings |
|
Yeah, it's not setup to recognize the drive letter. |
|
While I haven't linked anything yet, how do I do it correctly in a Python file, specifying all my libraries on local disks? |
|
@allaboutduncan Hi, what about my question about adding local folders? |
|
Two ways add them as objects from pathlib import Path
# Define your paths
manga_dir = Path(r"D:\Media\Manga")
comics_dir_d = Path(r"D:\Media\Comics")
comics_dir_e = Path(r"E:\Media\Comics")
# Example: List all files in the Manga folder
for file in manga_dir.iterdir():
print(file.name)or just add them as a string
|
|
It's likely going to be in several locations. Implementing this way will also likely introduce additional problems as well. Best course of action is either use chatGPT or Google Gemini to help you setup Docker - which is pretty easy or wait until I have a change to investigate a compile into a stand-alone app (maybe in ~3-6 months) |
|
@allaboutduncan In the latest version, I get this error: |
|
Looks like you're running this locally based on the Newest version updates the RAR requirements. Ensure you have installed new Also, if you're running locally, you'll want to follow these steps based on your environment: Local Development Setup (Windows)
Local Development Setup (Linux/macOS)
Ubuntu/Debiansudo apt install unar p7zip-full poppler-utils fonts-liberation fonts-dejavu-core macOS (Homebrew)brew install unar p7zip poppler
|
|
@allaboutduncan After the update, I get an error. |
|
Most recent version has a python upgrade. You'll want to deactivate your virtual environment, install the requirements and re-activate |







Uh oh!
There was an error while loading. Please reload this page.
Unfortunately, there is no way to create a discussion, and I had to create a problem. I don't use Docker, but I really want to use this product. Are there any alternatives without Docker's involvement?
All reactions