A comprehensive SaaS platform that generates complete, customized marketing kits using a robust, serverless fan-out architecture. Features include AI content generation, market analysis, subscription management, and immediate user feedback via streaming.
SaasMarketingKit was built to solve a crucial problem for startups: generating high-quality marketing assets and strategies quickly. This project's complexity lies in its advanced architecture, balancing immediate user experience with heavy, long-running AI tasks. The core toolkit provides over 25 components, from Landing Page Copy and Email Sequences to Market Positioning Guides and Competitor Analysis.
The platform is built on Next.js 14 and MongoDB. Key integrations include Clerk for authentication and LemonSqueezy for subscription billing. The UI uses Tailwind CSS and shadcn/ui for an enterprise-grade feel.
Generating a full marketing kit involves numerous AI calls and data operations, a task too long for standard Vercel serverless functions. To solve this, we implemented a serverless fan-out pattern using QStash. A 'Master Worker' breaks the large task into over 25 smaller, independent jobs (one for each kit component), and QStash asynchronously triggers a separate 'Section Worker' function for each one. This ensures high resilience, eliminates timeouts, and achieves massive scalability.
To maintain a responsive UI, we implemented a Hybrid Content Generation model. The initial API call streams the most critical content (e.g., Landing Page Copy) to the user immediately, while the rest of the generation is processed by the background workers.
The core intelligence is managed by a custom IntelligentMarketingAgent class, which abstracts interactions with Google Gemini and Hugging Face. Market and competitor analysis is enabled through integrated FireCrawl scraping, ensuring content is grounded in real-time data.
Visual showcase of the project




More work you might be interested in
A dead-simple, modern form backend built for developers who value their time. No server setup, no complex form builders. Just point your HTML form to an endpoint and receive submissions. It's that simple.
Autobiillai is a tool for developers to automate the setup of products, pricing plans, and webhooks in their Stripe and LemonSqueezy accounts.
I'm currently accepting new projects for the upcoming month. If you have an idea you're passionate about, I'd love to hear from you. The best way to start is by booking a free, no-pressure discovery call.
Let's discuss your project and how we can bring your vision to life.