An inline real-time media searching robot without any database.

Overview

MediaBuddy

A Telegram Inline media searching robot without any database.


About

mediaBuddy is an inline media searching robot. If you have so many movie channels and you are searching for a 
particular movie in each and everywhere and spending your valuable time in this process, the bot is yours.
The bot can search inline in your movie chats and also can provide a link to your queried one, thus you can 
easily access the required media. Your perfect media buddy.
Working

    🔷 When bot is deployed with a user session string, it will find all the groups and channels of the user.
    🔷 From the above, it sorts the movies channels and groups and make a master list for searching your queries.
    🔷 When you search a keyword as inline, the bot will search the same in the master list and gives the output.
    🔷 The output will be the file name with a hyper link to the original file.
    🔷 By clicking, you can easily migrate to the file location thus saves your valuable time in searching.
What to do

    🔷 Make an inline bot with Telegram Botfather.
    🔷 Deploy the bot local pc, VPS or in heroku.
    🔷 Join some movie channels.
    🔷 Search movies inline.
Mandatory Variables

🔷 API_HASH        -   Your API Hash, get it from my.telegram.org
🔷 APP_ID          -   Your APP ID, get it from my.telegram.org 
🔷 BOT_TOKEN       -   Your bot token, get it from @BotFather
🔷 TG_USER_SESSION -   Your session string (Generate for 'User', dont use any bot session)
Generate User Session

Click HERE to generate a user session string.
@BotFather Commands

start - Check Alive                     Usage: /start
view   - Vire the currents chats        Usage: /viewchats
update - Add a chat to the list         Usage: /update -100xxxxxxxxxx
delete - Remove chats from the list     Usage: /remove -100xxxxxxxxxx
Deploy Locally

  • Create a config.py file with the Mandatory Variables mentioned above.
  • Refer sample_config.py for creating config.py file. don't miss any parameters
  • Open terminal and run the following commands.
  • git clone https://github.com/m4mallu/mediaBuddy
  • cd mediaBuddy
  • Save the config.py file in side the current working directory cloned.
  • Run the below commands in the same terminal window.
virtualenv -p python3 venv
. ./venv/bin/activate
pip3 install -r requirements.txt
python3 main.py
Deploy Heroku

Limitations

  • Presently document type is only supported.
  • Chance for getting heavy FloodWaits in searchMessages in case of massive number of media chats.
Developer

GPL3
Renjit Mangal  |  Update Channel

Credits

Pyrogram

Licence

GPL3


GPL3

You might also like...
Telegram Bot to Filter posts in Bot Inline search

Inline-Filter-Bot A Telegram Bot for filter in Inline Features Unlimited Filters Supports all type of filters Supports Alert Button Using Common Marku

Inline Телеграм бот для отправки GIF-изображений из ВКонтакте

VK GIFS Bot VKGIFSBot - удобный бот для отправки GIF-изображений из ВКонтакте в Телеграмe. Работает это очень просто: бот получает токен ВКонтакте API

Telegram bot untuk mencari jawaban dibrainly, support inline juga

Brainly-Telebot Bot Untuk Mencari Jawaban Dibrainly Jika ingin clone. Boleh kok Dibuat dengan python menggunakan MTproto Library. Yaitu Pyrogram Bot y

An Inline Telegram YouTube Downloader bot with custom, permanent thumbnail support and cancel upload facility. Make your fork now.

Inline-Tube-Mate (YouTube Downloader) An Inline Telegram bot that can download YouTube videos with permanent thumbnail support Bot need to be in Inlin

A Sublime Text plugin that displays inline images for single-line comments formatted like `// ![](example.png)`.
A Sublime Text plugin that displays inline images for single-line comments formatted like `// ![](example.png)`.

Inline Images Sometimes ASCII art is not enough. Sometimes an image says more than a thousand words. This Sublime Text plugin can display images inlin

Automatically searching for vaccine appointments

Vaccine Appointments Automatically searching for vaccine appointments Usage To copy this package, run: git clone https://github.com/TheIronicCurtain/v

A Python Script to automate searching of available vaccination centers in the city and hence booking
A Python Script to automate searching of available vaccination centers in the city and hence booking

Cowin Vaccine Availability Notifier Cowin Vaccine Availability Notifier takes your City or PIN code as an input and automatically notifies you via ema

Telegram bot for searching videos in your PDisk account by @AbirHasan2005

PDisk-Videos-Search A Telegram bot for searching videos in your PDisk account by @AbirHasan2005. Configs API_ID - Get from @TeleORG_Bot API_HASH - Get

a discord bot for searching your movies, and bot return movie url for you :)
a discord bot for searching your movies, and bot return movie url for you :)

IMDb Discord Bot how to run this bot. the first step you must create prefixes.json file the second step you must create a virtualenv if you use window

Releases(1.0)
  • 1.0(Jul 30, 2022)

    MediaBuddy is an inline telegram media searching bot without any database support. Using an inline search, a user can search for any document file within users 's entire media chats. Specifications of this version includes..

    1. The bot will initially index all the user chats and from the same it extracts the media chats, save the necessary parameters.
    2. Inline searching for document file type type within the media chats
    3. Inline search result will be provided with the media name, media size and chat name.
    4. Inline answer text will be a hyperlinked text of the media name. When clicked on the name, the link will redirected to the media location.
    5. Thus, we can access the desired media with the help of this inline search bot.
    6. This release uses Pyrogram framework of version 1.x
    Source code(tar.gz)
    Source code(zip)
