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

ytconv

v1.7.7

Published

Secure cross-platform social-media downloader and converter with repeat-safe formats, optional donations, browser recovery, diagnostics, and verified release provenance.

Readme

YTConv Social Media Downloader and Converter CLI

npm version Socket Badge TypeScript declarations License: ISC Node.js 22.14+

YTConv 1.7.7 is a terminal-first social downloader and converter with repeat-safe format selection, transcript/metadata extraction, optional FFmpeg upscaling through 4K, Deno-aware YouTube extraction, and browser-session recovery for media your account may access.

The npm package is a CLI only. It contains no web application, no telemetry, and no preinstall, install, or postinstall hooks.

Donate: just pay what you can

Donations are optional. Every YTConv feature remains available without paying.

ytconv donate

Choose a provider in the CLI and YTConv will ask the operating system to open its exact HTTPS page. The interactive screen returns home after five seconds. If automatic browser opening is unavailable, the CLI copies the link when possible and always shows the complete link for manual use. See the donation guide.

Quick start

npm install --global [email protected]
ytconv repair
ytconv doctor
ytconv "URL" --mode video --video-format mp4

Choose --mode video for a video result or --mode audio for an audio result. Exit code zero alone is not treated as proof of completion: YTConv verifies a real output file that matches the selected mode. Beginner guides cover Windows/macOS/Node.js, each Linux family, Termux, iSH on iPhone/iPad, and cookies.txt.

Highlights in 1.7.7

  • Native 2160p source streams outrank lower AVC compatibility fallbacks when 2160p is requested; this is separate from optional upscaling.
  • Automatic archives and default output names include the current mode, format, and requested quality, preventing a prior 1080p result from satisfying a later 2160p request.
  • ytconv clean removes managed download archives plus update, error, and yt-dlp extractor caches while preserving media, settings, history, and custom archive files.
  • Adaptive Windows, macOS, Termux, and Linux-family colors cover the logo, media card, progress, and completion panels and survive a safe auto-update relaunch.
  • Interactive downloads recover a missing archived file even when yt-dlp exits 0 without printing an archive-skip message.
  • The recovery attempt explicitly disables the archive, including when the normal archive path came from UI defaults or environment configuration.
  • Zero-output, FFmpeg, codec, and other non-authentication failures no longer open an unrelated Google/browser login flow.
  • Chrome and other managed Chromium browsers can be detected from their executable before a regular browser profile directory exists.
  • Responsive Figlet branding with compact fallbacks for narrow terminals.
  • Commander-based ytconv --help with clear examples and privacy guidance.
  • Animated phases for link inspection, download, merge, audio extraction, remux, thumbnail processing, and conversion.
  • Exact pinned runtime dependencies: Figlet 1.11.4, Commander 14.0.3, which 6.0.0, isexe 3.1.5, Ink 7.1.1, React 19.2.8, and ws 8.21.1.
  • Shell-free executable discovery and child-process execution.
  • Public access first. Browser cookies are requested only after an authentication-related provider failure.
  • Subtitles are off by default in interactive, headless, and Android flows. Use --subtitles or Ctrl+S to enable them.
  • MP4, MKV, WebM, MP3, M4A, AAC, Opus, Vorbis, FLAC, ALAC, WAV, and the 4K path are exercised ten times each against a real local FFmpeg fixture in release CI.
  • The user-requested public YouTube URL is resolved ten times without cookies and exercised as 1080p, native 2160p, and 720p twice each in one directory; ffprobe verifies exact source heights.
  • ytconv donate and the N shortcut offer optional Ko-fi/global and Saweria/Indonesia browser handoffs with a five-second return and copy/manual fallback.
  • ytconv extract URL saves available subtitles and structured metadata; ytconv transcript URL requests a readable SRT transcript.
  • --upscale 4k creates a 3840×2160 derived copy using local FFmpeg Lanczos scaling. It is not falsely labeled AI detail recovery.
  • Supported Deno is preferred for current yt-dlp JavaScript challenges, with the existing Node.js runtime as fallback.
  • Terminal accents adapt to Windows, macOS, Termux, and major Linux distribution families.
  • Android version 1.7.7 uses current 2026 metadata, visible download/conversion progress, and a local browser-login window for providers that require a session.

Supported sites

YTConv combines yt-dlp and gallery-dl and can process media from many providers, including:

  • YouTube and YouTube Music
  • Instagram, Facebook, TikTok, X/Twitter, Threads, Snapchat
  • Pinterest, Reddit, Tumblr, Imgur, Flickr, DeviantArt, Pixiv
  • Twitch, Kick, Rumble, Vimeo, Dailymotion, Streamable, Odysee
  • SoundCloud, Bandcamp, Mixcloud
  • Bilibili, Weibo, VK, Telegram, LinkedIn, Bluesky, Mastodon

Provider support follows the installed media engines and may change when a website changes its delivery or authentication system. YTConv reports the selected engine and offers browser-login recovery when an authenticated session is required.

Install from npm

npm install --global [email protected]
ytconv --version

