Key metric
2
Content Sources Supported
Case Study
ProWrite is a Next.js blog template for writers who want an SEO-ready blog with CMS support, analytics, newsletter integrations, and responsive pages without starting from scratch.

2
Content Sources Supported
Supported both Contentful and MDX content workflows with automated template delivery after purchase.
One of the primary challenges was securely delivering the template to users immediately after they completed a purchase through Lemon Squeezy—without relying on manual processes.
Another challenge was to accommodate both headless CMS (Contentful) and local markdown (MDX), allowing flexibility for different types of users with varying technical preferences.
To automate post-purchase access, I set up webhooks with Lemon Squeezy that trigger a GitHub API call, adding buyers as contributors to a private GitHub organization repository. This allowed for secure, instant, and scalable delivery of the codebase.
For flexible content sourcing, I built an abstraction layer that switches between Contentful and MDX using a single environment variable: CONTENT_SOURCE. This makes the template developer-friendly and easy to configure without code changes.
1 / 8
Let's Work Together
Share the scope, blockers, timeline, and success criteria. I'll review the context and follow up with clear next steps.
We use cookies to personalize your site experience.