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.
Maintainers
Keywords
Readme
YTConv Social Media Downloader and Converter CLI
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 donateChoose 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 mp4Choose --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 cleanremoves 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
0without 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 --helpwith 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
--subtitlesor 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 donateand theNshortcut offer optional Ko-fi/global and Saweria/Indonesia browser handoffs with a five-second return and copy/manual fallback.ytconv extract URLsaves available subtitles and structured metadata;ytconv transcript URLrequests a readable SRT transcript.--upscale 4kcreates 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 --versionRequirements:
- 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 doctorBasic use
Launch the interactive terminal application:
ytconvDownload a public video:
ytconv "https://www.youtube.com/watch?v=..." --videoDownload audio:
ytconv "https://music.youtube.com/watch?v=..." --audio --audio-format mp3Download 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 jpgEnable subtitles explicitly:
ytconv "https://www.youtube.com/watch?v=..." --subtitlesInteractive 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:
- Try the URL without cookies.
- Try an explicitly configured cookie file when one exists.
- Try a previously linked local browser profile.
- When the provider reports an authentication failure, open the provider's official login page in the user's browser.
- Verify the same media URL with a short-lived local cookie export.
- Delete the temporary cookie export after the attempt.
Link a browser session manually:
ytconv login instagram
ytconv login facebook
ytconv login tiktok
ytconv login xSelect a browser explicitly:
ytconv "https://www.instagram.com/reel/..." --cookies-browser chromeUse a Netscape-format cookie file:
ytconv "https://example.com/media" --cookies ./cookies.txtKeep 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-errorJSON result output:
ytconv --headless --result-json result.json "https://youtu.be/..."Diagnostics
ytconv doctor
ytconv self-test
ytconv examples
ytconv shell-infoThe 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
whichandisexepackages 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 updateLicense
ISC License. See LICENSE.
Documentation hub
- Documentation index
- Installation
- Commands
- Configuration
- Authentication
- cookies.txt guide
- Format guide
- Content extraction
- Video upscaling
- Deno runtime
- Safety and legal use
- Troubleshooting
- Platform support
- Architecture
- Development
- Release process
- npm Trusted Publishing
- FAQ
- Migration to 1.7.7
- Migration to 1.7.5
- Migration to 1.7.4
- Support
- Donate
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 donateThese commands print responsive terminal panels and release-pinned documentation URLs. Stable HEAD compatibility documentation is also maintained on the repository default branch.
