For-Hives/ForVoyez
SaaS to auto generate alternative text, caption, title & more
What's novel
SaaS to auto generate alternative text, caption, title & more
Code Analysis
22 files read · 7 roundsA SaaS API that accepts image uploads, uses a 3-step GPT-4o-mini pipeline (context extraction, image description, SEO metadata generation) to produce customizable JSON metadata (alt text, title, caption), with credit-based billing via LemonSqueezy and JWT-secured API access.
Strengths
Well-structured Next.js SaaS with a clean service layer, comprehensive unit tests covering edge cases and error paths, proper HMAC webhook verification, and a thoughtful 3-step AI pipeline that includes prompt injection defense via context filtering. The test suite is genuinely meaningful with proper mocking and boundary testing.
Weaknesses
Several bugs exist: the webhook route checks `if (!WEBHOOK_SECRET)` (function reference, always truthy) instead of calling it, `isValidSchema()` is a stub that always returns true, `decrementCreditFromAPI` is fire-and-forget without await, and `parseSchema` is duplicated across files. The core AI logic is essentially prompt engineering around a single model call rather than a novel algorithm.
Score Breakdown
Signal breakdown
Innovation
Craft
Traction
Scope
Evidence
Commits
615
Contributors
3
Files
280
Active weeks
33
Repository
Language
JavaScript
Stars
12
Forks
1
License
—