A Windows utility that syncs URLs from Brave browser to your Android phone via SSH/Termux. Perfect for quickly sending videos and web pages from your desktop to your mobile device.
- π One-Click URL Sync - Copy and send URLs with a single keyboard shortcut
- π± Direct to Phone - Uses SSH/Termux for instant transfer
- π₯ Smart Video Handling - Automatically downloads videos using yt-dlp on your phone
- πͺ Windows Native - Integrates with Windows notifications and clipboard
- π Toast Notifications - Get instant feedback on transfer status
- π― Auto-Focus - Automatically focuses Brave browser window
- Python 3.7+
- PowerShell 5.1+
- SSH client (built into Windows 10+)
- Brave Browser
- Termux
- OpenSSH server running in Termux
- yt-dlp (for video downloads)
# Clone or download to your preferred location
cd d:\dev\repos\show
cd brop
# Install Python dependencies (if any additional needed)
# pip install -r requirements.txt# Install required packages
pkg update && pkg upgrade
pkg install openssh python ffmpeg
# Install yt-dlp
pip install yt-dlp
# Generate SSH key (if not already done)
ssh-keygen -t ed25519
# Start SSH server
sshd
# Find your phone's IP address
ifconfigOn Windows, create/edit ~/.ssh/config:
Host tmux
HostName 192.168.1.xxx # Your phone's IP
User u0_a123 # Your Termux user (check with 'whoami' in Termux)
Port 8022 # Default Termux SSH port
IdentityFile ~/.ssh/id_ed25519Copy your public key to phone:
type ~\.ssh\id_ed25519.pub | ssh tmux "cat >> ~/.ssh/authorized_keys"Run the main script:
python brop.pyOr use the PowerShell wrapper:
.\brop.ps1 -Action SyncSend a URL directly without browser interaction:
python brop.py --url "https://youtube.com/watch?v=example"Verify all required tools are installed:
python brop.py --check-depsIn Brave browser, press Ctrl+Shift+Y to:
- Copy the current URL
- Automatically trigger the sync script
- Send the URL to your phone
Edit the configuration variables in brop.py:
SSH_PROFILE = "tmux" # SSH config profile name
LOG_DIR = Path.home() / "AppData" / "Local" / "brop"
LOG_FILE = LOG_DIR / "brop.log"
BRAVE_SHORTCUT = "^+y" # Ctrl+Shift+Y- YouTube
- Vimeo
- Dailymotion
- Twitch
- TikTok
- Focus: Script focuses on Brave browser window
- Copy: Sends
Ctrl+Shift+Yto copy current URL - Extract: Extracts URL from clipboard
- Detect: Determines if URL is a video platform
- Send: SSH to phone and execute appropriate command
- Videos: Downloads with
yt-dlp - Regular URLs: Echoes URL (can be extended)
- Videos: Downloads with
- Notify: Shows Windows toast notification with result
Logs are stored at: %LOCALAPPDATA%\brop\brop.log
View logs:
Get-Content $env:LOCALAPPDATA\brop\brop.log -Tail 20- Ensure Termux SSH server is running:
sshd - Check phone's IP address hasn't changed
- Verify SSH config profile name matches
- Ensure Brave browser is focused
- Check if
Ctrl+Shift+Yis the correct shortcut in your Brave setup - Verify clipboard contains valid URL
- Ensure yt-dlp is installed on phone:
pip install -U yt-dlp - Check phone has storage space
- Verify URL is supported by yt-dlp
The PowerShell wrapper supports multiple actions:
.\brop.ps1 -Action Focus # Focus Brave window
.\brop.ps1 -Action GetClipboard # Get clipboard content
.\brop.ps1 -Action SendKeys -Keys "^c" # Send keys
.\brop.ps1 -Action Notify -Title "Test" -Message "Hello"
.\brop.ps1 -Action Sync # Full sync (default)
.\brop.ps1 -Action CheckDeps # Check dependenciesMIT License - See LICENSE file for details
Om Singh
1.0.0 - November 2025