Skip to content

Commit d2a1104

Browse files
Merge PR #610: Improve customize.py.json documentation
- Enhanced README with better formatting and clearer instructions - Added comprehensive system paths section for finding customize.py.json - Improved Windows path guidance prioritizing AppData over Program Files - Added troubleshooting note for users without existing plugins - Updated docker-compose.yml comments for consistency - Better structured volume binding explanations with proper markdown lists Original PR by Seth Voltz with improvements applied. Closes #610
2 parents 42e7aab + fbcc49a commit d2a1104

3 files changed

Lines changed: 26 additions & 15 deletions

File tree

CONTRIBUTORS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
CONTRIBUTORS
22

33
This file is automatically generated. DO NOT EDIT MANUALLY.
4-
Generated on: 2025-09-12T19:34:33.644775Z
4+
Generated on: 2025-09-12T19:55:32.181011Z
55

66
Upstream project: https://github.com/janeczku/calibre-web
77
Fork project (Calibre-Web Automated, since 2024): https://github.com/crocodilestick/calibre-web-automated

README.md

Lines changed: 24 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ services:
310310
# If you don't have an existing library, CWA will automatically create one at the bind provided here
311311
- /path/to/your/calibre/library:/calibre-library
312312
# If you use calibre plugins, you can bind your plugins folder here to have CWA attempt to add them to its workflow (WIP)
313-
# If you are starting with a fresh install, you also need to copy plugins\..\customize.py.json to the corresponding docker location (the config path above + .config/calibre/customize.py.json)
313+
# If you are starting with a fresh install, you also need to copy customize.py.json to the Calibre config volume above, in /path/to/config/folder/.config/calibre/customize.py.json, see the note below for more info
314314
- /path/to/your/calibre/plugins/folder:/config/.config/calibre/plugins
315315
ports:
316316
# Change the first number to change the port you want to access the Web UI, not the second
@@ -322,18 +322,29 @@ services:
322322
~~~
323323

