BabyBuddy is a Telegram bot designed to provide evidence-based parenting advice and support. It helps parents get quick, reliable answers to common parenting questions and challenges.
- Evidence-based parenting advice
- Easy-to-use command interface
- Quick responses to common parenting questions
- Safe and informative guidance
- Python 3.7 or higher
- Telegram Bot Token (from @BotFather)
- Perplexity API Key
-
Clone the repository or download the source code
-
Install the required dependencies:
pip install -r requirements.txt- Create a
.envfile in the project root and add your API keys:
TELEGRAM_BOT_TOKEN=your_telegram_bot_token
PERPLEXITY_API_KEY=your_perplexity_api_key
Start the bot by running:
python app.py/start- Get a welcome message and introduction to the bot/help- Display help information and usage examples/baby [question]- Ask a parenting-related question
/baby My 6-month-old refuses solid foods/baby How to handle toddler tantrums/baby When should my baby start crawling?
This bot provides general parenting advice and is not a substitute for professional medical consultation. Always consult healthcare providers for medical concerns.
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.