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)
| Author | coderobotics |
|---|---|
| Category | Scripts & Code / Django |
| Price | $30 |
| Extended License | $90 |
| First Release | Sep 22, 2026 |
| Last Update | Sep 22, 2026 |
Categories
Tags
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🥇
Free LinkedIn Likes From Real Members | LinkedInLikes
Get free LinkedIn likes on your posts from real members who react by hand. No password needed: you only share a link.
Website · 12,847 views · 46 clicksWebsite · Week 49 · 12,847 views · 46 clicks
🥈
Free Medium Claps From Real Writers | MediumPlace
Free Medium claps on your stories from verified accounts of real writers, each given by hand. No bots, no Medium password, nothing to pay. Paste a link.
Website · 7,964 views · 10 clicksWebsite · Week 49 · 7,964 views · 10 clicks
🥉
Free GitHub Stars From Real Developers | GitWow
Get free GitHub stars on your repository from real developers who star by hand. No token or password, and it's free.
Website · 15,624 views · 28 clicksWebsite · Week 49 · 15,624 views · 28 clicks
#4
Free Substack Likes From Real Writers | StackRooms
Free Substack likes on your posts and Notes from verified accounts of real writers, given by hand. Free to ask, free to receive. Just share a link.
Website · 7,784 views · 2 clicksWebsite · Week 49 · 7,784 views · 2 clicks
#5
Free Twitter Likes From Real People | SupaTwitter
Free Twitter likes on your tweets from verified accounts of real people, each given by hand. No bots, no Twitter password, nothing to pay. Paste a link.
Website · 7,679 views · 4 clicksWebsite · Week 49 · 7,679 views · 4 clicks
#6
Free X Likes From Real People, Given by Hand | XFast
Free X likes on your posts from verified accounts of real people, each one given by hand. No bots, no X password, no conditions. Paste a link to start.
Website · 7,591 views · 0 clicksWebsite · Week 49 · 7,591 views · 0 clicks