Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/itz-fork/mega.nz-bot
Simple Telegram Bot to Download and Upload Files From Mega.nz
https://github.com/itz-fork/mega.nz-bot
bot heroku mega mega-bot mega-downloader mega-nz mega-nz-bot megatools pyrogram telegram telegram-bot
Last synced: about 16 hours ago
JSON representation
Simple Telegram Bot to Download and Upload Files From Mega.nz
- Host: GitHub
- URL: https://github.com/itz-fork/mega.nz-bot
- Owner: Itz-fork
- License: gpl-3.0
- Created: 2021-07-13T14:48:17.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-06-17T23:49:47.000Z (6 months ago)
- Last Synced: 2024-11-29T08:38:20.719Z (29 days ago)
- Topics: bot, heroku, mega, mega-bot, mega-downloader, mega-nz, mega-nz-bot, megatools, pyrogram, telegram, telegram-bot
- Language: Python
- Homepage: https://github.com/Itz-fork/Mega.nz-Bot
- Size: 842 KB
- Stars: 354
- Watchers: 4
- Forks: 522
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Mega.nz-Bot - Cypher 🥷
A simple telegram bot to download, upload files or folders from [Mega.nz](https://mega.nz/)# Features
- ⚡ Download, Upload files/folders easily
- 🙅♂️ No login required[^1]
- 🗃️ 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
[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://github.com/Itz-fork/X-Bin-Patch#deployment)### Local
**Recomended,**
Use official Docker image to run Mega.nz-Bot 🐳
- Install Docker on your server
- Create the .env file (see [env sample](/.env.sample) and [config vars](https://megabot.hirusha.codes/config-vars))
- Pull the docker image
```
docker pull ghcr.io/itz-fork/meganzbot:latest
```
- Run it! (`.env` is path to .env file you created)
```
docker run --env-file .env ghcr.io/itz-fork/meganzbot
```**Legacy Metods,**
1) Using installer script
If 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).
```bash
curl -sS -O https://raw.githubusercontent.com/Itz-fork/Mega.nz-Bot/main/installer.sh && chmod +x installer.sh && ./installer.sh
```2) Using classic git clone
- Clone the Repo
```
git clone 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 Requirements
```
pip3 install -U -r requirements.txt
```
- Install [megatools](https://megatools.megous.com/), [ffmpeg](https://ffmpeg.org/download.html) according to your system
- Create a `.env` file (see [example](/.env.sample))
- Fill config vars with your own values ([How to get config values](#config-vars)),
- Run the Bot (using same shell session),
```
python3 -m megadl# If you get erros such as ModuleNotFoundError, use below command
.venv/bin/python3 -m megadl
```### Config vars
Please refer to [documentation](https://megabot.hirusha.codes/config-vars)[^1]: This only applies to public contents and you're still limited by the daily download quota limit of the mega.nz platform
# Support
[![Support Group](https://img.shields.io/badge/Support_Group-0a0a0a?style=for-the-badge&logo=telegram&logoColor=white)](https://t.me/Nexa_bots)