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

Overview

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
  • 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 - Make a private channel and forward a message from that channel to @ChannelidHEXbot to Get this. (Make sure to add Your bot to the channel as an admin)

Deploy

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

With Heroku

Deploy

With VPS

  • Clone this repo
git clone https://github.com/Itz-fork/Unzipper-Bot.git
  • Enter to the project directory,
cd Unzipper-Bot
  • Install Requirements,

Install 7z (linux version) in your system,

sudo apt-get install p7zip-full p7zip-rar -y

Then install other requirements,

pip3 install -r requirements.txt
  • Fill Config Vars,

For PCs - Use Normal Text Editor to Fill Config Vars
For Vps - If you haven't installed nano yet, Read This - How to install Nano in your computer/Vps

sudo nano config.py
  • Now run the bot
bash start.sh

DONE 🥳 , Enjoy The Bot! Be sure to Follow Me on Github 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) 2021 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
Comments
  • ERROR

    ERROR

    Hi. When i deploy this repo to heroku this message appear:

    We couldn't deploy your app because the source code violates the Salesforce Acceptable Use and External-Facing Services Policy.

    opened by sholoomail 2
  • LOGS_CHANNEL error 400

    LOGS_CHANNEL error 400

    I have a little problem of… comprehension 😅 regarding to LOGS_CHANNEL

    I tried to deploy, and then heroku logs says :
    Telegram says: [400 CHANNEL_INVALID] - The channel parameter is invalid (caused by "channels.GetChannels")

    So what value do we need to put as LOGS_CHANNEL ?
    Channel id (like -100160010XXXX) ?
    Channel name (like @randomchannel) ?

    I'm lost 😭

    opened by EDM115 1
  • Add google drive link support

    Add google drive link support

    hi; can you add google drive/td link support? it would be really helpful if we send gdrive/tdrive link to bot and then it zip/unzip it and return the extracted/zipped folder link.

    opened by askfriends 1
  • [BUG] 'NoneType' object has no attribute 'title'

    [BUG] 'NoneType' object has no attribute 'title'

    Describe the bug This error raises when you tried to extract a muti-part archive.

    To Reproduce Extract a muti-part archive. This error will raise when you try to send 2nd part of the archive.

    Expected behavior Download and store the part on the server

    Screenshots None

    Additional context None

    bug 
    opened by Itz-fork 0
  • Release v1.0

    Release v1.0

    Why?

    Currently the main branch (arch) isn't stable due to the code duplication, unnecessary recursive functions, poor error handling, bugs, etc. As a result it's hard to maintain this repo anymore.

    To do

    • [x] - Organize the code
    • [ ] - Improve performance (Bot might show slow response time due to multi-language support)
    • [ ] - Fix common bugs
    • [x] - Multi-language support
    enhancement 
    opened by Itz-fork 0
  • Giving Error while deploying on railway.

    Giving Error while deploying on railway.

    ||| Unzipper Bot |||
    Copyright (c) 2022 Itz-fork
    --> Join @NexaBotsUpdates
    --> Follow Itz-fork on Github
    Traceback (most recent call last):
    File "/usr/lib/python3.10/runpy.py", line 187, in _run_module_as_main
    mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
    File "/usr/lib/python3.10/runpy.py", line 146, in _get_module_details
    return _get_module_details(pkg_main_name, error)
    File "/usr/lib/python3.10/runpy.py", line 110, in _get_module_details
    __import__(pkg_name)
    File "/app/unzipper/__init__.py", line 7, in <module>
    from config import Config
    File "/app/config.py", line 5, in <module>
    class Config(object):
    File "/app/config.py", line 6, in Config
    APP_ID = int(os.environ.get("APP_ID"))
    TypeError: int() argument must be a string, a bytes-like object or a real number, not 'NoneType'
    

    please guide me, what's wrong, i didn't edited any code.

    opened by kaelastamm 0
  • Time limit

    Time limit

    tell me how to remove time limit for sending files as i use the bot for personal and a request please add a zip file feature as many zip bot stoped and there is not a repo for use in github

    bug 
    opened by Movie4alll-mkv 2
  • Not working properly

    Not working properly

    Sir, please add command instead of callback. The bot gives error on multiple clicks and it doesn't even show download progress after sending the file.

    ERROR: [Errno 17] File exists: '/app/NexaBots/

    And after downloading all files by bot sending /done command says select the file but gives error: Sorry, It looks like your files have been removed from the server 😔!

    I am using main branch (untouched) on Heroku.

    bug 
    opened by An-App 1
Owner
I'm Not A Bot #Left_TG
Everything is impossible until You use Your Brain
I'm Not A Bot #Left_TG
Telegram Link Wayback Bot. This bot archives a web page thrown at itself with wayback Machine (Archive.org).

