Deploy

Deploy your very own Mega.nz-Bot

Heroku

  • Copy the link of your forked repo

  • Go to Redirect-to-Heroku website, enter the copied repo link in input field and click on "Deploy Now!" button. You'll be redirect to Heroku app creation page.

  • Fill config vars accordingly

  • Click on "Deploy app" button and wait till the process is finished

Local


If you're hosting your bot on a linux system with apt, pacman or dnf as the package manager you can use official installer by running the following command,

curl -sS https://raw.githubusercontent.com/Itz-fork/Mega.nz-Bot/main/installer.sh | bash

  • Clone the repo,

git clone -b nightly https://github.com/Itz-fork/Mega.nz-Bot
  • Enter the directory,

cd Mega.nz-Bot
  • Create a new virtual environment

python -m venv .venv
source .venv/bin/activate
  • Install python requirements,

pip3 install -U -r requirements.txt
python3 -m megadl

# If you get erros such as ModuleNotFoundError, use below command
.venv/bin/python3 -m megadl

Last updated