forked from Itz-fork/Unzipper-Bot
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
55 changed files
with
2,167 additions
and
1,387 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
--- | ||
name: Bug report | ||
about: Create a report to help us improve | ||
title: "[BUG]" | ||
labels: bug | ||
assignees: '' | ||
|
||
--- | ||
|
||
**Describe the bug** | ||
A clear and concise description of what the bug is. | ||
|
||
**To Reproduce** | ||
Steps to reproduce the behavior: | ||
|
||
**Expected behavior** | ||
A clear and concise description of what you expected to happen. | ||
|
||
**Screenshots** | ||
If applicable, add screenshots to help explain your problem. | ||
|
||
**Additional context** | ||
Add any other context about the problem here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# v1.0 | ||
|
||
- Refactored the code | ||
- Rewrote most of the modules | ||
- Better logging | ||
- Better error handling | ||
- Multi-language support | ||
- Cache data to reduce database reads | ||
- Added progress bar for direct link downloads | ||
- Added support for multi-part 7z archives (archives ends with file extensions like `.001`, `.002`, etc.) | ||
- Changed thumbnail database to [telegra.ph](https://telegra.ph/) | ||
- Fixed various bugs | ||
- Fixed RPCErrors: | ||
- `REPLY_MARKUP_TOO_LONG` | ||
- `ENTITY_BOUNDS_INVALID` | ||
- Fixed `RuntimeWarning: coroutine 'x' was never awaited` caused due to calling async function synchronously | ||
- Fixed saving upload mode in banned users database collection |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,12 @@ | ||
#!/usr/bin/bash | ||
|
||
VERSION="v1.0" | ||
echo " | ||
||| Unzipper Bot ||| | ||
||| Unzipper Bot - $VERSION ||| | ||
Copyright (c) 2022 Itz-fork | ||
--> Join @NexaBotsUpdates | ||
--> Follow Itz-fork on Github | ||
" | ||
python3 -m unzipper | ||
python3 -m unzipper |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
# Unzipper | ||
This is where the main stuff happens. | ||
|
||
# TOC | ||
- [Directory structure](#directory-structure) | ||
- [Folders](#folders) | ||
|
||
## Directory structure | ||
Directory tree structure of [unzipper](/unzipper) folder. | ||
|
||
``` | ||
├── client | ||
│ ├── caching.py | ||
│ ├── __init__.py | ||
│ ├── patcher.py | ||
│ └── pyro_client.py | ||
├── database | ||
│ ├── cloud.py | ||
│ ├── __init__.py | ||
│ ├── language.py | ||
│ ├── split_arc.py | ||
│ ├── thumbnail.py | ||
│ ├── upload_mode.py | ||
│ └── users.py | ||
├── helpers_nexa | ||
│ ├── buttons.py | ||
│ ├── checks.py | ||
│ ├── __init__.py | ||
│ └── utils.py | ||
├── __init__.py | ||
├── lib | ||
│ ├── backup_tool | ||
│ │ └── __init__.py | ||
│ ├── downloader | ||
│ │ ├── errors.py | ||
│ │ └── __init__.py | ||
│ ├── extractor | ||
│ │ ├── errors.py | ||
│ │ └── __init__.py | ||
│ └── __init__.py | ||
├── localization | ||
│ ├── defaults | ||
│ │ └── buttons.json | ||
│ ├── en | ||
│ │ ├── messages.json | ||
│ │ └── README.md | ||
│ ├── languages.json | ||
│ ├── README.md | ||
│ ├── si | ||
│ │ ├── messages.json | ||
│ │ └── README.md | ||
│ └── templates | ||
│ └── messages-template.json | ||
├── __main__.py | ||
├── modules | ||
│ ├── admin.py | ||
│ ├── callbacks.py | ||
│ ├── extract.py | ||
│ ├── __init__.py | ||
│ ├── settings.py | ||
│ └── user_utils.py | ||
└── README.md | ||
``` | ||
|
||
|
||
## Folders | ||
- [client](client) - Contains the custom client (inherited from `pyrogram.Client` class) | ||
- [database](database) - Contains functions to handle database queries | ||
- [modules](modules) - Contains pyrogram modules | ||
- [lib](lib) - Contains modules (downloader, extractor) | ||
- [helpers_nexa](helpers_nexa) - Contains helper functions, classes | ||
- [localization](localization) - Contains language files and templates |
Oops, something went wrong.