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

youtubeproducer-carousel

v0.2.0

Published

One-shot YouTube videos or raw Riverside podcast recordings into Instagram quote carousels. Riverside mode matches every slide to the speaker who said it. Logs in to your YouTube Producer account, extracts frames locally, generates quotes, and opens the w

Downloads

302

Readme

yt-carousel CLI

Power-user alternative to the YouTube Producer carousel web flow. Logs in once, then downloads + transcribes + frame-extracts on your own machine — much faster than browser upload — and syncs everything to your library. You finish editing on the web.

This is not a replacement for the web app. It's a second way in for people comfortable on the command line.

Install

brew install yt-dlp ffmpeg     # required
cd cli && npm install
npm link                        # makes `yt-carousel` available globally

You'll also need the same Supabase env vars the web app uses:

export YT_CAROUSEL_SUPABASE_URL="https://<project>.supabase.co"
export YT_CAROUSEL_SUPABASE_ANON_KEY="<anon-key>"

Add those to ~/.zshrc to make them permanent.

Usage

yt-carousel login                                # one-time browser auth
yt-carousel https://youtu.be/abc123              # extract + upload
yt-carousel https://youtu.be/abc123 --frames 80  # pick 80 frames instead of 50

When it's done, it prints an editor URL like https://carousel.youtubeproducer.app/?generation=<id> — open that and you're straight into the carousel editor with frames and transcript already there.

Local (Riverside) mode

For podcasts recorded on Riverside with per-speaker raw video tracks. Point it at a folder containing the speaker-tagged transcript (Name (MM:SS.ms) blocks) and one raw video per host — video filenames just need to contain the speaker's name:

yt-carousel local ./episode-folder --title "Episode 42"

# or fully explicit:
yt-carousel local \
  --transcript riverside.txt \
  --speaker "Becky=becky-raw.mp4" \
  --speaker "Bhav=bhav-raw.mp4"

What it does differently from YouTube mode:

  1. Parses the Riverside transcript into speaker-attributed utterances
  2. Generates quote sequences locally with your LLM CLI (claude by default — no Gemini call, no generation slot used). Same rules as the backend: verbatim minus filler words, 10–30 words per line, an even 10–20 lines per sequence (every 2 lines = 1 slide, max 10 slides). --parser gemini uses the backend API instead.
  3. Verifies each line's speaker by word-overlap matching against the transcript
  4. Extracts a separate frame pool from each host's own video (default 60 frames per speaker from 3× oversampled candidates — talking-head footage is full of blinks and mid-word faces, so the sharpness filter gets more to choose from; --frames N to change)
  5. Pre-builds the top carousel with speaker-correct frames: each slide half shows the person who actually said that line, sampled near the moment they said it. The editor opens fully assembled.

The generation lands in your library like any other; frames are tagged speaker:<Name> in the frame pool so you can filter by person while editing.

What it does locally

  1. yt-dlp downloads the video as HQ mp4 (≤1080p) + auto-generated subtitles
  2. Parses the .vtt into a plain transcript
  3. ffmpeg extracts 2× the target number of evenly-spaced frames
  4. Scores each frame with Laplacian variance (sharpness) and keeps the sharpest per time bucket
  5. Calls /api/generate-sequences on the live web app to get quote sequences (DeepSeek)
  6. Uploads frames + transcript + sequences to Supabase under your account, exactly the way the web flow does

Your session is stored at ~/.config/yt-carousel/session.json (chmod 600).

Auth flow

yt-carousel login spins up http://127.0.0.1:7777, opens https://carousel.youtubeproducer.app/cli-auth?port=7777 in your browser, and waits for the page to POST your Supabase session back. If you're already logged in, it's a single click.