Telegram bot to collect and display Live Locations in Ingress Intel Total Conversion (IITC)
Requirements
-
A Working web server with PHP and SSL support
-
A MySQL or MariaDB Database
-
PHP support in CLI
-
A valid certificate for your web server
**** VERY IMPORTANT ****
YOU MUST INITILIZE ALL CONFIGURATION BY FOLLOWING THESE STEPS
-
Configure your web server to serve PHP files in ./www/
-
PHP version must have CURLFile support
-
Make sure the convert command is installed from ImageMagick
-
Create a MariaDb/Mysql database and a valid database user
-
Create a Telegram Bot in Telegram with help of the bot @BotFather
-
Run the ./init.sh script to install all required components and setup the configuration
-
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
]
}