Code Monkey home page Code Monkey logo

unzip-bot's Introduction

Unarchiver Bot

A Telegram bot to extract various types of archives

Unzip logo



Demo ๐Ÿฅฐ

@unzip_edm115bot
โš ๏ธ From 00h to 08h UTC+1, the beta version is running. Try it at your own risksโ€ฆ

Features ๐Ÿ‘€

  • Extract various types of archives like rar, zip, tar, 7z, tar.xz, โ€ฆ
  • Supports password protected archives
  • Extract archives from direct links
  • Broadcast messages to users
  • Ban / Unban users from using your bot
  • Send logs in a private channel/group
  • Can run only one extract per user at a time
  • Download speed : 4-12 Mb/s, can be even more if you're lucky
  • Upload speed : 15-25 Mb/s, unexpectedly
  • Fast to answer and process tasks
  • And some other features ๐Ÿ”ฅ Dive into the code to find them ๐Ÿคญ

Simple version ๐Ÿ˜Œ

I made a special version if you only want to use it personally. Works smoother but with less features.
๐Ÿ‘‰ Try it here ๐Ÿ‘ˆ

Bugs to fix and features to add ๐Ÿ’€

Check the beta branch to find them. They normally also are on the master one
Those are things that are fixed/added regarding to original repo

Config vars ๐Ÿ“–

  • 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 get its ID (search on Google if you don't know how to do). Using a group works as well, just add Rose, then send /id (In both cases, make sure to add your bot to the channel/group as an admin !)

Commands โœ๏ธ

Copy-paste those to BotFather when he asks you for them

clean - Remove your archives from my servers ๐Ÿšฎโ™ป๏ธ
mode - Upload things as Doc ๐Ÿ“„ or Video ๐Ÿ“น (alias : /setmode)
start - Alive check ๐Ÿ˜ช Also useful after updates ๐Ÿฅฐ

Admin only commands (better to not include them)

stats - Get detailed stats about users and server
broadcast - Reply with this to a message to send it at every user
ban - {id of user}
unban - {id of user}

Deploy ๐Ÿšง

Deploying is easy ๐Ÿฅฐ You can deploy this bot in Heroku or in a VPS โ™ฅ๏ธ
Star ๐ŸŒŸ Fork ๐Ÿด and Deploy ๐Ÿ“ค

โš ๏ธ Note : We are using arch linux. But why ๐Ÿค”

Because archโ€™s p7zip package is the only maintained version of the original p7zip package with some additional features !


The lazy way

Deploy me ๐Ÿฅบ
(if you're in a fork, make sure to replace the template URL with your repoโ€™s one)


The legacy way

git clone -b master https://github.com/EDM115/unzip-bot.git
cd unzip-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 me
Same if you have any feature request โ˜บ๏ธ

License & Copyright ๐Ÿ‘ฎโ€โ™€๏ธ

Copyright (c) 2022 EDM115

This Unarchiver Bot repository is licensed under MIT License (https://github.com/EDM115/unzip-bot/blob/master/LICENSE)
Enjoy copying and modifying, but always mention me

โ€ข Inspired by Itz-fork/Nexaโ€™s work, but with additional features and bug fixes. This is a maintained repo of the original

unzip-bot's People

Contributors

edm115 avatar dependabot[bot] avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.