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

vidscript

v1.0.6

Published

AI-powered CLI tool that transforms video content into intelligent, structured notes and scripts

Readme

VidScript

AI-powered CLI tool that transforms video content into intelligent, structured notes.

Overview

VidScript is a powerful command line tool that processes video files or YouTube videos and generates well-structured notes using AI. It extracts audio, transcribes speech, and leverages advanced AI models to organize content into coherent notes. Built with TypeScript and modern AI technologies, it offers a seamless experience for content creators, students, and professionals.

Features

  • 🎥 Support for both local video files and YouTube URLs
  • 🤖 Multiple AI model options (Anthropic's Claude, OpenAI's GPT-4)
  • 🌐 Multi-language support for transcription and notes
  • 📝 Multiple output formats (detailed, concise, bullet points)
  • 📊 Vector database integration for enhanced content analysis
  • 🎨 Beautiful PDF output with customizable formatting
  • ⚡ Fast processing with modern async operations
  • 🔄 Progress tracking and status updates
  • 🛠️ System compatibility checking

Prerequisites

  • Node.js 16 or higher
  • FFmpeg installed on your system
  • API keys for:
    • Anthropic (Claude)
    • OpenAI (optional, for GPT-4)
    • Pinecone (for vector storage)

Installation

# Install globally using npm
npm install -g vidscript

# Or use with npx
npx vidscript

# Or install using Bun
bun install -g vidscript

Setup

  1. Run the initialization command:
vidscript init
  1. Follow the prompts to configure:
    • AI model preferences
    • API keys
    • Default output settings
    • Vector database settings

Usage

Basic Commands

# Process a YouTube video
vidscript generate -i "https://www.youtube.com/watch?v=EXAMPLE" -o ./my-notes

# Process a local video file
vidscript generate -i "/path/to/video.mp4"

# Generate notes with specific settings
vidscript generate -i "video.mp4" -m claude-3-opus -f detailed -l english -d comprehensive

Command Options

| Option | Description | Default | |--------------------------------|--------------------------------------------|------------| | -i, --input <path> | Video file path or YouTube URL | Required | | -o, --output <path> | Output directory for generated files | ./notes | | -m, --model <model> | AI model (claude-3-opus, claude-3.5-sonnet, claude-3.7-sonnet, gpt-4-turbo, gpt-4)| claude-3.7-sonnet | | -l, --language <lang> | Output language | english | | -f, --format <format> | Output format (detailed/concise/bullet) | detailed | | -d, --detail <level> | Note detail level (standard/comprehensive/exhaustive)| standard | | --vector-store | Enable vector store for long transcripts | false | | --vector-store-index <name> | Vector store index name | vidscript| | --vector-store-namespace <ns> | Vector store namespace | default | | -h, --help | Display help information | - |

Advanced Features

  1. Vector Analysis: Enable deep content analysis for long videos
vidscript generate -i "video.mp4" --vector-store --vector-store-index custom-index

Project Structure

vidscript/
├── src/
│   ├── index.ts         # Main application logic
│   ├── models.ts        # AI model integrations
│   ├── types.ts         # TypeScript type definitions
│   ├── ui.ts           # CLI interface components
│   ├── vectorStore.ts   # Vector database operations
│   └── createPDFHtml.ts # PDF generation logic
├── dist/               # Compiled JavaScript output
└── public/            # Static assets

Development

# Install dependencies
npm install

# Run in development mode
npm run dev

# Build the project
npm run build

# Run tests
npm test

# Lint code
npm run lint

# Format code
npm run format

Contributing

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

License

This project is licensed under the MIT License - see the LICENSE file for details.

Author

Enoch Kambale

Support

For issues and feature requests, please use the GitHub issues page.