llm-pdf
Version:
Command Line tool to automate LLM and image models to generate a pdf by converting the generated text into markdown format and save it as a pdf document.
57 lines (34 loc) • 1.7 kB
Markdown
# AI Book Generator
**Automated Book and Content Generation with AI-Powered Text, Images, and PDF Export**
A powerful toolkit for authors, educators, and content creators to automatically generate structured books/guides complete with AI-generated content, images, and professional PDF exports. Powered by Together AI's cutting-edge LLMs.
## Example Images
### Light mode
<img src="https://sigmawire.net/i/03/BsNSJG.png" alt=""> _Light Mode example with generated image_
### Code Highlighting
<img src="https://sigmawire.net/i/03/QDXyiA.png" alt=""> _Light Mode with code highlighting_
### Dark Mode
<img src="https://sigmawire.net/i/03/wzA4OE.png" alt=""> _Dark Mode example showing a generated table_
## ✨ Features
- **🤖 AI-Powered Content Generation**
Automated content creation using language models (Llama 3.3/DeepSeek)
- **🎨 Intelligent Image Generation**
Automatic prompt generation + image creation for visual content
- **📄 Dual-Theme PDF Export**
PDF output with light and dark themes.
- **💻 Markdown & Code Support**
Native Markdown formatting with code block highlighting (Multiple languages supported)
- **⚡ CLI Workflow**
Interactive terminal interface for content management and generation
- **📚 Context-Aware Writing**
Maintains conversation history and writing style consistency in conversation.md file
- **🎛️ Customizable Output**
Control over temperature, model selection, and styling parameters
## ⚡ Try now with
```bash
npx llm-pdf
```
## 🚀 Installation
```bash
npm install llm-pdf
```
Crafted with ❤️ by Ayush Singh