npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

content-curator

v1.0.0

Published

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

Downloads

15

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