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 buildConfiguration
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-hereNote: 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
- Start with a topic: Enter your niche or content idea
- Select platform: Choose Instagram, YouTube, TikTok, or all
- Research first: Use
/searchto gather current information - Generate ideas: Use
/ideasto get content angles - Create script: Use
/scriptfor a complete video script - Refine: Type any message to refine the last content
- Copy & Create: Use
/copyto 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.mdHow It Works
- Topic Input: You provide a topic or niche to research
- Exa API Search: Direct API call to Exa AI for real-time web search
- AI Analysis: GitHub Copilot analyzes results and generates content
- 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