Giter VIP home page Giter VIP logo

acsm-to-epub's Introduction

⚠️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.

acsm-to-epub's People

Contributors

drskunk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

acsm-to-epub's Issues

npm WARN [email protected] requires a peer of encoding@^0.1.0 but none was installed.

Hello,

The command:
npm install -g acsm-to-epub
returns the error
Error: EACCES: permission denied, access '/usr/local/lib'

I ran this command with "sudo" to solve the problem but I got this new error:
npm WARN [email protected] requires a peer of encoding@^0.1.0 but none was installed.

I read on stackoverflow that it should be solved by the command
npm install --save-dev "encoding@^0.1.0"
but it returned instead:

npm WARN saveError ENOENT: no such file or directory, open '/home/user/myfolder/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/home/user/myfolder/package.json'
npm WARN myfolder No description
npm WARN myfolder No repository field.
npm WARN myfolder No README data
npm WARN myfolder No license field.

Any idea how I could make it work?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.