Owner
Renjith Mangal
🕴🏼Always quest for ma Kick 🕴🏼Keeping my demon dormant🕴🏼
Renjith Mangal
go-cqhttp API typing annoations, return data models and utils for nonebot

go-cqhttp API typing annoations, return data models and utils for nonebot

风屿 6 Jan 04, 2023
An example of a chatbot with a number-based menu that can be used as a starting point for a project.

NumMenu Bot NumMenu Bot is an example chatbot showing a way to design a number-based menu assistant with Rasa. This type of bot is very useful on plat

Derguene 19 Nov 14, 2022
A modern Python client for controlling Wyze devices.

Python Wyze SDK A modern Python client for controlling Wyze devices. Whether you're building a custom app, or integrating into a third-party service l

Shaun Tarves 205 Jan 02, 2023
Telegram Bot to learn English by words and more.. ( in Arabic )

Get the mp3 files Extract the mp3.rar on the same file that bot.py on install requirements pip install -r requirements.txt #Then enter you bot token

Plugin 10 Feb 19, 2022
A Matrix-Instagram DM puppeting bridge

mautrix-instagram A Matrix-Instagram DM puppeting bridge. Documentation All setup and usage instructions are located on docs.mau.fi. Some quick links:

89 Dec 14, 2022
"zpool iostats" for humans; find the slow parts of your ZFS pool

Getting the gist of zfs statistics vpool-demo.mp4 The ZFS command "zpool iostat" provides a histogram listing of how often it takes to do things in pa

Chad 57 Oct 24, 2022
Cleiton Leonel 4 Apr 22, 2022
Yes, it's true :heartbeat: This repository has 337 stars.

Yes, it's true! Inspired by a similar repository from @RealPeha, but implemented using a webhook on AWS Lambda and API Gateway, so it's serverless! If

512 Jan 01, 2023
Work with the AWS IP address ranges in native Python.

Amazon Web Services (AWS) publishes its current IP address ranges in JSON format. Python v3 provides an ipaddress module in the standard library that allows you to create, manipulate, and perform ope

AWS Samples 9 Aug 25, 2022
OAN Music - Highly advanced User Music Bot

ཧᜰ꙰ꦿ➢𝐎𝐀𝐍༒☛ 🎧 Advanced 𝐎𝐀𝐍 Music bot. 🔗 𝐏𝐨𝐰𝐞𝐫𝐞𝐝 𝐛𝐲 : ➢𝐀ttitude

Attitude king 5 Feb 25, 2022
Discord bot that displays the current Swatch Internet Time (.beat) as a status.

Internet-Time-Display Discord bot that displays the current Swatch Internet Time (.beat) as a status. Visit the website! Add the bot to your server! A

2 Mar 15, 2022
iCloudPy is a simple iCloud webservices wrapper library written in Python

iCloudPy 🤟 Please star this repository if you end up using the library. It will help me continue supporting this product. 🙏 iCloudPy is a simple iCl

Mandar Patil 49 Dec 26, 2022
A Python library wrapping the iFixit (Dozuki) API.

A Python library wrapping the iFixit API. Status Working, but incomplete. Fully tested and documented. Hacking I highly recommend using virtualenv: [$

James Pearson Hughes 13 May 24, 2021
Osmnx-examples - Usage examples, demos, and tutorials for OSMnx.

OSMnx Examples OSMnx is a Python package to work with street networks and other spatial data from OpenStreetMap: retrieve, model, analyze, and visuali

Geoff Boeing 1.2k Jan 03, 2023
This is a music bot for discord written in python

this is a music bot for discord written in python, it is designed for educational use ONLY, I do not take any responsibility for uses outside of educational use

5 Dec 24, 2021
:globe_with_meridians: A Python wrapper for the Geocodio geolocation service API

Py-Geocodio Python wrapper for Geocodio geocoding API. Full documentation on Read the Docs. If you are upgrading from a version prior to 0.2.0 please

Ben Lopatin 84 Aug 02, 2022
Unofficial Medium Python Flask API and SDK

PyMedium - Unofficial Medium API PyMedium is an unofficial Medium API written in python flask. It provides developers to access to user, post list and

Engine Bai 157 Nov 11, 2022
🤖 Chegg answers requested and sent by the Discord BOT to the targeted user.

Chegg BOT Description "I believe that open-source resources are a must for everyone around. Especially in the field of education. As Chegg c

Vusal Ismayilov 33 Aug 20, 2021
A web app via which users can buy and sell stocks using virtual money

finance Virtual Stock Trader. A web app via which users can buy and sell stocks using virtual money. All stock prices are real and provided by IEX. Fe

Kiron Deb 0 Jan 15, 2022
A Telegram bot for personal utilities

Aqua Aqua is a Telegram bot for personal utilities. Installation Prerequisites: Install Poetry for managing dependencies and fork/clone the repository

Guilherme Vasconcelos 2 Mar 30, 2022