Lunchy is a smart AI-powered Telegram bot designed to fairly and intelligently choose one person from a chat group to be responsible for ordering lunch. Whether you're tired of the same person ordering every day, or you just want to make lunch assignments more fun, Lunchy has your back.
Built with modular components and optional AI integration (via Google Gemini or ChatGPT), Lunchy uses natural language detection to identify food-related conversations and trigger a fair selection process based on configurable criteria.
If you want to use the bot, go and create a telegram group, add the bot to it and make him admin.
The bot is deployed under the name @Lunchy_funchy_bot
If you prefer to deploy it yourself, follow the instructions below.
- Create a bot using telegram @BotFather see How to get Telegram Bot Chat ID.
- Create a telegram group, add the bot to the group, and make it admin.
- Set the env var
BOT_TOKEN. - if you want to use Google Gemini AI, then obtain and set
GEMINI_API_KEY - Optionally, if you need to persist the data between restarts, configure
VOLUME_ROOT_FSto point to path of some persistent volume (block or network storage). - Run the app using
BOT_TOKEN=<bot_token> python main.py - Start sending commands in the group (e.g.
/help), the bot will detect food names as well (using Gemini). - Enjoy!
This app is built using telebot