Automated pre-publish quality checks for video content. Built with Next.js, TypeScript, and Tailwind CSS.
- Dashboard UI for submitting video content details
- 4 automated checks (mock API):
- Sponsor Link & Discount Check (Firecrawl API)
- Ad Policy & Keyword Check (LLM)
- Voiceover Clarity Check (ElevenLabs API)
- Thumbnail Safe-Zone Check (Fal.ai API)
- Pass/Fail status cards with actionable feedback
- Conditional actions: "Send Back to Fix" or "Publish Now"
- Node.js 18.18 or later
- npm (included with Node.js)
-
Install dependencies
npm install
-
Start the development server
npm run dev
-
Open the app
Visit http://localhost:3000 in your browser.
- Enter a video title, description, and sponsor discount link.
- Click Run Pre-Flight Check.
- Review the four check results:
- Sponsor link must be non-empty and contain "discount"
- Description must include
#adfor ad policy compliance - Combined title + description must have at least 10 words for voiceover clarity
- Title must be 5–70 characters for thumbnail safe-zone
- Use Send Back to Fix (if any check fails) or Publish Now (if all pass).
| Command | Description |
|---|---|
npm run dev |
Start development server |
npm run build |
Build for production |
npm run start |
Start production server |
npm run lint |
Run ESLint |
src/
├── app/
│ ├── api/preflight/route.ts # POST endpoint with mock checks
│ ├── globals.css
│ ├── layout.tsx
│ └── page.tsx # Dashboard page
├── components/
│ ├── ActionButtons.tsx
│ ├── PreflightForm.tsx
│ └── StatusCard.tsx
└── types/
└── preflight.ts
- Next.js 15 (App Router, src directory)
- TypeScript
- Tailwind CSS
- React 19