Mirroring
Mirroring means downloading a file from the internet and uploading it to a cloud destination (Google Drive, Rclone, Mega, or a DDL server).
You → /mirror [link] → Bot downloads → Bot uploads to cloud → Done!Basic mirror
/mirror https://example.com/file.zipThe bot downloads the file and uploads it to your default upload destination (set in config or /userset).
Mirror types
| Command | Best for |
|---|---|
/mirror | Direct download links, HTTP/HTTPS files |
/qbmirror | Torrent magnets and .torrent files (uses qBittorrent) |
/ytdl | YouTube, Vimeo, Twitter, Instagram, TikTok, and any yt-dlp supported site |
/jdmirror | Premium hosters via JDownloader |
/nzbmirror | Usenet/NZB files via SABnzbd |
/clone | Copy files/folders from one Google Drive to another |
Setting the upload destination
By default, files go to wherever DEFAULT_UPLOAD is set (either Google Drive "gd" or Rclone "rc").
To override for a single task, use -up:
/mirror link -up rclThis opens buttons to select your Rclone remote and path.
/mirror link -up gdlThis opens buttons to select your Google Drive token and folder.
You can also specify the path directly:
/mirror link -up remote:dir/subdir # Rclone path
/mirror link -up 1ABCDEfgh_XYZ # Google Drive folder IDExtra options for mirroring
Rename the file
/mirror link -n MyNewFileName.mp4Extract a zip/rar
/mirror link -e
/mirror link -e mypassword # password protectedZip the files
/mirror link -z
/mirror link -z mypassword # password protectedExtract then zip
/mirror link -z mypassword -eSelect files from a torrent
/mirror magnet:?xt=... -sThis opens the web UI where you can pick which files to download.
Seed after download
/mirror magnet:?xt=... -d 0.7:10Seeds until ratio 0.7 OR 10 minutes, whichever comes first.
Create a sample video
/mirror video.mp4 -sv 60:4Creates a 60-second sample with 4-second parts.
Take screenshots
/mirror video.mp4 -ss 6Takes 6 screenshots from the video.
Convert media format
/mirror link -ca mp3 # convert audio to mp3
/mirror link -cv mp4 # convert video to mp4
/mirror link -ca mp3 -cv mp4 # bothApply Rclone flags
/mirror link -rcf --buffer-size:8M|--drive-starred-onlySee all Rclone flags.
Add metadata
/mirror link -meta title=MyMovie|artist=Me|year={year}Available variables: {filename}, {basename}, {extension}, {year}
Swap words in filenames
/mirror link -ns oldname/newname/sThe /s makes it case-sensitive. Leave it off for case-insensitive.
Force start (skip the queue)
/mirror link -f # force download AND upload
/mirror link -fd # force download only
/mirror link -fu # force upload onlyMultiple links at once
Multi-link mode (-i)
Download several links as separate tasks:
/mirror -i 3Then reply with 3 links (one per message).
Bulk mode (-b)
Reply to a text file or message containing links (one per line):
/mirror -bEach link can have its own options:
link1 -n name1 -up remote1
link2 -n name2 -up remote2 -z
link3 -e -up remote3Same directory (-m)
Put all downloaded files into one folder:
/mirror -i 3 -m "My Folder"
/mirror -b -m "My Folder"Cloning
Clone copies files/folders between Google Drives (no downloading to your server):
/clone https://drive.google.com/.../folder
/clone gdriveID
/clone rcl/rclone_pathUse -sync for Rclone sync mode:
/clone rcl/source -up rcl/destination -sync