Ana Sayfa / Kod ve Scriptler / Django eBook Generator Script

Django eBook Generator Script

Django aracı, el yazmalarını düzenlenebilir yapıyla biçimlendirilmiş PDF e-kitaplara dönüştürür; otomatik İçindekiler ve yapay zeka kapağı. Kaynak dahildir.

  • Yayın tarihi22 Eylül 2026
  • Son güncelleme22 Eylül 2026
  • Canlı demoVar
Django eBook Generator Script

Overview

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)