MakeBookCLI logo

MakeBookCLI ignatandrei

Use this command to install MakeBookCLI:
winget install --id=ignatandrei.MakeBookCLI -e

MakeBookCLI

MakeBookCLI is a command-line tool designed to generate books from Markdown and HTML files. It simplifies the process of creating formatted documents such as HTML, PDF, EPUB, DOCX, and MOBI, making it easy for users to transform their content into professional-looking books.

Key Features:

  • Multiple Output Formats: Convert your content into various formats like PDF, EPUB, DOCX, and more.
  • Continuous Generation: The tool watches your source files in real-time and automatically generates updated output when changes are detected.
  • Integration with Pandoc: Supports the use of Pandoc for enhanced customization and additional formatting options.
  • Cross-Platform Compatibility: Works across different operating systems, including Windows, Linux, and macOS.
  • Customizable Book Settings: Configure metadata such as title, author, and other settings through a JSON file.

Audience & Benefit: Ideal for technical writers, educators, developers, and authors who need to create well-formatted books or documentation from structured content. MakeBookCLI helps streamline the publishing process by automating conversions and ensuring consistency across different output formats. It is particularly useful for those who work with Markdown or HTML and require professional-quality outputs without manual intervention.

Install MakeBookCLI via winget for easy setup and start generating your documents efficiently.

README

Steps to use

Installation

(Recommended) Winget

winget install ignatandrei.MakeBookCLI

Github

Download latest version of the software from github

https://github.com/ignatandrei/makeBook/releases

You will download an executable file - latest is https://github.com/ignatandrei/makeBook/releases/download/v8.2024.822.523/MakeBookCLI.exe

Note for Windows Users : Unblock the software prior to execute it.

Run MakeBookCLI

Now run

MakeBookCLI i --folder 
MakeBookCLI gmk --folder

The first command will init the structure.

The second one will start to generate output ( html, doc,epub) from the markdown files.

Usage

Put title and author

Modify bookData.json file in the .bookSettings folder and change the author ( obviously , your name ) and title ( obviously , the title of the book )

Put the chapters in the book folder

Modify the documents on the book folder. The program will execute continuously and generate the html and doc documents . Those can be seen at the .output folder

PDF

If you want the pdf , then you should install a PDF Engine . You could install miktext with


choco install pandoc
choco install rsvg-convert python miktex

Modify in the .bookSettings/bookData.json


"valueNear": ".pandoc/pandoc.exe",
"value": "%LocalAppData%\\Pandoc\\pandoc.exe"

Also modify in .bookSettings/bookData.json the "make an pdf with miktext" value

"enabled":true,
"redirectOutput":false

Close the app ( and the console that you are using )and restart the application .

For more details,please read documentation at https://ignatandrei.github.io/makeBook/

Versions
8.2024.822.523
8.2024.717.2249
Website
License