Skip to content

Simple Telegram Bot to extract various types of archives from a telegram file or a direct link

License

Notifications You must be signed in to change notification settings

Itz-fork/Unzipper-Bot

Repository files navigation

》 Unzipper Bot 《

A Telegram Bot to Extract Various Types Of Archives


Table of content


Features ⚡

  • Extract various types of archives like rar, zip, tar, 7z, tar.xz etc.
  • Password support for extracting
  • Extract archives from direct / gdrive links
  • Support for multi-part 7z archives (archives ends with file extensions like .001, .002, etc.)
  • Custom thumbnail support
  • Muti-language support (More info)
  • Upload files larger than 2GB to gofile.io
  • Backup extracted files to gofile.io
  • Broadcast messages to users
  • Ban / Unban users from using your bot
  • Check stats of the bot (users, hardware usage, etc.)
  • Send logs in a private channel

And Some other features 🔥!

Also don't forget to check changelog 😉


Configs 📖

  • APP_ID - Your APP ID. Get it from my.telegram.org
  • API_HASH - Your API_HASH. Get it from my.telegram.org
  • BOT_OWNER - Your Telegram Account ID. Get it from @MissRose_bot (Start the bot and send /info command).
  • BOT_TOKEN - Bot Token of Your Telegram Bot. Get it from @BotFather
  • MONGODB_URL - Your MongoDB url, Tutorial here
  • LOGS_CHANNEL - Follow these steps,
    • Make a private channel
    • Add your bot to the channel as an admin
    • Send a message and copy it's link
    • The link'll be something like https://t.me/c/12345/1. Simply copy the 12345 part from it and add -100 to the beginning of it. Now it'll be something like -10012345. That's your channel id!
  • GOFILE_TOKEN - Your gofile.io API token from your profile page

Deploy 👀

Deploying is easy 🤫! You can deploy this bot in Heroku or in a linux VPS ♥️! Star 🌟 Fork 🍴 and Deploy

With Heroku

Self-Hosting

Note ⚠️

It's recomended to use a arch linux based distro to deploy this bot as the original author of the p7zip package has not made an update since 2016, but the arch linux's version is packaged from an active fork.

git clone https://github.com/Itz-fork/Unzipper-Bot.git
cd Unzipper-Bot
pip3 install -r requirements.txt

# Arch linux
sudo pacman -Syyu
sudo pacman -S zstd p7zip

# Ubuntu
sudo add-apt-repository universe
sudo apt update
sudo apt install p7zip-full p7zip-rar zstd

Edit config.py with your own values

bash start.sh

DONE 🥳, Enjoy The Bot! Be sure to Follow Me on Github and Star 🌟 this repo to Show some support 😍!


Found a bug 🐞?

If you found a bug in this bot please open an issue or report it at the Support group.


Support 💙


License & Copyright 👮

Copyright (c) 2022 Itz-fork

This Unzipper-Bot repository is licensed under GPLv3 License (https://github.com/Itz-fork/Unzipper-Bot/blob/master/LICENSE)

Copying or modifying any part of this code without permission or proper credits is strictly prohibited