MakeitDoc
Overview & Purpose
Nothing really — as an engineer, why pay for subscriptions, endure intrusive ads, or rely on third-party SaaS platforms with artificial file limits and paywalls (no hate to existing tools) when I can build my own clean, private, and capable platform?
MakeitDoc was built from scratch to be the single place where I can convert, edit, organize, and sketch without accounts, watermarks, or hidden paywalls.
Problem & Motivation
Frustrated by commercial SaaS document tools that impose arbitrary file size limits, intrusive ads, watermarks, mandatory user registrations, and subscription paywalls for basic daily utilities. MakeitDoc was engineered as an open, private, and account-free workspace where users can convert documents, manipulate PDFs, edit graphics, and sketch notes with zero tracking and zero file retention.
Architecture & Implementation
- Django Processing Architecture: Uses Django views, structured URL routing, and modular request handlers to process file conversions and utility requests with ephemeral in-memory pipelines.
- Dual-Engine Document Conversion: Features an automated Word-to-PDF pipeline that detects and uses headless LibreOffice, with an automatic fallback to native AbiWord for resource-constrained server environments.
- High-Performance PDF Suite: Leverages PyMuPDF (fitz) and pdf2docx for multi-file PDF merging, page range and individual splitting, multi-angle page rotation, quality-based compression, and AES-256 password protection.
- Client-Side Creative Studio: Integrates HTML5 Canvas and JavaScript to deliver an Image Editor (filters, cropping, annotations), Collage Maker (multi-photo layout grids), and Quick Notes (interactive vector whiteboard) running 100% inside the browser.
- Editorial Utility Design System: Implements an 'Editorial Utility Studio' visual identity with Instrument Sans, DM Sans, IBM Plex Mono typography, custom color tokens, responsive sidebar navigation, and persistent dark/light theme switching.
Key Technical Decisions
- Zero-Retention Ephemeral Sandboxing: Uses Python's tempfile.TemporaryDirectory and io.BytesIO streams to process files in temporary environments that automatically destroy all user data immediately upon download.
- Client-Side Offloading: Executes image editing, photo collages, and whiteboard drawing on the client's device via JavaScript, minimizing server bandwidth and CPU consumption while eliminating interaction latency.
- Cross-Platform Conversion Fallbacks: Implements dynamic engine detection (shutil.which) and output reconciliation to maintain reliable .docx-to-.pdf conversions across diverse hosting platforms without manual intervention.
- Dynamic Branding & File Preservation: Automatically extracts and sanitizes uploaded document stems to generate clean, professional filenames (e.g., <actualfilename>-MakeitDoc.pdf) upon delivery.
- Production Cloud Optimization: Configures Django's collectstatic pipeline, CSRF trusted origins, and memory upload thresholds (100 MB) for seamless, secure deployment on persistent Linux hosting.
Engineering Challenges & Lessons
- Serverless & Free-Tier Disk Limits: Solved strict 512 MB disk quota constraints on cloud hosting by configuring virtual environments with system site packages and purging wheel build caches.
- Headless Conversion Engine Compatibility: Handled differing CLI syntaxes and output path behaviors between LibreOffice and AbiWord under headless Linux environments.
- Memory Management Under Heavy Payloads: Prevented server memory exhaustion during multi-page PDF processing and image compilation through strict byte validation, pixel limits, and stream cleanup.