A powerful command-line interface for downloading videos and media from TikTok, Facebook, Instagram, Twitter, Douyin, and Spotify. Designed with beautiful ASCII art and interactive prompts.
- TikTok Downloader - Download videos with metadata and multiple quality options
- Facebook Downloader - Download videos in multiple qualities (HD/SD) and formats (MP4/MP3)
- Instagram Downloader - Download photos and videos from posts and stories
- Twitter Downloader - Download videos from Twitter/X posts
- Douyin Downloader - Download videos from Douyin (Chinese TikTok) with multiple quality options
- Spotify Downloader - Download tracks (MP3) and cover images from Spotify
- Beautiful CLI Interface - Colorful output with ASCII art banner
- Interactive Mode - User-friendly prompts and selections
- Fast Downloads - Efficient downloading with progress indicators
# Update system
sudo apt update && sudo apt upgrade -y
# Install Node.js and npm
sudo apt install nodejs npm git -y
# Verify installation
node --version
npm --version
# Clone and install
git clone https://github.com/arsya371/prenivdlapp-cli.git
cd prenivdlapp-cli
npm install# Install Homebrew (if not already installed)
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
# Install Node.js
brew install node git
# Verify installation
node --version
npm --version
# Clone and install
git clone https://github.com/arsya371/prenivdlapp-cli.git
cd prenivdlapp-cli
npm install# Download Node.js from nodejs.org
# Install Git from git-scm.com
# Open Command Prompt or PowerShell
# Clone and install
git clone https://github.com/arsya371/prenivdlapp-cli.git
cd prenivdlapp-cli
npm install# Update packages
pkg update && pkg upgrade
# Install dependencies
pkg install nodejs git
# Clone and install
git clone https://github.com/arsya371/prenivdlapp-cli.git
cd prenivdlapp-cli
npm installSimply run the application without any arguments to start interactive mode:
# Linux/macOS/Termux:
node index.js
# Or use the shell script:
./prnvapp.sh
# Windows:
node index.js
# Or use the batch file:
prnvapp.batOnce in interactive mode, you can use these commands:
/help- Show available commands/clear- Clear the screen/quit- Exit the application/path- Show current download directory/setpath <directory>- Set custom download directory
Example:
> /setpath my_downloads
> /path
Current download path: my_downloads
Downloaded files are organized by platform with timestamps:
- TikTok:
tiktok_video_[timestamp].mp4 - Facebook:
facebook_[quality]_[timestamp].[format] - Instagram:
instagram_media_[number]_[timestamp].[extension] - Twitter:
twitter_video_[timestamp].mp4 - Douyin:
douyin_video_[timestamp].mp4 - Spotify:
spotify_audio_[timestamp].mp3orspotify_image_[timestamp].jpg
All files are saved to the specified directory (default: resultdownload_preniv).
This CLI works on:
- Windows (10, 11)
- Linux (Ubuntu, Debian, CentOS, etc.)
- macOS (Monterey, Ventura, Sonoma)
- Termux (Android)
- WSL (Windows Subsystem for Linux)
axios- HTTP client for API requestschalk- Terminal string stylingcommander- Command-line interface frameworkinquirer- Interactive command line promptsora- Elegant terminal spinnersfiglet- ASCII art text generator
The CLI includes comprehensive error handling for:
- Invalid URLs
- Network connectivity issues
- API failures
- File download errors
- User input validation
- URL Validation: Make sure to paste complete, valid URLs
- Network: Ensure stable internet connection for downloads
- Storage: Check available disk space before downloading
- Quality: Higher quality files take longer to download
This project is licensed under the GNU General Public License v3.0 (GPL-3.0).
This means:
- ✅ Free to use, modify, and distribute
- ✅ Source code must remain open
- ✅ Any modifications must also be GPL-3.0
- ❌ Cannot be sold as proprietary tools
Caution
Do not sell this tool. This project is free and open-source under GPL-3.0. Any distribution (free or paid) must include the source code and maintain the same license. Selling this as proprietary tools is strictly prohibited and violates the GPL-3.0 license terms.
Feel free to submit issues and enhancement requests!
Note
This tool is for educational purposes. Please respect the terms of service of the respective social media platforms and only download content you have permission to download.