Requirements:

  • Node.js 22.14.0 or newer
  • npm 10 or newer
  • Internet access for media requests and verified engine downloads

YTConv automatically checks for verified yt-dlp, gallery-dl, FFmpeg, and optional browser support. Run the following when setup is incomplete:

ytconv repair
ytconv doctor

Basic use

Launch the interactive terminal application:

ytconv

Download a public video:

ytconv "https://www.youtube.com/watch?v=..." --video

Download audio:

ytconv "https://music.youtube.com/watch?v=..." --audio --audio-format mp3

Download an Instagram reel with automatic platform detection:

ytconv "https://www.instagram.com/reel/..."

Download images or a gallery:

ytconv "https://www.pinterest.com/pin/..." --image --image-format jpg

Enable subtitles explicitly:

ytconv "https://www.youtube.com/watch?v=..." --subtitles

Interactive controls

| Key | Action | |---|---| | Enter | Inspect, download, and convert the current URL | | Ctrl+M | Cycle AUTO, VIDEO, AUDIO, and IMAGE modes | | Ctrl+A | Cycle audio formats and switch to AUDIO | | Ctrl+T | Cycle video containers and switch to VIDEO | | Ctrl+Q | Cycle video resolution | | Ctrl+F | Cycle image formats and switch to IMAGE | | N | Open Ko-fi and Saweria donation options | | Ctrl+G | Cycle AUTO and supported social platforms | | Ctrl+B | Cycle automatic, public, file, and browser access | | Ctrl+S | Toggle subtitles; default is off | | Ctrl+P | Toggle playlist mode | | Ctrl+V | Paste a URL from the clipboard | | H / D | Help / diagnostics | | Esc / Ctrl+C | Cancel safely |

Browser login and cookies

YTConv never asks for a password or OTP inside the CLI.

The normal flow is:

  1. Try the URL without cookies.
  2. Try an explicitly configured cookie file when one exists.
  3. Try a previously linked local browser profile.
  4. When the provider reports an authentication failure, open the provider's official login page in the user's browser.
  5. Verify the same media URL with a short-lived local cookie export.
  6. Delete the temporary cookie export after the attempt.

Link a browser session manually:

ytconv login instagram
ytconv login facebook
ytconv login tiktok
ytconv login x

Select a browser explicitly:

ytconv "https://www.instagram.com/reel/..." --cookies-browser chrome

Use a Netscape-format cookie file:

ytconv "https://example.com/media" --cookies ./cookies.txt

Keep cookie files private. Do not commit them to Git or upload them to support tickets.

Beginner guide: docs/COOKIES.md.

Android APK

The Android application is version 1.7.7 with version code 10706 and 2026 UI metadata.

It provides:

  • AUTO, MP4, and MP3 modes
  • visible download and conversion progress
  • Stop/cancel support
  • output in Download/YTConv
  • subtitles disabled by default
  • local WebView login for supported providers
  • temporary cookie storage in the application cache
  • automatic cookie deletion when the activity closes

The browser window loads the provider's official page. Credentials and OTP codes stay inside Android WebView and are not passed as YTConv command-line arguments.

Native package documentation is available in docs/PACKAGES.md.

Headless and automation

ytconv --headless "https://youtu.be/..."
ytconv --stdin < urls.txt
ytconv --batch-file urls.txt --continue-on-error

JSON result output:

ytconv --headless --result-json result.json "https://youtu.be/..."

Diagnostics

ytconv doctor
ytconv self-test
ytconv examples
ytconv shell-info

The diagnostics output includes engine versions, paths, platform information, selected social provider, subtitle state, output directory, browser availability, and cookie source.

Security

  • No npm lifecycle installation hooks.
  • No shell: true, eval, or dynamically constructed shell commands.
  • Executables are resolved with pinned which and isexe packages and run with argument arrays.
  • Verified engine downloads use allowlisted HTTPS release endpoints and integrity checks.
  • Browser login is an explicit recovery step after public access fails.
  • Temporary cookies are stored locally with restricted permissions and removed after use.
  • No telemetry.

Read the complete policy in SECURITY.md and docs/SOCKET-SECURITY.md.

Package formats

Release automation supports:

  • npm tarball with provenance
  • Windows installer EXE and portable ZIP
  • Android debug and unsigned release APKs plus source archive
  • DEB and RPM for x86_64 and ARM64
  • Arch package
  • Alpine APK
  • AppImage
  • Snap
  • Flatpak
  • Nix and flake metadata
  • Termux DEB
  • portable Linux archives
  • iSH Python package

Update

ytconv check-update
ytconv update

License

ISC License. See LICENSE.

Documentation hub

Canonical repository: https://github.com/andhikamarcella/YTConv

Support: [email protected]

Interactive help center (1.7.7)

ytconv docs --list
ytconv docs troubleshooting
ytconv about
ytconv shortcuts
ytconv donate

These commands print responsive terminal panels and release-pinned documentation URLs. Stable HEAD compatibility documentation is also maintained on the repository default branch.