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:
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.
winget install ignatandrei.MakeBookCLI
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.
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.
Modify bookData.json file in the .bookSettings folder and change the author ( obviously , your name ) and title ( obviously , the title of the book )
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
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/