Skip to content
This repository has been archived by the owner on Oct 15, 2023. It is now read-only.
/ acsm-to-epub Public archive

Uses Knock to convert ACSM files to epub. Afterwards it's uploaded to a Google Drive folder.

License

Notifications You must be signed in to change notification settings

DrSkunk/acsm-to-epub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⚠️Since the Knock repository is offline, this tool will not work anymore⚠️

However, you can still find binaries of Knock by searching for these exact URLs in the Wayback machine:

ACSM to Epub converter

Uses Knock to convert ACSM files to epub. Afterwards it's uploaded to a Google Drive folder.

Because Knock only has releases for a x86_64 Linux kernel, this will also only work on those platforms.

This automatically downloads the Knock binary.

Installation

Either through cloning with git or by using npm (the recommended way):

npm install -g acsm-to-epub

And acsmtoepub will be installed globally to your system path.

Usage

acsmtoepub <path/to/acsm>

Setup

On first run it will create an empty settings.json file in ~/.config/acsmtoepub/ with the following contents

{
  "clientId": "",
  "clientSecret": "",
  "refreshToken": "",
  "redirectUri": "",
  "folderId": ""
}

Follow this tutorial to get the credentials : https://blog.tericcabrel.com/upload-file-to-google-drive-with-nodejs/

folderId is the id of the Drive folder you want to upload to. You can find this in the URL when browsing from the web interface.

About

Uses Knock to convert ACSM files to epub. Afterwards it's uploaded to a Google Drive folder.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published