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

N-SUDY/Unzipper-Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

》 Unzipper Bot 《

A Telegram Bot to Extract Various Types Of Archives



Features

  • Extract various types of archives like rar, zip, tar, 7z, tar.xz etc.
  • Password support for extracting
  • Extract archives from direct links
  • Support for multipart archives (archives ending with .001, .002, etc.)
  • Upload files larger than 2GB to gofile.io
  • Backup extracted files to gofile.io
  • Custom thumbnail support
  • Broadcast Messages to users
  • Ban / Unban users from using your bot
  • Send logs in a private channel

And Some other features 🔥!

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!
  • DB_CHANNEL - Private channel to save thumbnails. Defaults to LOGS_CHANNEL value. However it's recommended to use separate channel
  • 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 VPS ♥️! Star 🌟 Fork 🍴 and Deploy

Note ⚠️ This branch is using arch linux.

But Why 🤔? Cuz arch's p7zip package is the only maintained version of original p7zip package with some additional features

With Heroku


Self-Hosting

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

# Arch linux only
sudo pacman -S p7zip

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 the code without permission is strictly prohibited

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.5%
  • Other 0.5%