AngryBird-22 commited on
Commit
09729c8
Β·
verified Β·
1 Parent(s): 062e08b

Delete README.md

Browse files
Files changed (1) hide show
  1. README.md +0 -87
README.md DELETED
@@ -1,87 +0,0 @@
1
- ---
2
- title: testbot
3
- emoji: 🎬
4
- colorFrom: red
5
- colorTo: yellow
6
- sdk: docker
7
- app_port: 7860
8
- pinned: false
9
- ---
10
-
11
- # πŸ”₯ ANGRY BIRD File Serve Bot (Premium Edition) πŸ”₯
12
-
13
- A premium, high-speed **Telegram File Search and Direct Browser Download** bot powered by **FastAPI**, **Pyrogram**, and **Neon PostgreSQL**. Designed for seamless 24/7 deployment on **HuggingFace Spaces** (Docker) and **Render**.
14
-
15
- ---
16
-
17
- ## 🌟 Core & Premium Features
18
-
19
- ### πŸ’Ž Premium High-Speed Streaming Gateway
20
- * **🌐 Direct Browser Streaming**: High-speed browser file downloading directly from Telegram CDNs using custom-engineered asynchronous chunk streaming.
21
- * **⚑ Concurrency Optimized (100 Slots)**: Supports up to **100 simultaneous parallel downloads/streams** without any queuing or delay bottlenecks, utilizing `workers=100` parallel client connections.
22
- * **πŸš€ Practically 0 MB Server Overhead**: Streams block-by-block using Pyrogram's `client.stream_media(...)` async generator, avoiding local file caching and RAM out-of-memory (OOM) failures entirely.
23
- * **πŸ—‘οΈ Auto-Clean Token Verification**: Automatically cleans up authorization alerts, expiry errors, and incoming user query messages after a 10-second delay, ensuring clean private chats.
24
- * **❓ Dynamic Help & Guide Integrations**: Renders a dynamic administrative control setting button (`how_to_download` guide URL) across `/start` keyboards.
25
-
26
- ### πŸ” Advanced Database Search Engine
27
- * **πŸ”₯ Weekly Trending Tracker (`/trending`)**: Automatically monitors and tracks movie search query frequencies over a 7-day rolling cycle, presenting the top 10 most popular movies directly to users on start keyboards or inline buttons.
28
- * **πŸ†• Newly Uploaded Monitor (`/newuploads`)**: Displays a real-time list of the 25 most recently indexed movies/files, making it easy for users to check recent releases instantly.
29
- * **πŸ“ˆ Trigram pg_trgm Fuzzy Search**: Implements fuzzy title-matching leveraging PostgreSQL GIN trigram indexes to suggest and correct spelling mistakes.
30
- * **🎯 Precise Mode Search Option**: Toggleable precise-matching mode to target exact word hits or perform general query containing searches.
31
- * **πŸ“ Multiple File Formats Supported**: Fully indexes and handles Documents, Video files, and Audio file formats with complete metadata logging.
32
- * **πŸ”€ Multi-Format Result Output**: Dynamically outputs search query results in button layouts, list structures, or hyperlink lists.
33
-
34
- ### βš™οΈ Channel Indexing & Operations
35
- * **πŸ”„ Automated Live Indexing**: Real-time listening and automatic indexing of files uploaded directly to DB channels.
36
- * **πŸ“¦ Manual Indexing (`/index`)**: Forward-based administrative channel scanning to easily batch-import files into database records. Works based on original file captions to prevent duplicate quality skip issues!
37
- * **πŸ—‘οΈ Dynamic Database Deletion**: Quick inline administrative file deletions (`/delete`) directly inside chat threads.
38
- * **⏳ Auto-Delete Schedule**: Automatic scheduled file purge settings to clear files after configured time thresholds.
39
-
40
- ### 🧹 Bulk Delete Mode
41
- * **Smart Bulk Deleting**: Standalone `/delete` command turns on a powerful state-based bulk delete mode. Forward multiple files at once, and the bot will automatically delete them all from the database, deactivated with `/done`.
42
-
43
- ### πŸ›‘οΈ Administration & Controls
44
- * **πŸ›‘οΈ Multi-Channel Force Subscribe**: Blocks all search queries, keyboard commands, and downloads until users join all configured update channels. Supports a comma-separated list of public/private channels in settings.
45
- * **πŸ”— Dynamic Invite Link Generation**: Automatically resolves usernames (even without `@` prefix) or creates private invite links for each configured channel dynamically.
46
- * * **πŸ”„ Instant Resumption Handshake**: Saves blocked queries in the database and automatically executes them once the user joins and clicks "Try Again". If a token shortener is enabled, the query is passed seamlessly to the token system and executed automatically upon returning from the browser via `/start tok_xxxx`.
47
- * * **πŸŽ›οΈ Spam & Double-Click Protection**: Instantly removes verification buttons when clicked to prevent duplicate execution, and edits prompt messages in-place with popup alerts to prevent user chat spam.
48
- * * **πŸ“… Filename Release Years**: Automatically extracts movie release years from filenames (e.g. `1900-2030`) and appends them to search list buttons (e.g., `Odyssey (2026)`) for a cleaner UX.
49
- * **🏷️ Custom File Captioning**: Setup custom headers/captions (like adding usernames or watermarks) to all dispatched files.
50
- * **β›” Member Ban/Unban System**: Block unwanted users instantly using `/ban` and `/unban` command strings.
51
- * **πŸ“’ Massive Broadcast system**: Send custom formatted alerts or messages globally to all registered bot users concurrently.
52
- * **πŸ“Š Live Server Stats & Logs**: Get real-time stats and runtime log dumps directly inside the administrator's chat.
53
-
54
- ---
55
-
56
- ## πŸ“‚ Codebase & Setup
57
-
58
- For full instructions, file structures, and advanced procedures:
59
- * πŸ“– Refer to the comprehensive deployment manuals at:
60
- * [documentation/render_deployment_guide.md](file:///d:/Work/AngryBird-main/documentation/render_deployment_guide.md) (For Render and Local setups)
61
-
62
- ### Quick Local Run
63
-
64
- 1. **Activate environment & install dependencies**:
65
- ```bash
66
- python -m venv .venv
67
- .venv\Scripts\Activate.ps1 # Windows
68
- source .venv/bin/activate # Linux/macOS
69
- pip install -r requirements.txt
70
- ```
71
-
72
- 2. **Add environment variables** to a local `.env` file (API_ID, API_HASH, BOT_TOKEN, DB_URL, OWNER_ID, DB_CHANNELS, etc.).
73
-
74
- 3. **Launch the bot**:
75
- ```bash
76
- python -m mfinder
77
- ```
78
-
79
- ---
80
-
81
- ## πŸ“œ License & Ownership
82
-
83
- This software, codebase, and its implementations are **fully owned, managed, and licensed** by:
84
- * πŸ‘€ **Angry Bird** (Primary Maintainer: [@ANGRY_BIRD22_bot](https://t.me/ANGRY_BIRD22_bot))
85
- * ⚑ **Team FireBolt**
86
-
87
- All rights reserved. Unauthorized redistribution or copying of these custom features is strictly prohibited.