Skip to content

This Node.js project converts PDFs to EPUB format using the Calibre CLI tool ebook-convert. It scans a directory of PDFs and outputs the converted EPUBs into a separate directory.

Notifications You must be signed in to change notification settings

utkuvrs/pdftoepub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PDF to EPUB Converter

Table of Contents

About

This Node.js project converts PDFs to EPUB format using the Calibre CLI tool ebook-convert. It scans a directory of PDFs and outputs the converted EPUBs into a separate directory.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

What you need to install before running the project:

  • Node.js (v14 or higher)
  • Calibre (to use ebook-convert)

You can install Node.js from here, and Calibre from here.

Installing

Follow these steps to set up the project on your local machine:

  1. Clone & Navigate to the repository:
git clone https://github.com/utkuvrs/pdf-to-epub-converter.git
cd pdf-to-epub-converter
  1. Install dependencies:
npm install
  1. Ensure Calibre's ebook-convert is in your system's PATH.
ebook-convert --version
  1. Create the directories for PDFs and EPUBs (if they don't exist)
mkdir pdfs epubs
  1. Add PDF files to the pdfs directory.
node app.js

About

This Node.js project converts PDFs to EPUB format using the Calibre CLI tool ebook-convert. It scans a directory of PDFs and outputs the converted EPUBs into a separate directory.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published