Send a Telegram message when a new offer for "Appartement Lausanne" is here on http://www.anibis.ch/ or http://www.homegate.ch/
This project is for an internal use. Search terms are hardcoded.
- Install this project via
git clone
and configure your webserver (Access web/app.php via HTTPS) - run
composer install
- Create a cache folder:
mkdir -p var/cache && chmod -R 777 var/cache
- Create a config file:
cp parameters.yml.dist parameters.yml
- Visit Telegram Bothfather from Telegram app
- Create a new Bot (/newbot) and follow instructions
- Add your new bot API key to parameters.yml.
- Enable your webhook via a command-line
php web/bot.php URL
where URL is your absolute public website url running over HTTPS. - Add a cron via
crontab -e
to check update from your website
*/20 * * * * wget -O /dev/null https://URL/
This project run on my RaspberryPi at https://anibis.while.ch and Bot is called @AnibisBot
MIT by Laurent Constantin