GithubHelp home page GithubHelp logo

djfergus / kindle-epub-fix Goto Github PK

View Code? Open in Web Editor NEW

This project forked from innocenat/kindle-epub-fix

0.0 0.0 0.0 32 KB

A simple Javascript website to fix common EPUB problem for Amazon's Send to Kindle.

Home Page: https://kindle-epub-fix.netlify.app/

License: The Unlicense

JavaScript 69.47% HTML 30.53%

kindle-epub-fix's Introduction

Modified web page code to run from command line in node.js so I can automate tasks. Thanks to original author's efforts.

  • removed filesaver (convert blob to buffer then use fs.writeFile)
  • changed DOMparser/parseFromString to jsdom
  • removed muliple file handling (not needed, can run script multiple times)
  • simple CLI argument (just filename for now, todo: flag for "keep original filename")
  • removed webbity web bits
  • await accidentally the whole async

Kindle EPUB Fix

Amazon Send-to-Kindle service has accepted EPUB, however, for historical reason it still assumes ISO-8859-1 encoding if no encoding is specified. This creates weird formatting errors for special characters.

This tool will try to fix your EPUB by adding the UTF-8 specification to your EPUB. It currently does not fix other errors.

You can access this tools at https://kindle-epub-fix.netlify.app

Warning: This tool come at no warranty. Please still keep your original EPUB. We don't guarantee the resulting file will be valid EPUB file, but it should.

kindle-epub-fix's People

Contributors

innocenat avatar djfergus avatar longseespace avatar glhrmv avatar jrpat avatar njjc avatar thomas-shirley avatar

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.