All Projects → Leseratte10 → acsm-calibre-plugin

Leseratte10 / acsm-calibre-plugin

Licence: GPL-3.0 license
Calibre plugin for ACSM->EPUB and ACSM->PDF conversion.

Programming Languages

python
139335 projects - #7 most used programming language
c
50402 projects - #5 most used programming language

Projects that are alternatives of or similar to acsm-calibre-plugin

knock
Convert ACSM files to DRM-free EPUB files with one command on Linux
Stars: ✭ 263 (+122.88%)
Mutual labels:  epub, adobe, adept, adobe-digital-editions, acsm
ebook-converter
Commandline tool for converting between several e-books formats, based on Calibre project.
Stars: ✭ 21 (-82.2%)
Mutual labels:  epub, calibre
Calibre Web
📚 Web app for browsing, reading and downloading eBooks stored in a Calibre database
Stars: ✭ 5,616 (+4659.32%)
Mutual labels:  epub, calibre
CalibreLibgenStore
A Libgen Fiction store plugin for Calibre
Stars: ✭ 117 (-0.85%)
Mutual labels:  calibre, calibre-plugin
Calibre
The official source code repository for the calibre ebook manager
Stars: ✭ 11,221 (+9409.32%)
Mutual labels:  epub, calibre
Safaribooks
Download and generate EPUB of your favorite books from O'Reilly Learning (aka Safari Books Online) library.
Stars: ✭ 3,208 (+2618.64%)
Mutual labels:  epub, calibre
calibre-kindle-comics
A calibre plugin that converts your comics into a readable format for kindle.
Stars: ✭ 32 (-72.88%)
Mutual labels:  epub, calibre
Epub
一步一步学习如何制作一个EPub电子书阅读器。How to make a EPub e-book reader step by step.
Stars: ✭ 22 (-81.36%)
Mutual labels:  epub
Kingpin
📖 EPUB и PDF версии перевода книги Kingpin (Кевин Поулсен)
Stars: ✭ 18 (-84.75%)
Mutual labels:  epub
ExtendScript
🍆 Getting started with ExtendScript ✨ by Jeff Davis
Stars: ✭ 23 (-80.51%)
Mutual labels:  adobe
SDKLauncher-OSX
A small OS X application to serve as a launcher/testbed for the Readium SDK on the Mac.
Stars: ✭ 21 (-82.2%)
Mutual labels:  epub
jEpub
Simple EPUB builder library, works in modern browsers.
Stars: ✭ 33 (-72.03%)
Mutual labels:  epub
iRead
iRead is an EPUB reader for iOS written in Swift
Stars: ✭ 83 (-29.66%)
Mutual labels:  epub
readiator
a cross-platform epub reader app
Stars: ✭ 30 (-74.58%)
Mutual labels:  epub
inker
Measure & copy CSS from your designs of Sketch, Gravit Designer, Adobe XD, Vectr, etc. Pro version: https://github.com/inker8/
Stars: ✭ 56 (-52.54%)
Mutual labels:  adobe
Reader.js
Javascript library for RIDI EPUB Viewer
Stars: ✭ 21 (-82.2%)
Mutual labels:  epub
plugin-toolkit-react
Adobe XD plugin UI components for React
Stars: ✭ 30 (-74.58%)
Mutual labels:  adobe
open-type-features
Testing the OpenType features of installed fonts in Adobe InDesign
Stars: ✭ 40 (-66.1%)
Mutual labels:  adobe
ovid-editor
Adobe panel providing the most advanced scripting environment possible -- Typescript, app DOM autocomplete, full I/O features and more
Stars: ✭ 43 (-63.56%)
Mutual labels:  adobe
readium-css
🌈 A set of reference stylesheets for EPUB Reading Systems, starting with Readium Mobile
Stars: ✭ 78 (-33.9%)
Mutual labels:  epub

Calibre ACSM Input plugin

