# ProfitPDF - AI-Powered Digital Product & Passive Income Suite > ProfitPDF is an advanced full-stack platform designed to automate the discovery, creation, and marketing of digital products (workbooks, planners, templates) for marketplaces like Etsy, Gumroad, and Shopify. ## Key Capabilities - **Marketplace Scraping & Trend Discovery**: Analyzes real-time search volumes, keyword tags, price points, and bestseller metadata on Etsy/Gumroad to uncover high-demand, low-competition niches. - **AI-Powered Multi-Page Document Generation**: Utilizes Google Gemini to research, structure, and draft professionally copywritten 5-page workbook/planner blueprints. - **Dynamic WYSIWYG Styling Engine**: Instant configuration of typography pairings (e.g., Space Grotesk, Inter, Playfair Display), custom color palettes, background textures, page layouts, and customizable interactive canvas previews. - **Visual Asset Marketing & Ad Copy Creation**: Direct generation of optimized high-fidelity vector covers, illustration prompts, and high-converting Etsy listing thumbnails, tags, and product descriptions. - **One-Click Print-Ready PDF Export**: Renders client-side vector documents directly to standard, optimized, ready-for-sale PDFs via `jspdf` and canvas utilities. - **Secure Token-Based Monetization**: Fully integrated PayPal gateway with a flexible, tiered credit ledger allowing pay-per-generation runs. - **Background Mail Delivery Support**: Scalable SMTP notification dispatcher built with Nodemailer utilizing connection connection-timeouts and high-performance, non-blocking background queue pools. ## Tech Stack & Architecture - **Frontend**: Next.js 15+ App/Pages Router, React, Tailwind CSS v4, Motion, Lucide Icons, Recharts, D3.js. - **Backend & Server-side API**: Custom Express Node.js Server (`server.ts`) acting as an API gateway, session router, and assets proxy. - **AI Logic**: Google Gemini API via server-side wrappers ensuring secure API credential masking. - **Database / Persistence**: Firebase Firestore or PostgreSQL Cloud SQL instances coupled with local client cache storage. - **Document Rendering**: Client-side document assembly via `jspdf` and html canvas elements. ## Discoverability Index - [Full LLM Specification Sheet](/llms-full.txt) - In-depth architecture, database schemes, API endpoint contracts, and prompt templates. - [App Homepage](/) - Live interactive workbook customizer, passive income dashboard, and playground.