Machine Learning🔨 Personal Project

AI-Powered Ebook Generator

Automated ebook generation pipeline using Groq Cloud API (Llama 3.1) with complete workflow from content generation to compressed PDF output, featuring AI-powered chapter structure definition.

Project Overview

🎯

Objective

Create a complete automated pipeline for generating professional ebooks using AI, from topic definition to final compressed PDF with auto-retry and rate limit handling

💼

My Role

Full-stack developer - designed and implemented complete pipeline with 6 automated stages including AI integration, HTML conversion, and PDF optimization

⏱️

Timeline

2 weeks

🛠️

Tech Stack

Python, Groq Cloud API, Llama 3.1

📈

Key Results

  • Complete automated pipeline: AI chapter definition → Content generation → HTML conversion → PDF export → Compression
  • Cost-effective solution using Groq Cloud API with automatic retry and exponential backoff
  • Example output: 12-chapter ebook (116KB markdown, 240KB HTML, 24MB optimized PDF)
  • 4 compression quality levels with 30% size reduction maintaining text quality
Impact
12 chapters, 11,564 words generated
Value
30% file size reduction
📸

Visual Documentation

Project screenshot 1
Screenshot 1
Project screenshot 2
Screenshot 2
Project screenshot 3
Screenshot 3

Tools & Technologies

PythonGroq Cloud APILlama 3.1MarkdownwkhtmltopdfGhostscript
💼

Let's Work Together

I'm available for freelance projects and consulting. Let's discuss how I can help your business achieve its goals through data-driven solutions and technical expertise.

Available for freelance projects