JSPM

content-curator

1.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 5
  • Score
    100M100P100Q25941F
  • License MIT

AI-powered real-time content curator for short-form video ideas using GitHub Copilot and Exa AI

Package Exports

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (content-curator) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    Content Curator

    AI-powered real-time content curator for short-form video ideas using GitHub Copilot and Exa AI.

    Generate viral content ideas, scripts, and hooks for Instagram Reels, YouTube Shorts, and TikTok β€” all powered by real-time web search.

    Features

    • πŸ” Real-time Web Search - Uses Exa AI direct API to search for current trends and topics
    • πŸ’‘ Content Ideas - Generate viral-worthy content ideas based on research
    • πŸ“ Full Scripts - Complete short-form video scripts with hooks, body, and CTA
    • 🎣 Hook Generator - Multiple scroll-stopping hook variations
    • πŸ”₯ Trending Analysis - Discover trending topics and viral opportunities
    • πŸ“± Multi-Platform - Optimized for Instagram, YouTube Shorts, and TikTok
    • 🎨 Recording Suggestions - Camera angles, b-roll, styling, and audio tips

    Prerequisites

    • Node.js 18+
    • GitHub Copilot subscription
    • Exa AI API key (for web search)

    Installation

    # Clone and navigate to the project
    cd cookbook/nodejs/recipe/content-curator
    
    # Install dependencies
    npm install
    
    # Build the project
    npm run build

    Configuration

    Exa AI API Key

    Get your API key from Exa AI and configure it using a .env file:

    # Create .env file in the project root
    echo "EXA_API_KEY=your-exa-api-key-here" > .env
    
    # Or manually create .env file with:
    # EXA_API_KEY=your-exa-api-key-here

    Note: The .env file is automatically loaded when you run the app. Don't commit it to version control (it's already in .gitignore).

    Usage

    # Run the CLI
    npm start
    
    # Or with an initial topic
    npm start "AI productivity tools"

    Commands

    Command Description
    /search Research topic with real-time web search
    /ideas Generate content ideas
    /script Create a full video script
    /trending Find trending angles
    /hooks Generate hook variations
    /full Complete content package
    /platform Switch target platform (IG/YT/TT)
    /topic Change research topic
    /copy Copy last content to clipboard
    /last Show last generated content
    /model Switch AI model
    /help Show help
    /quit Exit

    Workflow Example

    1. Start with a topic: Enter your niche or content idea
    2. Select platform: Choose Instagram, YouTube, TikTok, or all
    3. Research first: Use /search to gather current information
    4. Generate ideas: Use /ideas to get content angles
    5. Create script: Use /script for a complete video script
    6. Refine: Type any message to refine the last content
    7. Copy & Create: Use /copy to copy and start filming!

    Output Structure

    Script Output Includes:

    • Hook - The attention-grabbing first 3 seconds
    • Body - Key content beats with dialogue
    • CTA - Call to action
    • Recording Suggestions - Camera setup, b-roll, transitions
    • Visual Style - Aesthetic, colors, fonts, lighting
    • Audio Suggestions - Music vibe, trending sounds
    • Hashtags - Platform-optimized hashtag set

    Architecture

    content-curator/
    β”œβ”€β”€ src/
    β”‚   β”œβ”€β”€ index.ts           # CLI entry point
    β”‚   β”œβ”€β”€ types.ts           # TypeScript interfaces
    β”‚   β”œβ”€β”€ services/
    β”‚   β”‚   β”œβ”€β”€ copilot.ts     # Copilot client service
    β”‚   β”‚   └── exa.ts         # Exa AI direct API integration
    β”‚   β”œβ”€β”€ prompts/
    β”‚   β”‚   └── templates.ts   # AI prompt templates
    β”‚   β”œβ”€β”€ ui/
    β”‚   β”‚   β”œβ”€β”€ display.ts     # Terminal rendering
    β”‚   β”‚   β”œβ”€β”€ prompts.ts     # Interactive prompts
    β”‚   β”‚   └── themes.ts      # Colors and styling
    β”‚   └── utils/
    β”‚       └── clipboard.ts   # Clipboard utilities
    β”œβ”€β”€ package.json
    β”œβ”€β”€ tsconfig.json
    └── README.md

    How It Works

    1. Topic Input: You provide a topic or niche to research
    2. Exa API Search: Direct API call to Exa AI for real-time web search
    3. AI Analysis: GitHub Copilot analyzes results and generates content
    4. Platform Optimization: Output is tailored to your selected platform

    Example Session

    ❯ npm start "productivity hacks"
    
    πŸ” Topic: productivity hacks
    πŸ“± Platform: YouTube Shorts
    
    ❯ /ideas
    
    πŸ’‘ Content Ideas: productivity hacks
    
    ### Idea 1: "The 2-Minute Rule Changed My Life"
    **Hook:** "I was working 12 hours and getting nothing done..."
    **Angle:** Personal transformation story + tactical advice
    **Why it works:** Combines emotional story with actionable tip
    **Trending potential:** ⭐⭐⭐⭐⭐
    
    ...
    
    ❯ /script
    
    πŸ“ Reel Script: productivity hacks
    
    ### 🎣 HOOK (0-3 seconds)
    "Stop planning your day like this" [show calendar overwhelm]
    
    ### πŸ“– BODY
    **Beat 1:** "The problem isn't your scheduleβ€”it's decision fatigue"
    **Beat 2:** "Here's what I do instead: the 3-3-3 method"
    **Beat 3:** "3 deep work blocks, 3 quick tasks, 3 maintenance items"
    
    ### 🎯 CTA
    "Save this for tomorrow morning β˜€οΈ"
    
    ### 🎬 Recording Suggestions
    **Camera Setup:** Talking head with screen recording B-roll
    **B-Roll Ideas:** Messy desk β†’ clean desk transition
    ...

    License

    MIT