Files
Trey t 66c2bbec8b feat: complete marketing command center with pipeline, UI, and asset generation
- Dashboard with campaign management, asset gallery, and publishing queue
- 7-agent pipeline: trend scout, research, scripts, ad creative, video, copy, distribution
- Campaign form with screenshot upload, goal picker, platform selection
- Campaign detail view with Details/Pipeline/Assets/Chat tabs
- Two-set image generation: Gemini AI (NanoBanana MCP) + Canvas Design posters
- Remotion video rendering with phone.png frame and real screenshot alignment
- honeyDue branding: blue #0079FF, orange #FF9400, Inter font, warm off-white
- Asset cards with source badges (Gemini/Canvas/Remotion/Playwright)
- Markdown/JSON render endpoint for viewing pipeline outputs as HTML
- Settings page with Tavily, Gemini, Postiz, Nextdoor integration management
- Claude Chat for campaign feedback loop with streaming SSE
- Postiz publishing modal with scheduling
- Auth with NextAuth credentials + JWT sessions
- SQLite via Prisma with better-sqlite3 adapter

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-23 21:05:26 -05:00

57 lines
1.9 KiB
JavaScript

import { tavily } from "@tavily/core";
import { writeFileSync } from "fs";
const client = tavily({ apiKey: process.env.TAVILY_API_KEY });
async function runSearches() {
const searches = [
{
name: "trending_hooks",
query: "trending social media hooks home maintenance app 2026 viral opening lines scroll-stopping Instagram TikTok",
options: { maxResults: 10, topic: "news", days: 7 }
},
{
name: "competitor_ads",
query: "Centriq HomeZada Thumbtack home maintenance app ad campaign marketing 2026",
options: { maxResults: 10, searchDepth: "advanced", days: 14 }
},
{
name: "viral_formats",
query: "viral content formats Instagram Reels TikTok 2026 trending templates transitions video styles March",
options: { maxResults: 10, topic: "news", days: 7 }
},
{
name: "audience_pain_points",
query: "homeowner maintenance tasks forgotten complaints overwhelmed home upkeep HVAC filter reminders Reddit 2026",
options: { maxResults: 10, searchDepth: "advanced", days: 14 }
},
{
name: "seasonal_angles",
query: "spring home maintenance checklist 2026 April seasonal homeowner tasks events awareness days",
options: { maxResults: 10, topic: "news", days: 14 }
}
];
const results = {};
for (const search of searches) {
console.log(`\nSearching: ${search.name}...`);
try {
const result = await client.search(search.query, search.options);
results[search.name] = result.results;
console.log(` Found ${result.results.length} results`);
} catch (err) {
console.error(` Error: ${err.message}`);
results[search.name] = [];
}
}
writeFileSync(
"/Users/treyt/Desktop/code/claude_marketing/pipeline/outputs/task_management_feature_launch_20260323/raw_search_results.json",
JSON.stringify(results, null, 2)
);
console.log("\nAll searches complete. Raw results saved.");
}
runSearches();