> ## Content Index
> Fetch the complete content index at: https://darkwebinformer.com/llms.txt
> Use this file to discover other available public pages before exploring further.

# Mega.nz-Bot: Simple Telegram Bot to Download and Upload Files From Mega.nz
- URL: https://darkwebinformer.com/mega-nz-bot-simple-telegram-bot-to-download-and-upload-files-from-mega-nz/
- Published: 2024-08-31T22:44:40.000Z
- Updated: 2025-09-04T22:27:02.000Z
- Author: Dark Web Informer
- Tags: Tools

GitHub: <https://github.com/Itz-fork/Mega.nz-Bot>  
Last Commit: June 18th, 2024

# Mega.nz-Bot - Cypher 🥷

[](https://github.com/Itz-fork/Mega.nz-Bot#meganz-bot---cypher-)

A simple telegram bot to download, upload files or folders from [Mega.nz](https://mega.nz/)

# Features

[](https://github.com/Itz-fork/Mega.nz-Bot#features)

- ⚡ Download, Upload files/folders easily
- 🙅‍♂️ No login required[1](https://github.com/Itz-fork/Mega.nz-Bot#user-content-fn-1-066df7aad3d7c55eee749a060daff610)
- 🗃️ 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

[](https://github.com/Itz-fork/Mega.nz-Bot#deploy)

Deploy your own Bot ♥️! **Star 🌟 Fork 🍴 and Deploy**

### Heroku

[](https://github.com/Itz-fork/Mega.nz-Bot#heroku)

[](https://github.com/Itz-fork/X-Bin-Patch#deployment)

### Local

[](https://github.com/Itz-fork/Mega.nz-Bot#local)

**Recomended,**

Use official Docker image to run Mega.nz-Bot 🐳

- Install Docker on your server
- Create the .env file (see [env sample](https://github.com/Itz-fork/Mega.nz-Bot/blob/main/.env.sample) and [config vars](https://megabot.hirusha.codes/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,**

1. Using installer scriptIf you're using a linux distro with `apt`, `apk`, `pacman` or `dnf` as the package manager, you can use the official installer script to setup [Mega.nz-Bot](https://github.com/Itz-fork/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](https://megatools.megous.com/), [ffmpeg](https://ffmpeg.org/download.html) according to your system
  - Create a `.env` file (see [example](https://github.com/Itz-fork/Mega.nz-Bot/blob/main/.env.sample))
  - Fill config vars with your own values ([How to get config values](https://github.com/Itz-fork/Mega.nz-Bot#config-vars)),
  - 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

[](https://github.com/Itz-fork/Mega.nz-Bot#config-vars)

Please refer to [documentation](https://megabot.hirusha.codes/config-vars)

# Support

[](https://github.com/Itz-fork/Mega.nz-Bot#support)