Inspiration
What it does
How we built itInspiration
Web and marketing agencies win clients faster than they can staff the marketing work. Meanwhile every client already has the single richest, most up-to-date description of their own business sitting untouched: their codebase. We wanted an AI "growth employee" that reads the product at the source the repo and turns it into on-brand marketing, so one operator can run marketing across every client an agency manages.
What it does opplic connects a client's GitHub repo and, at $0 marginal cost:
Understands the company :- a 3,200-line deterministic dossier extractor pulls out offers, problems, differentiators, audience, brand voice, proof, and funnel (works even with zero LLM credits, with an optional AI enrichment pass on top). Researches the real site :- reads the company's own first-party website with production-grade SSRF protection (DNS pinning, private-range blocking, redirect host-locking, size/time caps). Scans real brand assets :- pulls logos and product screenshots straight out of the repo, validated by magic-byte signature (not file extension), pixel-bomb guarded and dedup'd, into private storage. Detects marketable changes :- GitHub webhooks (dual timing-safe HMAC) ingest pushes/PRs; a deterministic rule engine scores which customer-facing changes are worth marketing ("Growth PRs"). Generates creative :- two-stage guarded copy (concept → copywriter, with fabricated-metric scrubbing, anti-AI-filler filtering, and prompt-injection defense), a local ComfyUI/FLUX background, then deterministic HTML5-canvas compositing of headline/logo/product across 5 templates × 4 formats, exported as a native-resolution PNG. Manages output :- an editable drafts library, campaigns, a per-repo growth feed, and a signed-in workspace with its own design system. How we built it Next.js 14 (App Router) + TypeScript, Tailwind, Framer Motion + Lenis for the landing/motion work. Supabase for auth, Postgres, and private Storage; GitHub OAuth + webhooks for the repo integration. Copy runs on a free OpenRouter model; imagery runs locally on ComfyUI/FLUX; all text is composited deterministically on canvas so a draft always renders, even if the free model rate-limits mid-run. ~27,000 lines of TypeScript, zero paid API dependencies.
Challenges we ran into Doing this on a zero budget without the output looking cheap. That forced real engineering instead of API calls: a deterministic dossier and copy path so the product works with no credits; magic-byte asset validation and pixel-bomb guards for untrusted repo images; SSRF hardening for first-party site fetches; timing-safe webhook verification; and a canvas compositor so headline/logo/product text is always pixel-perfect instead of hallucinated into an image.
Accomplishments we're proud of A genuinely end-to-end slice that runs live at $0 marginal cost: repo → company dossier → real brand assets → scored change → on-brand copy → composited PNG. Production-grade security hardening throughout, and a product that tells the truth in its own UI rather than overclaiming.
What we learned The codebase is the highest-signal, freshest source of truth about a business — richer than any form a client fills out. And that "AI content generator" is commoditized, but code-native + white-label agency distribution is a wedge almost no one occupies.
What's next Closing the loop: auto-posting to social, engagement tracking, and turning audience feedback back into product PRs routed to coding agents (Claude Code / Copilot / Devin) — plus the multi-tenant white-label agency layer.
Built With
- comfy-ui
- nextjs
- supabase
- typescript
Log in or sign up for Devpost to join the conversation.