324324
### Explanation of the Container Bindings:
325-
- Make sure all 3 of the main bindings are separate directories, errors can occur when binds are made within other binds
326-
- `/config` - This is used to store logs and other miscellaneous files that keep CWA running
327-
- **New Users** - Use any empty folder (if you run into any issues, make sure the ownership of said folder isn't `root:root` in your main os)
328-
- **Existing/ CW Users** - Those with existing Calibre-Web setups, map this to your existing `/config` directory containing `app.db` to ensure settings and users are pulled in
329-
- `/cwa-book-ingest` - **ATTENTION** ⚠️ - All files within this folder will be **DELETED** after being processed. This folder should only be used to dump new books into for import and automatic conversion
330-
- `/calibre-library` - This should be bound to your Calibre library folder where the `metadata.db` & book(s) files reside.
331-
- **New Users** - Use any empty folder (if you run into any issues, make sure the ownership of said folder isn't `root:root` in your main os)
332-
- **Existing/ CW Users** - If there are multiple libraries in the mounted directory, CWA will automatically find and mount the largest one - check the logs for more details on which `metadata.db` was utilised
333-
- `/config/.config/calibre/plugins` - This should be bound to a directory containing a copy of your existing Calibre plugins. Configuration will be retained. (There is currently no way to configure plugins via CWA.)
334-
- You must also copy the customize.py.json file from the Calibre plugins' parent directory to the corresponding location (i.e. /path/to/config/folder/.config/calibre/customize.py.json)
335-
<!-- - `/books` _(Optional)_ Utilise if you have a separate collection of book files somewhere and want to be able to access within the container. For the majority of users, this is not required and mounting`/calibre-library' is sufficient -->
336-
- `/app/calibre-web-automated/gmail.json` _(Optional)_ - This is used to setup Calibre-Web and/or CWA with your gmail account for sending books via email. Follow the guide [here](https://github.com/janeczku/calibre-web/wiki/Setup-Mailserver#gmail) if this is something you're interested in but be warned it can be a very fiddly process, I would personally recommend a simple SMTP Server
325+
326+
Please make sure all 3 of the main volume bindings are separate directories, errors can occur when binds are made within other binds.
327+
328+
- `/config` - This is used to store logs and other miscellaneous files that keep CWA running
329+
- **New Users** - Use any empty folder (if you run into any issues, make sure the ownership of said folder isn't `root:root` in your main os)
330+
- **Existing/ CW Users** - Those with existing Calibre-Web setups, map this to your existing `/config` directory containing `app.db` to ensure settings and users are pulled in
331+
- `/cwa-book-ingest` - **ATTENTION** ⚠️ - All files within this folder will be **DELETED** after being processed. This folder should only be used to dump new books into for import and automatic conversion
332+
- `/calibre-library` - This should be bound to your Calibre library folder where the `metadata.db` & book(s) files reside.
333+
- **New Users** - Use any empty folder (if you run into any issues, make sure the ownership of said folder isn't `root:root` in your main os)
334+
- **Existing/ CW Users** - If there are multiple libraries in the mounted directory, CWA will automatically find and mount the largest one - check the logs for more details on which `metadata.db` was utilised
335+
- `/config/.config/calibre/plugins` - This should be bound to a directory containing a copy of your existing Calibre plugins. Configuration will be retained. (There is currently no way to configure plugins via CWA.)
336+
- In order for plugins to be registered and work, you must also copy the `customize.py.json` file from the Calibre plugins' parent directory to the correct config folder above, e.g. `/path/to/config/folder/.config/calibre/customize.py.json`. See the section below if you don't know where to find this file.
337+
<!-- - `/books` _(Optional)_ Utilise if you have a separate collection of book files somewhere and want to be able to access within the container. For the majority of users, this is not required and mounting`/calibre-library' is sufficient -->
338+
- `/app/calibre-web-automated/gmail.json` _(Optional)_ - This is used to setup Calibre-Web and/or CWA with your gmail account for sending books via email. Follow the guide [here](https://github.com/janeczku/calibre-web/wiki/Setup-Mailserver#gmail) if this is something you're interested in but be warned it can be a very fiddly process, I would personally recommend a simple SMTP Server
339+
340+
### Where can I find `customize.py.json`:
341+
342+
- On macOS, this file is typically found at `~/Library/Preferences/calibre/customize.py.json`.
343+
- On Linux, it is usually located at `~/.config/calibre/customize.py.json`.
344+
- On Windows, it is usually located at `%APPDATA%\calibre\customize.py.json` (typically `C:\Users\<YourUsername>\AppData\Roaming\calibre\customize.py.json`). Older installations might have it in `C:\Program Files\Calibre\customize.py.json` or `C:\Program Files\Calibre2\customize.py.json`.
345+
346+
**Note:** If you can't find this file, it means you haven't configured any Calibre plugins yet. You can skip the plugins volume binding if you don't use Calibre plugins.
347+
337348

338349
And just like that, Calibre-Web Automated should be up and running! **HOWEVER** to avoid potential problems and ensure maximum functionality,we recommend carrying out these [Post-Install Tasks Here](#post-install-tasks).
339350

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ services:
3030
# If you don't have an existing library, CWA will automatically create one at the bind provided here
3131
- /path/to/your/calibre/library:/calibre-library
3232
# If you use calibre plugins, you can bind your plugins folder here to have CWA attempt to add them to it's workflow (WIP)
33-
# If you are starting with a fresh install, you also need to copy plugins\..\customize.py.json to the corresponding docker location (the config path above + .config/calibre/customize.py.json)
33+
# If you are starting with a fresh install, you also need to copy customize.py.json to the Calibre config volume above, in /path/to/config/folder/.config/calibre/customize.py.json, see the README for more info
3434
- /path/to/your/calibre/plugins/folder:/config/.config/calibre/plugins
3535
ports:
3636
# Change the first number to change the port you want to access the Web UI, not the second

0 commit comments

Comments
 (0)