title: Leech
emoji: π’
colorFrom: yellow
colorTo: purple
sdk: docker
pinned: false
This repository is a feature-enhanced version of the mirror-leech-telegram-bot. It integrates various improvements from multiple sources, expanding functionality while maintaining efficiency. Unlike the base repository, this version is fully deployable on Heroku.
Below is a refined version that preserves all the important details while enhancing readability and design :
Deployment Guide (VPS)
View All Steps Click Here
1. Prerequisites
- Tutorial Video from A to Z (Latest Video)
- Special thanks to Wiszky
2. Installing Requirements
Clone this repository:
git clone https://github.com/SilentDemonSD/WZML-X mirrorbot/ && cd mirrorbot
3. Build and Run the Docker Image
Make sure you mount the app folder and install Docker following the official documentation.
There are two methods to build and run the Docker image:
3.1 Using Official Docker Commands
Start Docker daemon (skip if already running):
sudo dockerdBuild the Docker image:
sudo docker build . -t wzmlxRun the image:
sudo docker run -p 80:80 -p 8080:8080 wzmlxTo stop the running image:
First, list running containers:
sudo docker psThen, stop the container using its ID:
sudo docker stop <container_id>
3.2 Using docker-compose (Recommended)
Note: If you want to use ports other than 80 and 8080 for torrent file selection and rclone serve respectively, update them in docker-compose.yml.
Install docker-compose:
sudo apt install docker-composeBuild and run the Docker image (or view the current running image):
sudo docker-compose upAfter editing files (e.g., using nano to edit start.sh), rebuild:
sudo docker-compose up --buildTo stop the running image:
sudo docker-compose stopTo restart the image:
sudo docker-compose startTo view the latest logs from the running container (after mounting the folder):
sudo docker-compose upTutorial Video for docker-compose and checking ports:
Docker Notes
IMPORTANT NOTES:
- Set
BASE_URL_PORTandRCLONE_SERVE_PORTvariables to any port you want to use. Default is80and8080respectively. - You should stop the running image before deleting the container and you should delete the container before the image.
- To delete the container (this will not affect on the image):
sudo docker container prune
- To delete te images:
sudo docker image prune -a
- Check the number of processing units of your machine with
nproccmd and times it by 4, then editAsyncIOThreadsCountin qBittorrent.conf.
Deployment Guide (Heroku)
π Bot Authors
Click Here For Description
SilentDemonSD |
RjRiajul |
CodeWithWeeb |
Maverick |
| Author and DDL, UI Design, More Customs.. | Co-Author & Maintainer | Author and Wraps Up Features | Co-Author & Bug Tester |