This is a Calibre plugin that allows you to turn ACSM files into EPUB or PDF files without the need for Adobe Digital Editions. It is a full Python reimplementation of libgourou by Grégory Soutadé (http://indefero.soutade.fr/p/libgourou/).

ACSM Input Plugin for Calibre - Copyright (c) 2021-2022 Leseratte10
ACSM Input Plugin for Calibre (DeACSM) / acsm-calibre-plugin
Copyright (c) 2021-2022 Leseratte10

This software is a Python reimplementation of the C++ library 
"libgourou" by Grégory Soutadé which is under the LGPLv3 or later 
license (http://indefero.soutade.fr/p/libgourou/).

I have no idea whether a reimplementation in another language counts 
as "derivative use", so just in case it does, I'm putting this project 
under the GPLv3 (which is allowed in the LGPLv3 license) to prevent any 
licensing issues. 

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.

See the "LICENSE" file for a full copy of the GNU GPL v3.

Setup

Download the plugin and import it into Calibre, then open the plugin settings. The plugin should display "Not authorized for any ADE ID". You now have multiple options to authorize the plugin:

  • You can click on "Link to ADE account" and enter your AdobeID credentials to link your Calibre installation to your AdobeID account. This uses up one of your available activations.
  • You can click on "Create anonymous authorization" to create an anonymous authorization. Make sure to create backups of that authorization.
  • If you have ADE installed and activated on your machine, you can click "Import activation from ADE" to clone the existing activation from your ADE installation.
  • If you have used this plugin before, you can click on "Import existing activation backup" to import a previously created activation backup (ZIP) file to restore an activation. This functionality can also be used to clone one activation to multiple computers.

During authorization, the plugin may ask you for the ADE version to emulate. Usually you can leave this setting as it is (ADE 2.0.1).

After you've activated the plugin, make a backup of the activation using the "Export account activation data". Then click "Export account encryption key" and import the resulting file into the DeDRM plugin for DRM removal. If you're using noDRM's fork of the DeDRM plugin, this step will happen automatically. If you don't have the DeDRM plugin set up (or you're not using noDRM's fork and didn't import the key file) you will not be able to read the downloaded books in Calibre due to the DRM.

Once that's done, download an ACSM file from Adobe's test library and see if you can import it into Calibre: https://www.adobe.com/de/solutions/ebook/digital-editions/sample-ebook-library.html

IMPORTANT:

  • I would suggest creating a new dummy AdobeID to use for Calibre so just in case Adobe detects this and bans you, you don't lose your main AdobeID.
  • Combined with that I suggest using the DeDRM plugin to make sure that losing your AdobeID doesn't also mean you'll lose access to all your eBooks.
  • If you use an anonymous authorization, make sure you make backups of the activation data.
  • If you use an anonymous authorization, you have the ability to copy that authorization into an AdobeID account at a later time (by clicking "Connect anonymous auth to ADE account"). This is useful if you have books linked to your authorization that you want to read elsewhere. Same restrictions as with ADE apply - you can only do this ONCE per AdobeID, and only if the AdobeID hasn't been in use elsewhere yet.
  • This software is not approved by Adobe. I am not responsible if Adobe detects that you're using nonstandard software and bans your account. Do not complain to me if Adobe bans your main ADE account - you have been warned.

Returning books

If a book is marked as returnable (like a library book), you can "return" it to the library using this plugin. Just open the plugin settings, click "Show loaned books" (the option is only visible if you have at least one loaned book that's been downloaded with this plugin), select the book, then click the arrow button to return. Or click the "X" button to just remove the loan record from the list without returning the book.

This makes the book available for someone else again, but it does not automatically get deleted from your Calibre library - you are responsible for doing that after returning a book.

Note: You can only return books that you downloaded with version 0.0.9 (or newer) of this plugin. You cannot return books downloaded with ADE or with earlier versions of this plugin.

Authorizing eReaders

As of v0.0.16, the plugin can also authorize an eReader connected to the Computer through USB. For now, this only works with devices that export their .adobe-digital-editions folder through USB. In order to authorize such an eReader, just open the plugin settings and click "Authorize eReader over USB" (only available if the plugin is authorized with an AdobeID). Then select the eReader in the folder selection dialog. This process does not work with eReaders relying on a specific USB driver for the ADE connection such as the Sony PRS-T2 (and probably some other older Sony devices).

Right now, this process is fairly experimental, and I've only tested this with a Pocketbook reader so far.

Note that this process will use up one of your six mobile/tethered eReader authorizations on your AdobeID. While it is possible to clone a computer activation by exporting it on one computer and importing it on another, this is not possible with eReader authorizations.

Standalone version

In the folder "calibre-plugin" in this repo (or inside the Calibre plugin ZIP file) there's some scripts that can also be used standalone without Calibre. If you want to use these, you need to extract the whole ZIP file.

  • register_ADE_account.py can be used to authorize a computer with an ADE account. This creates the three files activation.xml, device.xml and devicesalt. These files are in the same format as the ones for the Calibre computer authorization (inside the plugins/DeACSM/account/ folder). A ZIP activation export from Calibre will also contain these three files.
  • fulfill.py can be used - with valid ADE account files in the same folder - to turn an URLLink.acsm file into an eBook.
  • get_key_from_Adobe.py can be used to contact the Adobe server and download the DER key file for a given AdobeID to import into a DeDRM plugin. Just input your credentials and this script will output the DER file that can be used with DeDRM to decrypt books for this AdobeID. This works independantly from the account activation files or from this plugin, so it's a good way to get your AdobeID decryption key, especially if you're on Linux and it's too difficult to export the keys from ADE running inside Wine. This process does not use up one of your six device activations.

Though, generally it's recommended to use the Calibre plugin instead of these standalone scripts. Except for maybe the get_key_from_Adobe.py script if you want to remove DRM from existing eBooks without having to extract the key from ADE.

To-Do list for the future?

  • Support to copy an authorization from the plugin to an ADE install
  • Support for multiple independant authorizations (with an easy way to switch between them)
  • Import a JoinedAccount authorization from ADE (ADE2.0+)
  • Import multiple account authorizations from ADE (ADE2.0+)
  • Support to add an AdobeID to an eReader without replacing the existing one
  • Support for Adobe's "auth" download method instead of the "simple" method (ADE2.0+)
  • Support the JoinAccounts, ActivateLinkedAccounts and GetCredentialList functions to allow for merged AdobeIDs (ADE2.0+)
  • Support the SyncToDevice function to auto-download new books from ADE into Calibre (ADE4.0+)
  • Add small link in settings window that will open a popup with all the expert stuff like de-auth and account joining.
  • ...
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].