All Projects → BentonEdmondson → knock

BentonEdmondson / knock

Licence: GPL-3.0 license
Convert ACSM files to DRM-free EPUB files with one command on Linux

Programming Languages

python
139335 projects - #7 most used programming language
Nix
1067 projects

Projects that are alternatives of or similar to knock

acsm-calibre-plugin
Calibre plugin for ACSM->EPUB and ACSM->PDF conversion.
Stars: ✭ 118 (-55.13%)
Mutual labels:  epub, adobe, adept, adobe-digital-editions, acsm
Webpub Manifest
📜 A JSON based Web Publication Manifest format used at the core of the Readium project
Stars: ✭ 46 (-82.51%)
Mutual labels:  epub, ebooks
Wedge
可配置的小说下载及电子书生成工具
Stars: ✭ 62 (-76.43%)
Mutual labels:  epub, ebook-downloader
Shirah Reader
RSVP speed reader, written in python.
Stars: ✭ 133 (-49.43%)
Mutual labels:  epub, ebooks
fiction-dl
A content downloader, capable of retrieving works of (fan)fiction from the web and saving them in a few common file formats.
Stars: ✭ 22 (-91.63%)
Mutual labels:  epub, ebook-downloader
Booktype
Booktype is a free, open source platform that produces beautiful, engaging books formatted for print, Amazon, iBooks and almost any ereader within minutes.
Stars: ✭ 810 (+207.98%)
Mutual labels:  epub, ebooks
Calibre
The official source code repository for the calibre ebook manager
Stars: ✭ 11,221 (+4166.54%)
Mutual labels:  epub, ebooks
webpub-manifest
An experimental space for the Readium Web Publication Manifest
Stars: ✭ 12 (-95.44%)
Mutual labels:  epub, ebooks
Kepubify
Fast, standalone EPUB to KEPUB converter CLI app / library (and a few other utilities).
Stars: ✭ 225 (-14.45%)
Mutual labels:  epub, ebooks
Open Publisher
Using Jekyll to create outputs that can be used as Pandoc inputs. In short - input markdown, output mobi, epub, pdf, and print-ready pdf. With a focus on fiction.
Stars: ✭ 242 (-7.98%)
Mutual labels:  epub, ebooks
infinite-electron
An Electron-based cross-platform desktop reader for free ebooks
Stars: ✭ 39 (-85.17%)
Mutual labels:  epub, ebooks
EbookReader
The EbookReader Android App. Support file format like epub, pdf, txt, html, mobi, azw, azw3, html, doc, docx,cbz, cbr. Support tts.
Stars: ✭ 37 (-85.93%)
Mutual labels:  epub, ebooks
kthoom
Comic Book Reader in the Browser
Stars: ✭ 97 (-63.12%)
Mutual labels:  epub, ebooks
Save As Ebook
Save a web page/selection as an eBook (.epub format) - a Chrome/Firefox/Opera Web Extension
Stars: ✭ 959 (+264.64%)
Mutual labels:  epub, ebooks
bookery
Manage all your ebooks and send them to your reader
Stars: ✭ 35 (-86.69%)
Mutual labels:  epub, ebooks
Fb2mobi
[DEPRECATED] fb2mobi - derived from fb2conv 1.5.4
Stars: ✭ 89 (-66.16%)
Mutual labels:  epub, ebooks
Asciidoctor Epub3
📘 Asciidoctor EPUB3 is a set of Asciidoctor extensions for converting AsciiDoc to EPUB3 & KF8/MOBI
Stars: ✭ 166 (-36.88%)
Mutual labels:  epub, ebooks
Wuxiaworld-2-eBook
This Python script will download chapters from novels availaible on wuxiaworld.com saves then into the .epub format
Stars: ✭ 90 (-65.78%)
Mutual labels:  epub, ebook-downloader
ebooks
计算机黑皮书、超清超高质量编程电子书 🔥
Stars: ✭ 86 (-67.3%)
Mutual labels:  epub, ebooks
AdobeXD-maps
🗺A map generator plugin for Adobe XD using google maps API
Stars: ✭ 36 (-86.31%)
Mutual labels:  adobe

Knock

Perform the following conversions with one command:

  • ACSM → EPUB
  • ACSM → PDF
  • (Soon: AAX → M4B)

CLI demonstration

This software does not utilize Adobe Digital Editions nor Wine. It is completely free and open-source software written natively for Linux.

Setup and Installation

  • For NixOS users, include this flake in your system flake.nix. Then run knock ~/path/to/my-book.acsm to use.
    {
        inputs.knock.url = "github:BentonEdmondson/knock";
        outputs = { self, knock }: { /* knock.defaultPackage.x86_64-linux is the package */ };
    }
  • For non-NixOS, use the latest release. It is large because it includes all dependencies, allowing it to run on any system with an x86_64 Linux kernel. It was built using nix bundle. Use it by doing the following:
    1. Download knock-version-x86_64-linux and open a terminal

    2. Navigate to the folder within which knock-version-x86_64-linux resides (e.g. cd ~/Downloads)

    3. Run mv knock-version-x86_64-linux knock to rename it to knock

    4. Run chmod +x knock to make it executable

    5. Run ./knock ~/path/to/my-book.acsm to convert the ebook

      If you receive an error that says something like ./nix/store/...: not found or ./nix/store/...: No such file or directory then you might not have user namespaces enabled. Try running the following to fix it:

      echo "kernel.unprivileged_userns_clone=1" >> /etc/sysctl.conf
      sudo reboot
      
    6. Optionally move the executable to ~/bin (for your user) or /usr/local/bin/ (for all users) to allow it to run from anywhere (might not work on some distributions)

Recommended Workflows

Before buying your ebook/audiobook, check if it is available for free on Project Gutenberg (ebooks) or LibriVox (audiobooks).

If you're looking for an ebook reader or audiobook player, I recommend Foliate for the former and Cozy for the latter.

Verified Book Sources

Knock should work on any ACSM file, but it has been specifically verified to work on ACSM files from the following:

The Name

The name comes from the D&D 5e spell for freeing locked items:

Knock

2nd level transmutation
Casting Time: 1 action
Range: 60 feet
Components: V
Duration: Instantaneous
Classes: Bard, Sorcerer, Wizard
Choose an object that you can see within range. The object can be a door, a box, a chest, a set of manacles, a padlock, or another object that contains a mundane or magical means that prevents access. A target that is held shut by a mundane lock or that is stuck or barred becomes unlocked, unstuck, or unbarred. If the object has multiple locks, only one of them is unlocked. If you choose a target that is held shut with arcane lock, that spell is suppressed for 10 minutes, during which time the target can be opened and shut normally. When you cast the spell, a loud knock, audible from as far away as 300 feet, emanates from the target object.

Dependencies

  • libgourou for using the ACSM file to download the corresponding encrypted EPUB/PDF file from Adobe's servers
  • rmdrm for decrypting the Adobe ADEPT-encrypted EPUB/PDF files
  • Audible for fetching the Audible decryption key used to decrypt AAX files
  • ffmpeg for converting AAX files to M4B files using the Audible decryption key

These are already included in all releases and in the Nix flake of course.

License

This software is licensed under GPLv3.

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].