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

aigc-vault-x-video-service

v1.0.1

Published

Local X/Twitter video resolver service for AIGC Vault.

Downloads

27

Readme

AIGC Vault X Video Service

Local helper service for AIGC Vault. It resolves X/Twitter status URLs with yt-dlp, downloads MP4 files to the user's machine, and exposes local file URLs for the browser extension.

Install

brew install node yt-dlp ffmpeg
npm install -g aigc-vault-x-video-service

Start

aigc-vault-x-video-service

The default service URL is:

http://127.0.0.1:8899

The default download directory is:

~/Movies/AIGC-Vault-X-Videos

Auto-start on macOS

aigc-vault-x-video-service --install

Remove auto-start:

aigc-vault-x-video-service --uninstall

Options

aigc-vault-x-video-service --host 127.0.0.1 --port 8899
aigc-vault-x-video-service --download-dir ~/Movies/AIGC-Vault-X-Videos

If you want another computer on the same network to access this service, start it with a LAN host such as:

aigc-vault-x-video-service --host 0.0.0.0

Then set the AIGC Vault extension service URL to that computer's LAN address, for example:

http://192.168.1.23:8899

API

GET /health

Returns service status.

POST /resolve-x-video

Body:

{
  "url": "https://x.com/user/status/123",
  "download": true
}

Response:

{
  "success": true,
  "videoUrl": "http://127.0.0.1:8899/files/123.mp4",
  "filePath": "/Users/name/Movies/AIGC-Vault-X-Videos/123.mp4",
  "fileName": "123.mp4"
}

Only x.com / twitter.com status URLs are accepted.

Notes

This service uses:

yt-dlp --cookies-from-browser chrome -S "res,ext:mp4:m4a" --merge-output-format mp4

Chrome may ask for macOS Keychain permission when yt-dlp reads browser cookies. Enter the Mac login password and allow access.