π€ AI Blog Content Repurposer β Viral Content Engine

AI Blog Content Repurposer is a cutting-edge automation tool designed to bridge the gap between long-form blog content and high-impact social media engagement. By leveraging the power of Google Gemini 1.5 Pro and the Vercel AI SDK, it transforms any blog URL into a suite of optimized assets for LinkedIn, Twitter, SEO, and Video Scriptsβinstantly.
This platform is engineered for marketers and creators who need to maximize the ROI of their content without manual effort.
π οΈ Technology Stack
β¨ Features at a Glance
π Smart Repurposing Engine
- LinkedIn Mastery: Generates professional, value-driven summaries with industry-relevant hashtags and engagement hooks.
- Twitter Thread Generator: Breaks down complex articles into punchy, viral-ready threads designed for high retweets.
- SEO Powerhouse: Automatically crafts meta descriptions, suggests high-ranking keywords, and optimizes title tags based on article sentiment.
- Short-Form Video Scripts: Converts text into dialogue-ready scripts for TikTok, Instagram Reels, and YouTube Shorts.
π§ Intelligent Analysis
- Context-Aware Extraction: Uses custom scraping logic to isolate the core value of a blog post, ignoring navigation menus and ads.
- Real-Time Streaming: Watch the AI βthinkβ and write in real-time using modern server-sent events for a seamless UX.
π¨ Premium User Experience
- Dark Mode Aesthetics: A sleek, focused interface built with Tailwind CSS 4 and Radix UI primitives.
- One-Click Copy: Instantly copy generated assets to your clipboard for immediate posting.
π Project Structure
repurposer/
βββ src/
β βββ app/ # Next.js 15 App Router
β β βββ api/ai/ # Vercel AI SDK route handlers
β β βββ page.tsx # Main dashboard interface
β βββ components/ # UI components (OutputCard, UrlInput)
β βββ lib/ # Core logic
β β βββ gemini.ts # AI model configuration
β β βββ scraper.ts # Blog content extraction logic
β βββ hooks/ # Custom React hooks for UI state
βββ public/ # Brand assets & icons
π Installation & Setup
1. Prerequisites
- Node.js 20+
- Google AI Studio Key (Get it at aistudio.google.com)
2. Clone & Install
git clone https://github.com/aditya-2129/UpGrowth-Assessment-AI-Powered-Blog-Content-Repurposer.git
cd UpGrowth-Assessment-AI-Powered-Blog-Content-Repurposer
npm install
3. Environment Config
Create a .env.local file:
GOOGLE_GENERATIVE_AI_API_KEY=your_gemini_key_here
4. Run Development
npm run dev
π License
This project is part of the UpGrowth assessment and is available for portfolio review purposes.
Designed & Developed by Aditya (aka aditya-2129)