User Tools

Site Tools


config:calibre

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
config:calibre [2019/04/03 01:34] Wulf Rajekconfig:calibre [2023/05/29 11:55] (current) – external edit 127.0.0.1
Line 12: Line 12:
 When mounting cifs share and using calibre database on that share, use the 'nobrl' mount option to avoid locking issues and incorrect error messages.\\  When mounting cifs share and using calibre database on that share, use the 'nobrl' mount option to avoid locking issues and incorrect error messages.\\ 
 see https://bugs.launchpad.net/calibre/+bug/1760535 see https://bugs.launchpad.net/calibre/+bug/1760535
 +
 +Autoupdate script:
 +https://www.mobileread.com/forums/showthread.php?t=237233
 +https://github.com/eli-schwartz/calibre-installer
 +
 +====== Calibre server autostart ======
 +
 +Calibre content server systemd:
 +https://manual.calibre-ebook.com/server.html
 +
 +<code>
 +sudo vi /etc/systemd/system/calibre-server.service
 +</code>
 +<code - /etc/systemd/system/calibre-server.service>
 +[Unit]
 +Description=calibre content server
 +After=network.target
 +RequiresMountsFor=/path/to/calibre_library_directory
 +
 +[Service]
 +Type=simple
 +User=mylinuxuser
 +Group=mylinuxgroup
 +ExecStart=/opt/calibre/calibre-server "/path/to/calibre_library_directory"
 +
 +[Install]
 +WantedBy=multi-user.target
 +</code>
 +<code>
 +sudo systemctl start calibre-server
 +</code>
 +<code>
 +sudo systemctl status calibre-server
 +</code>
 +To make it start at boot, run:
 +<code>
 +sudo systemctl enable calibre-server
 +</code>
 +
 +
 +====== DeDRM Kobo ======
 +
 +Source: https://medium.com/@angeldan1989/a-complete-guide-to-convert-kobo-to-epub-pdf-kindle-d8523197d927 \\ 
 +Source: https://medium.com/@angeldan1989/calibre-drm-removal-plugins-2019-remove-ebook-drm-with-calibre-4ec9c07cae80  \\ 
 +
 +Download Kobo books to Kobo desktop app/Kobo eReader first.\\ 
 +Downloading Kobo titles onto Kobo eReader or the Kobo desktop will download eBooks in .kepub format (and kepub drm), But downloading Kobo books from Kobo's official site ("My Books"), the file will be .acsm files (in fact they are .epub or .pdf, adobe adept drm adopted).\\ 
 +
 +Note: .acsm files require the use of Adobe Digital Editions (Adobe ID) to deDRM.
 +
 +===== Remove DRM from Kobo (KEPUB) =====
 +Required: obok_plugin v6.5.4 (https://www.epubor.com/download/obok_plugin.zip).\\ 
 +Load the kepub files into calibre.\\ 
 +By default the ebooks are stored in kepub format in ...\Kobo\Kobo Desktop Edition\kepub. \\ 
 +Run Calibre, and then add the obok_plugin.zip into Calibre via Preferences -> Plugins -> Load plugin from file\\ 
 +Restart Calibre; The plugin is available in the top menu bar.\\ 
 +Click on the plugin, it will show all your downloaded KEPUB books. Choose books and select “OK”.\\ 
 +
 +===== Remove Kobo DRM from Kobo ACSM =====
 +Use Adobe Digital Editions (Adobe ID with the same email address as your kobo account) to download the kobo acsm as ePub/PDF.\\ 
 +Download Calibre DeDRM_plugin.zip (v 6.6.3) http://download.epubor.com/DeDRM_plugin.zip and add it into Calibre. \\ 
 +Restart Calibre, import the kobo acsm books into the library and the DRM will be removed by the plugin automatically.\\ 
 +Adobe Digital Editions stores downloaded ebooks into ...\My Documents\My Digital Editions.
 +
 +If Calibre failed to find the correct Adobe adept key file, configure the via DeDRM plugin -> Customize plugin -> Adobe Digital Editions ebooks.\\ 
 +The plugin will list all the key files. If you used different Adobe ID to sync your books, there will be different key files.
 +
 +Make sure to use the same email address as your kobo account to authorize the Adobe ID.
 +
 +
 +====== Calibre-Web ======
 +
 +https://github.com/janeczku/calibre-web
 +
 +<code>
 +pip3 install APScheduler
 +pip3 install calibreweb
 +pip3 install advocate
 +pip3 install flask-limiter
 +</code>
 +
 +/usr/local/bin/cps
 +
 +    Launch web browser and write http://localhost:8083 
 +    Username: admin
 +    Password: admin123
 +
 +Service file for installation via pip
 +
 +If you want to get Calibre-Web started automatically after reboot follow this instructions. 
 +Create a file cps.service as root in the folder /etc/systemd/system with the following content:
 +
 +Replace the elements in {} like User, ExecStart and WorkingDirectory with your username and file- and foldernames.
 +
 +Find the location of the calibre-web starterfile cps, this should be something like /home/<user>/.local/bin/cps. 
 +Another option is using {path to correct pythoninstance} -m cps as starterfile. 
 +The correct python instance depends on how you installed calibre-web (e.g. virtual environment, system interpreter)
 +
 +<code>sudo vi /etc/systemd/system/cps.service</code>
 +<code>
 +[Unit]
 +Description=Calibre-Web
 +
 +[Service]
 +Type=simple
 +User=root
 +ExecStart=/home/USER/.local/bin/cps
 +   
 +[Install]
 +WantedBy=multi-user.target
 +</code>
 +
 +Enable the service
 +<code>
 +sudo systemctl enable cps.service
 +</code>
 +start the service
 +<code>
 +sudo systemctl start cps.service
 +</code>
 +
 +extras:
 +https://github.com/janeczku/calibre-web/wiki/Dependencies-in-Calibre-Web-Linux-Windows
 +
 +
 +Url for OPDS catalog:
 +http://localhost:8083/opds 
 +
config/calibre.1554251687.txt.gz · Last modified: 2023/05/29 11:53 (external edit)