Django eBook Generator Script icon

Django eBook Generator Script

Go to Website
Hot or Not
Django eBook Generator Script

Description

eBook Generator is a Django-based tool that converts manuscripts (TXT, DOCX, or PDF) into professionally formatted PDF eBooks. It automatically detects chapter and section structure — including headings, numbered sections, and list-style entries — and presents it on an editable Structure step so nothing gets baked into the final book without review. The output PDF ships with an auto-generated table of contents, branded typography (Inter for body, Coderobotics for headings), and a matching AI-generated cover produced via Pollinations.ai, with Hugging Face as a free-tier fallback. The entire pipeline — parsing, cover generation, and PDF building — runs as background jobs, synchronously by default for local development or via Celery and Redis for production. Built entirely on free tools and free-tier services, it requires no paid APIs to run. Complete source code included.

Features

What You Get  

  • Manuscript upload and parsing for TXT, DOCX, and PDF source files
  • Automatic chapter/section detection (heading styles, "Chapter/Part N" markers, numbered listicle entries, and list-style formatting)
  • An editable Structure step so detected chapters/sections can be reviewed and corrected before generation
  • Auto-generated table of contents in the final PDF
  • AI-generated cover art (Pollinations.ai, with Hugging Face free tier as fallback) with the title/author rendered as a clean text overlay — never baked into the image
  • Optional reference image upload used as loose style inspiration for the cover
  • Branded PDF output with custom embedded fonts (Inter for body text, CodeRobotics for headings)
  • Background job processing for parsing, cover generation, and PDF building

Why This Toolkit?  

  • Zero paid dependencies — runs entirely on free tools and free-tier AI services
  • Human-in-the-loop structure editing means auto-detection mistakes never make it into the final book
  • Clean, modern UI (Tailwind + HTMX + Alpine.js) with no page-reload workflow
  • Runs fully locally with no external job queue required for development

Perfect For  

  • Independent authors self-publishing a manuscript as a PDF e-book
  • Small publishers needing a fast first-pass layout and cover concept
  • Writers who want a quick, presentable PDF without touching design tools

Requirements

  • Django 6
  • Celery (background task processing)
  • WeasyPrint (PDF rendering)
  • python-docx, PyMuPDF (document parsing)
  • Tailwind CSS, HTMX, Alpine.js (frontend)
  • Pollinations.ai / Hugging Face (AI cover generation)

Instructions

  • Python environment with project dependencies installed
  • GTK3 runtime on Windows (for WeasyPrint/PDF rendering); native on Linux/Docker via standard Pango/Cairo libraries
  • Redis + Celery worker for production-style background processing (optional for local development, which runs jobs synchronously)
Authorcoderobotics
CategoryScripts & Code / Django
Price$30
Extended License$90
First ReleaseSep 22, 2026
Last UpdateSep 22, 2026

External listing. code.market does not sell this product and does not process payment for it. Pricing, payment, delivery, licensing, refunds, and support are handled by the third-party merchant on its own website. We may earn an affiliate commission from a referral. Details.

Products of the Week.

Submit