x0x8x / reverse_image_search_bot

Telegram reverse image search bot @reverse_image_search_bot - not maintained

Home Page:https://t.me/reverse_image_search_bot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Reverse Image Search Bot

ATTENTION

As you may see when you look at the commits of this repo, it is not maintained anymore. I dropped all my bots except XenianBot. This is because XenianBot includes all of my other bots functionalities. See more at:


@reverse_image_search_bot

How to use me

Send me images or stickers and I will send you direct reverse image search links for IQDB, Google, TinEye, Yandex and Bing. For anime images I recommend IQDB and TinEye, for other images I recommend to use Google Yandex, or TinEye.

Attention: The best match feature sometimes does not find a best match on TinEye, even though you do when you open the link. Why is this? This is because TinEye I reached the limit of TinEye's free service. TinEye provides 50 searches per day to a max of 150 searches per week. And I will not pay for the TinEye atm because it is way too expensive for me.

Features:

  • Give you image reverse search links
  • Supports IQDB, Google, TinEye, Yandex and Bing
  • Supports normal images like JPG, PNG, WEBP
  • Supports stickers
  • Supports GIFs (can take some time till the GIFs are ready)
  • Supports Videos (will be searched as GIFs)
  • Best Match information by TinEye
  • Best Match information by IQDB as fallback

Commands:

  • /help, /start: show a help message with information about the bot and it's usage.
  • /best_match URL: Search for the best match on TinEye (and IQDB when nothing is found on TinEye). The URL is a link to an image

Attention whore stuff:

Please share this bot with your friends so that I (the magician behind this project) have enough motivation to continue and maintain this bot.

Check out my other project[s]:

Contributions:

Bug report / Feature request

If you have found a bug or want a new feature, please make an issue here: Nachtalb/animu_image_search_bot

Code Contribution / Pull Requests

Please use a line length of 120 characters and Google Style Python Docstrings.

Local installation

Instead of the old pip with requirements.txt I use the new and fancy pipenv with pipfile. If you read the intro to pipenv and pipfile you will understand why I use it.

With this info we now install our virtualenv with:

pip install pipenv  # Install pipenv
pipenv --three      # Create virtualeenv from your python3 installation
pipenv install      # Install all requirements
pipenv shell        # Spawn shell for your pipenv virtualenv

After this is complete, you have to get an API Token from Telegram. You can easily get one via the @BotFather.

Now that you have your API Token copy the settings.example.py to settings.py and paste in your API Token. Finally you can use this to start your bot.

python run_bot.py

In the settings.py you can additionally add a botan.io API Token which let's you create statistics.

Thank you for using @reverse_image_search_bot.

About

Telegram reverse image search bot @reverse_image_search_bot - not maintained

https://t.me/reverse_image_search_bot

License:GNU General Public License v3.0


Languages

Language:Python 99.0%Language:Shell 1.0%