{"id":13825395,"url":"https://github.com/EDM115/unzip-bot","last_synced_at":"2025-07-08T21:32:27.083Z","repository":{"id":37015229,"uuid":"459180371","full_name":"EDM115/unzip-bot","owner":"EDM115","description":"Telegram bot deployable to heroku that can extract every archive !","archived":false,"fork":false,"pushed_at":"2024-04-21T10:03:24.000Z","size":1531,"stargazers_count":77,"open_issues_count":25,"forks_count":104,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-05-01T17:21:38.671Z","etag":null,"topics":["archive","bot","free","hacktoberfest","heroku","pyrogram","python","telegram","telegram-bot","unrar","unzip"],"latest_commit_sha":null,"homepage":"https://t.me/unzip_edm115bot","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/EDM115.png","metadata":{"files":{"readme":"README.md","changelog":"changelog.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"custom":["https://paypal.me/8EDM115","https://www.buymeacoffee.com/edm115","https://t.me/EDM115bots/698","https://walad.link/edm115"],"github":"EDM115"}},"created_at":"2022-02-14T13:47:55.000Z","updated_at":"2024-05-07T16:52:47.665Z","dependencies_parsed_at":"2023-12-17T14:25:32.219Z","dependency_job_id":"95ee7d18-3ccf-4cb3-ae88-99c0c6ae606d","html_url":"https://github.com/EDM115/unzip-bot","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EDM115%2Funzip-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EDM115%2Funzip-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EDM115%2Funzip-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EDM115%2Funzip-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EDM115","download_url":"https://codeload.github.com/EDM115/unzip-bot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225465291,"owners_count":17478518,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["archive","bot","free","hacktoberfest","heroku","pyrogram","python","telegram","telegram-bot","unrar","unzip"],"created_at":"2024-08-04T09:01:20.091Z","updated_at":"2024-11-20T03:31:15.297Z","avatar_url":"https://github.com/EDM115.png","language":"Python","funding_links":["https://paypal.me/8EDM115","https://www.buymeacoffee.com/edm115","https://t.me/EDM115bots/698","https://walad.link/edm115","https://github.com/sponsors/EDM115"],"categories":["Python"],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n# Unarchiver Bot\n\n## A Telegram bot to extract various types of archives\n\n\u003cimg src=\"https://telegra.ph/file/d4ba24682e030fc58613f.jpg\" alt=\"Unzip logo\" width=\"200\" height=\"200\"\u003e\n\n[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black) [![DeepSource](https://app.deepsource.com/gh/EDM115/unzip-bot.svg/?label=active+issues\u0026show_trend=true\u0026token=17SfwVx77dbrFlixtGdQsQNh)](https://app.deepsource.com/gh/EDM115/unzip-bot/?ref=repository-badge)\n\n[![Unzip-Bot Analytics](https://repobeats.axiom.co/api/embed/5c857b55b42dd8235388093858b74341f6c679ac.svg)](https://github.com/EDM115/unzip-bot/pulse)\n\n\u003c/div\u003e\n\n## Working bot 🥰\n\n[@unzip_edm115bot](https://t.me/unzip_edm115bot)\n\n## Features 👀\n\n- Extract all format of archives like `rar`, `zip`, `tar`, `7z`, `tar.xz`, …\n- Supports password protected archives\n- Extract archives from direct links\n- Broadcast messages to users\n- Ban/Unban users from using your bot\n- Send logs in a private channel/group\n- Can run only one extract per user at a time\n- Fast to answer and process tasks\n- Thumbnail can be set\n- Problems can be directly reported\n- Can send a message to a specific user\n- Get infos about users\n- Can rename files\n- Able to process splitted archives (`.001`)\n- And some other features 🔥 Dive into the code to find them 🤭\n\n\n## Config vars 📖\n\n- `APP_ID` - Your APP ID. Get it from [my.telegram.org](my.telegram.org)\n- `API_HASH` - Your API_HASH. Get it from [my.telegram.org](my.telegram.org)\n- `BOT_OWNER` - Your Telegram Account ID. Get it from [@MissRose_bot](https://t.me/MissRose_bot) (Start the bot and send `/info` command).\n- `BOT_TOKEN` - Bot Token of Your Telegram Bot. Get it from [@BotFather](https://t.me/BotFather)\n- `MONGODB_URL` - Your MongoDB URL ([**tutorial here**](./CreateMongoDB.md))\n- `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`](https://t.me/MissRose_bot?startgroup=startbot), then send `/id` (In both cases, **make sure to add your bot to the channel/group as an admin !**)\n\n## Commands ✍️\n\nCopy-paste those to BotFather when he asks you for them\n\n```\ncommands - Get commands list\nmode - Upload as Doc 📄 / Media 📺\naddthumb - Add custom thumbnail\ndelthumb - Remove your thumbnail\nstats - Know if bot is overused\nclean - Cancel on-going process\nhelp - In case you need 😭\n```\n\n## Deploy 🚧\n\nDeploying is easy 🥰 You can deploy this bot in Heroku or in a VPS ♥️  \n**Star 🌟 Fork 🍴 and Deploy 📤**\n\n\u003e ⚠️ Note :\n\u003e We are using arch linux. But why 🤔\n\u003e \n\u003e Because arch's p7zip package is the only maintained version of the [original p7zip](http://p7zip.sourceforge.net/) package with some additional features\n\n---\n\n#### The lazy way\n\n[![Deploy me 🥺](https://www.herokucdn.com/deploy/button.svg)](https://www.heroku.com/deploy?template=https://github.com/EDM115/unzip-bot)  \n(if you're in a fork, make sure to replace the template URL with your repo's one)\n\n---\n\n#### The easy way\n\n+ Install [Docker](https://www.docker.com/) then restart your computer\n\n```bash\ngit clone https://github.com/EDM115/unzip-bot.git\ncd unzip-bot\nnano .env\ndocker build -t edm115/unzip-bot .\n```\n\n+ Open Docker Desktop, go on the Images tab, click on the Run button\n+ On Optional settings, fill the env variables\n\n---\n\n#### The legacy way\n\n```bash\ngit clone https://github.com/EDM115/unzip-bot.git\ncd unzip-bot\npip3 install -r requirements.txt\n```\n\n+ Install required dependencies  \n  Arch Linux : `sudo pacman -S p7zip`  \n  Ubuntu/Debian : `sudo apt-get install p7zip-full p7zip-rar`\n+ Edit `.env` with your own values\n\n```bash\nchmod +x start.sh \u0026\u0026 ./start.sh\n```\n\n---\n\n**DONE 🥳 enjoy the bot !** Be sure to follow me on [Github](https://github.com/EDM115) and Star 🌟 this repo to show some support 🥺\n\n## How to Build after changes ?\n\n#### Trust GitHub Actions\n\n+ Add new Actions secrets to the repo :\n  + `DOCKER_USERNAME` : all in lowercase\n  + `DOCKER_TOKEN` : one with all rights, here : https://hub.docker.com/settings/security\n+ Go in Actions tab, 2 workflows are here for ya :\n  + `Build Docker Image` : Check if it builds without errors\n  + `Publish Docker Image` : Rebuild \u0026\u0026 publish\n\n#### Do it manually\n\n+ Go in the repo's folder\n\n```bash\ndocker build --no-cache -t edm115/unzip-bot .\ndocker run -d -v downloaded-volume:/app/Downloaded -v thumbnails-volume:/app/Thumbnails --env-file ./.env --network host --name unzip-bot-container edm115/unzip-bot\ndocker start unzip-bot-container\n# if you want to check something\ndocker exec -it unzip-bot-container sh\ndocker logs unzip-bot-container\n# once you're done\ndocker stop unzip-bot-container\n```\n\n+ If you wanna publish :\n\n```bash\ndocker tag edm115/unzip-bot edm115/unzip-bot:latest\n```\n\n*(replace `edm115` with your docker hub username, `unzip-bot` with the repo's name and `latest` whith whatever you want)*\n\n```bash\ndocker login\n```\n\n*login and don't mind the errors*\n\n```bash\ndocker push edm115/unzip-bot:latest\n```\n\n*(same, replace accordingly)*\n\n## Found a bug 🐞\n\nIf you found a bug in this bot please open an [issue](https://github.com/EDM115/unzip-bot/issues) or report it on Telegram : [@EDM115](https://t.me/EDM115)  \nSame if you have any feature request 😉\n\n## License \u0026 Copyright 👮‍♀️\n\n```\nCopyright (c) 2022 EDM115\n\nThis Unarchiver Bot repository is licensed under MIT License (https://github.com/EDM115/unzip-bot/blob/master/LICENSE)\nEnjoy copying and modifying, but always mention me\n```\n\n• Inspired by Itz-fork/Nexa's work, but with additional features and bug fixes. This is a maintained repo of the [original](https://github.com/Itz-fork/Unzipper-Bot)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FEDM115%2Funzip-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FEDM115%2Funzip-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FEDM115%2Funzip-bot/lists"}