Skip to content
This repository has been archived by the owner on Dec 7, 2023. It is now read-only.
/ knock_mirror Public archive

A Mirror of the Knock Adobe DRM'ed ACSM file format to epub converter. Unmaintained.

License

Notifications You must be signed in to change notification settings

thatsysadmin/knock_mirror

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NOTE:

This repo is a 1:1 mirror of BentonEdmondson's Knock EPUB tool, git commit 488fcabd69ca6f9e306a3ca30ccef600209115b1. The original repo seems to have been made private, so I got this copy from the Internet Archive, but the git history got wiped out in the process. You're probably going to have to build it if you want to use it.

Knock

Convert ACSM files to PDF/EPUBs with one command on Linux (and MacOS very soon).

Demonstration of CLI usage

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

Installation

  1. Run uname -ms and, based on the output, download the latest corresponding release.
  2. cd into the directory that knock is in (e.g. cd ~/Downloads).
  3. Run mv knock-version-arch-os knock to rename the binary to knock.
  4. Run chmod +x knock to make it executable.
  5. Run ./knock ./path/to/book.acsm to perform the conversion.
  6. Run mv knock ~/.local/bin to allow it to be run from anywhere (might not work on some distributions).

Nix and NixOS (with flakes enabled)

If you are on a system with Nix, you can use the following.

nix profile install github:BentonEdmondson/knock

If you are on NixOS, you can add the flake to your system config.

Dependencies

There are no userspace runtime dependencies.

Verified Book Sources

Knock should work on any ACSM file, but it has been specifically verified to work on ACSM files purchased eBooks.com and Kobo, among others.

Before buying your ebook, check if it is available for free on Project Gutenberg.

Contributing

Install Nix if you don't have it. Enable flakes if you haven't.

Building

nix build

Updating

nix flake update

Testing

nix run .#tests -- ./tests/workspace

Test books can be found here.

Formatting

nix run .#formatter

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.

License

This software is licensed under GPLv3. The linked libraries have various licenses.

About

A Mirror of the Knock Adobe DRM'ed ACSM file format to epub converter. Unmaintained.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published