Skip to content

Latest commit

 

History

History
45 lines (26 loc) · 1.06 KB

README.md

File metadata and controls

45 lines (26 loc) · 1.06 KB

loc2mapbot

Telegram bot to collect and display Live Locations in Ingress Intel Total Conversion (IITC)

Requirements

**** VERY IMPORTANT ****

YOU MUST INITILIZE ALL CONFIGURATION BY FOLLOWING THESE STEPS

  1. Configure your web server to serve PHP files in ./www/

  2. PHP version must have CURLFile support

  3. Make sure the convert command is installed from ImageMagick

  4. Create a MariaDb/Mysql database and a valid database user

  5. Create a Telegram Bot in Telegram with help of the bot @BotFather

  6. Run the ./init.sh script to install all required components and setup the configuration

  7. Start the bot ./loc2mapbot.php

OPTIONAL:

In order to specify valid admin chats, you will need a file called .data.json including the following

{
"last_update_id": 0,
    "admin_chats": [
        -11675,
        12717
    ]
}