GitHub: https://github.com/Itz-fork/Mega.nz-Bot
Last Commit: June 18th, 2024
Mega.nz-Bot - Cypher 🥷
A simple telegram bot to download, upload files or folders from Mega.nz
Features
- ⚡ Download, Upload files/folders easily
- 🙅♂️ No login required1
- 🗃️ Support for Mega.nz user account
- 🤝 Support for both private and public content
- 🛡 Can be used as either private or public bot
- 🖇 Direct download link to mega.nz upload
- 🧐 See what files are in your links
Deploy
Deploy your own Bot ♥️! Star 🌟 Fork 🍴 and Deploy
Heroku
Local
Recomended,
Use official Docker image to run Mega.nz-Bot 🐳
- Install Docker on your server
- Create the .env file (see env sample and config vars)
Run it! (.env
is path to .env file you created)
docker run --env-file .env ghcr.io/itz-fork/meganzbot
Pull the docker image
docker pull ghcr.io/itz-fork/meganzbot:latest
Legacy Metods,
- Using installer scriptIf you're using a linux distro with
apt
,apk
,pacman
ordnf
as the package manager, you can use the official installer script to setup Mega.nz-Bot.curl -sS -O https://raw.githubusercontent.com/Itz-fork/Mega.nz-Bot/main/installer.sh && chmod +x installer.sh && ./installer.sh- Clone the Repo
- Enter the directory
- Create a new virtual environment
- Install Requirements
- Install megatools, ffmpeg according to your system
- Create a
.env
file (see example) - Fill config vars with your own values (How to get config values),
- Run the Bot (using same shell session),
Using classic git clone
git clone https://github.com/Itz-fork/Mega.nz-Bot
cd Mega.nz-Bot
python -m venv .venv
source .venv/bin/activate
pip3 install -U -r requirements.txt
python3 -m megadl
# If you get erros such as ModuleNotFoundError, use below command
.venv/bin/python3 -m megadl
Config vars
Please refer to documentation