config:calibre
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
config:calibre [2020/04/07 17:10] – Wulf Rajek | config:calibre [2023/05/29 11:55] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 13: | Line 13: | ||
see https:// | see https:// | ||
+ | Autoupdate script: | ||
+ | https:// | ||
+ | https:// | ||
- | ===== DeDRM Kobo ===== | + | ====== Calibre server autostart ====== |
- | Source: https://medium.com/@angeldan1989/ | + | Calibre content server systemd: |
+ | https://manual.calibre-ebook.com/server.html | ||
- | Step 1. Download Kobo books to Computer/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" | + | sudo vi / |
+ | </ | ||
+ | <code - / | ||
+ | [Unit] | ||
+ | Description=calibre content server | ||
+ | After=network.target | ||
+ | RequiresMountsFor=/ | ||
+ | |||
+ | [Service] | ||
+ | Type=simple | ||
+ | User=mylinuxuser | ||
+ | Group=mylinuxgroup | ||
+ | ExecStart=/ | ||
+ | |||
+ | [Install] | ||
+ | WantedBy=multi-user.target | ||
+ | </ | ||
+ | < | ||
+ | sudo systemctl start calibre-server | ||
+ | </ | ||
+ | < | ||
+ | sudo systemctl status calibre-server | ||
+ | </ | ||
+ | To make it start at boot, run: | ||
+ | < | ||
+ | sudo systemctl enable calibre-server | ||
+ | </ | ||
+ | |||
+ | |||
+ | ====== DeDRM Kobo ====== | ||
+ | |||
+ | Source: https:// | ||
+ | Source: https:// | ||
+ | |||
+ | 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" | ||
Note: .acsm files require the use of Adobe Digital Editions (Adobe ID) to deDRM. | 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:// | ||
+ | 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/ | ||
+ | Download Calibre DeDRM_plugin.zip (v 6.6.3) http:// | ||
+ | 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. | ||
- | Step 2: Convert Kobo (KEPUB) | + | Make sure to use the same email address as your kobo account to authorize the Adobe ID. |
- | Tools we will need: Calibre; obok_plugin v6.5.4 (https:// | + | |
- | Run Calibre, and then add the newly downloaded obok_plugin.zip into Calibre. | + | |
- | Preferences -> Plugins -> Load plugin from file | ||
- | Once the plugin added well, restart | + | ====== |
- | Click on the plugin, it will show all your downloaded KEPUB books. Choose books and select “OK”. | + | |
- | Soon the kobo kepub drm removing begin. I must say that this plugin is so powerful that all kobo books drm will be finished within several seconds. From the right side area you will found that the drm free kobo books will be EPUB (not .kepub). | + | https:// |
- | By this method we can extract kobo kepub to common ePub format. | + | < |
+ | pip3 install APScheduler | ||
+ | pip3 install calibreweb | ||
+ | pip3 install advocate | ||
+ | pip3 install flask-limiter | ||
+ | </ | ||
+ | / | ||
- | Step 2 (optional). Remove Kobo DRM from Kobo ACSM and convert formats. | + | Launch web browser |
+ | Username: admin | ||
+ | Password: admin123 | ||
- | What if I downloaded the kobo books from kobo library online (.acsm)? In this situation firstly use Adobe Digital Editions (Adobe ID, the same email address as your kobo account please) to download the kobo acsm as ePub/PDF please. | + | Service file for installation via pip |
- | Then, download | + | If you want to get Calibre-Web started automatically after reboot follow this instructions. |
+ | Create a file cps.service as root in the folder | ||
- | Restart Calibre, choose | + | Replace |
- | But if you failed (Calibre failed to find out the corrent Adobe adept key file), find the newly added dedrm plugin | + | Find the location of the calibre-web starterfile cps, this should be something like / |
- | DeDRM -> Customize plugin -> Adobe Digital Editions ebooks\\ | + | Another option is using {path to correct pythoninstance} |
- | Soon the plugin will list all the key files. This means, if you used different Adobe ID to sync your books, there will be different key files. | + | The correct python instance depends on how you installed calibre-web (e.g. virtual environment, system interpreter) |
- | So make sure use the same email address as your kobo account to authorize the Adobe ID please, this is very important. And just because of this point, someone will get stuck with this method. Use correct Adobe ID and make sure you can open your kobo acsm with ADE please! | + | < |
+ | < | ||
+ | [Unit] | ||
+ | Description=Calibre-Web | ||
+ | [Service] | ||
+ | Type=simple | ||
+ | User=root | ||
+ | ExecStart=/ | ||
+ | |||
+ | [Install] | ||
+ | WantedBy=multi-user.target | ||
+ | </ | ||
- | The bottom line: Tips& | + | Enable the service |
+ | < | ||
+ | sudo systemctl enable cps.service | ||
+ | </ | ||
+ | start the service | ||
+ | < | ||
+ | sudo systemctl start cps.service | ||
+ | </ | ||
- | - Kobo books will be adopted in different drm scheme and format. In a word, if books are downloaded via Kobo its desktop app or eReader, Kobo unique drm and format — KEPUB; If books are downloaded via Adobe Digital Editions, they are bundled with Adobe DRM — ACSM. | + | extras: |
- | - Different DRM scheme, different Calibre plugin to be installed. But for 100% success to remove drm from kobo books, I highly recommend you use Kobo desktop app/eReader to download kobo books, not the ADE! Trust me it’s an easier method, saves your time much. | + | https://github.com/janeczku/calibre-web/wiki/ |
- | - Where are my kobo books stored on my Mac or Win 10 computer? By default they are actually stored in kepub format in …\Kobo\Kobo Desktop Edition\kepub. If you download books via ADE, they are in … /My Documents/My Digital Editions. | + | |
- | | + | |
- | | + | |
+ | Url for OPDS catalog: | ||
+ | http:// | ||
config/calibre.1586275820.txt.gz · Last modified: 2023/05/29 11:53 (external edit)