Telegram Link Wayback Bot. This bot archives a web page thrown at itself with wayback Machine (Archive.org).

Hüzünlü Artemis [HuzunluArtemis] 11 Feb 18, 2022
A telegram bot that can upload telegram media files to anonfiles.com and give you direct download link

✯ AnonFilesBot ✯ Telegram Files to AnonFiles Upload Bot It will Also Give Direct Download Link Process : Fork This Repositry And Simply Cick On Heroku

Avishkar Patil 38 Dec 30, 2022
A simple Telegram bot that converts a phone number to a direct whatsapp chat link

Open in WhatsApp I was using a great app to open a whatsapp chat with a given number directly without saving that number in my contact list, but I fel

Pathfinder 19 Dec 24, 2022
This bot is created by AJTimePyro and It accepts direct downloading url & then return file as telegram file.

URL Uploader Bot This is the source code of URL Uploader Bot. And the developer of this bot is AJTimePyro, His Telegram Channel & Group. You can use t

Abhijeet 23 Nov 13, 2022
Pdisk Link Converter Telegram Bot, Convert link in a single click

Pdisk Converter Bot Make short link by using Pdisk API key Installation The Easy Way Required Variables BOT_TOKEN: Create a bot using @BotFather, and

Ayush Kumar Jaiswal 6 Jul 28, 2022
This is Pdisk Upload Bot made using Python with Pyrogram Framework. Its capable of uploading direct download link with thumbnail or without thumbnail & with Title Support.

Pdisk-Upload-Bot Introduction This Is PDisk Upload Bot Used To Upload Direct Link To Pdisk With Thumb Support Deploy Heroku Deploy Local Deploy pip in

HEIMAN PICTURES 32 Oct 21, 2022
A simple MTProto-based bot that can download various types of media (>10MB) on a local storage

TG Media Downloader Bot ?? A telegram bot based on Pyrogram that downloads on a local storage the following media files: animation, audio, document, p

Alessio Tudisco 11 Nov 1, 2022
Telegram File to Link Fastest Bot , also used for movies streaming

Telegram File Stream Bot ! A Telegram bot to stream files to web. Report a Bug | Request Feature About This Bot This bot will give you stream links fo

Avishkar Patil 194 Jan 7, 2023
A tool for exporting Telegram group chats into static websites, preserving chat history like mailing list archives.

tg-archive is a tool for exporting Telegram group chats into static websites, preserving chat history like mailing list archives. Preview The @fossuni

Kailash Nadh 400 Dec 27, 2022
Auto-Approved-Bot - Auto Approved Invaite Link Request Telegram Bot

?? ????????-??????????????-?????? ?? ℹ️ ?????????? ℹ️ When a join request invita

Muhammed 32 Dec 18, 2022
🤖 Fast and simple bot to transform links from Amazon into a nice post with your referral link in Telegram 🛒

AmazonBot ?? Fast and simple bot to transform links from Amazon into a nice post with your referral link in Telegram ?? Prerequisites You need Python

Alternative Profit 3 Dec 25, 2022
A simple bot to upload file to various cloud servers.

Cloudsy Bot A simple bot to upload file to various cloud servers. Variables API_HASH Your API Hash from my.telegram.org API_ID Your API ID from my.tel

Flying Santas 8 Oct 31, 2022
This Telegram bot allows you to create direct links with pre-filled text to WhatsApp Chats

WhatsApp API Bot Telegram bot to create direct links with pre-filled text for WhatsApp Chats You can check our bot here. The bot is based on the API p

RobotTrick • רובוטריק 17 Aug 20, 2022
Telegram music & video bot direct play music

Telegram music & video bot direct play music

noinoi-X 1 Dec 28, 2021
Techie Sneh 19 Dec 3, 2021
Upload on Doodstream by Url, File and also by direct forward post from other channel...

Upload on Doodstream by Url, File and also by direct forward post from other channel...

Pʀᴇᴅᴀᴛᴏʀ 8 Aug 10, 2022
Telegram bot to provide links of different types of files you send

File To Link Bot - IDN-C-X Telegram bot to provide links of different types of files you send. WHAT CAN THIS BOT DO Is it a nuisance to send huge file

IDNCoderX 3 Oct 26, 2021
A Telegram Filter Bot, Support Unlimited Filter. Also, The Bot can auto-filter telegram File | video

A Telegram Filter Bot, Support Unlimited Filter. Also, The Bot can auto-filter telegram File | video

Hash Minner 3 Nov 27, 2021
A link shortner telegram bot version 2 with advanced features

URL-Shortner-Bot-V2 A link shortner telegram bot version 2 with advanced features Made with Python3 (C) @FayasNoushad Copyright permission under MIT L

Fayas Noushad 18 Dec 29, 2022