An open API service indexing awesome lists of open source software.

https://github.com/gautamxgambhir/carebot

CareBot is an AI-powered compassionate health support bot for Telegram & Discord that offers emotional and health-related guidance. It provides supportive conversations, health tips, and stress-relief advice to users in need of a helping hand.
https://github.com/gautamxgambhir/carebot

bot care carebot discord health python telegram togetherai

Last synced: about 2 months ago
JSON representation

CareBot is an AI-powered compassionate health support bot for Telegram & Discord that offers emotional and health-related guidance. It provides supportive conversations, health tips, and stress-relief advice to users in need of a helping hand.

Awesome Lists containing this project

README

        


CareBot Logo

-----------------

# CareBot: AI-Powered Compassionate Health Support Bot for Telegram & Discord

![Python](https://img.shields.io/badge/Python-3.12-blue)
![Flask](https://img.shields.io/badge/Flask-2.0-green)
![Status](https://img.shields.io/badge/status-active-brightgreen)
![License](https://img.shields.io/badge/license-MIT-red)
![Together-AI](https://img.shields.io/badge/Together%20AI-0f6fff)
![Telegram](https://img.shields.io/badge/Telegram-Bot-blue)
![Discord](https://img.shields.io/badge/Discord-Bot-purple)

## What is CareBot?

CareBot is an AI-powered **compassionate health support bot** for **Telegram & Discord** that offers emotional and health-related guidance. It provides **supportive conversations, health tips, and stress-relief advice** to users in need of a helping hand.

## Features

- **Emotional Support**: Provides comforting and supportive responses to users who need guidance.
- **Health & Wellness Advice**: Offers general wellness and self-care tips.
- **Supports Telegram & Discord**: Available as both a **Telegram bot** and a **Discord bot**.
- **AI-Powered Conversations**: Uses **Together API** to generate compassionate and intelligent responses.
- **Fast & Engaging**: Responds instantly to user queries.
- Uses `?` as the default prefix for Discord commands.

## Bot Descriptions

### **Discord Bot Description**
*Use commands like ?start, ?stop, and ?dm to interact with the bot.*

### **Telegram Bot Description**
*Compassionate health support bot. /start to start, /dm to chat in private, and /stop to end the session.*

## Where to Access It?

CareBot is open-source and available on GitHub:

🔗 **[GitHub Repository](https://github.com/gautamxgambhir/CareBot)**

### **Invite & Use the Bot**

- **Telegram Bot**: [@care_kit_bot](https://t.me/care_kit_bot)
- **Discord Bot Invite**: [Invite CareBot to Your Server](https://discord.com/oauth2/authorize?client_id=1324087162618253382&permissions=8&integration_type=0&scope=bot)

## Installation and Setup

### 1. Clone the repository:
```bash
git clone https://github.com/gautamxgambhir/CareBot.git
```

### 2. Install dependencies:
```bash
cd CareBot
pip install -r requirements.txt
```

### 3. Set up API keys
- Obtain a **Together AI API Key** from [Together AI](https://www.together.ai/).
- Set up **Telegram Bot Token** via [BotFather](https://core.telegram.org/bots#botfather).
- Set up **Discord Bot Token** via the [Discord Developer Portal](https://discord.com/developers/applications).
- Store the API keys in an **.env** file:
```env
API_KEY=your_together_api_key
TELEGRAM_TOKEN=your_telegram_bot_token
DISCORD_TOKEN=your_discord_bot_token
```

### 4. Run the bot:
```bash
python bot.py
```

## Discord Bot Usage

- **Prefix**: `?`
- **Example Commands**:
- `?start` → Begin a conversation.
- `?stop` → End the session.
- `?dm` → To chat in Direct Messages.

## Telegram Bot Usage

- Simply **send a message**, and CareBot will respond with comforting advice.
- **Commands**:
- `/start` → Start a health support session.
- `/dm` → Chat in direct messages.
- `/stop` → End the session.

## Dependencies

- [**Flask**](https://flask.palletsprojects.com/en/3.0.x/) - Backend framework for API integration.
- [**Together API**](https://www.together.ai/) - AI-powered response generation.
- [**python-telegram-bot**](https://python-telegram-bot.readthedocs.io/) - Telegram bot framework.
- [**discord.py**](https://discordpy.readthedocs.io/en/stable/) - Discord bot framework.

## Contributing

Contributions are welcome! To contribute:
- Fork the repo.
- Create a new branch (`git checkout -b feature-branch`).
- Commit changes (`git commit -m "Added new feature"`).
- Push to the branch (`git push origin feature-branch`).
- Open a pull request.

## License

This project is licensed under the **MIT License**.

## Contact

- **GitHub**: [@gautamxgambhir](https://github.com/gautamxgambhir)
- **Email**: [email protected]
- **Instagram**: [gautamxgambhir](https://www.instagram.com/gautamxgambhir)
- **Twitter**: [gautamxgambhir](https://www.twitter.com/gautamxgambhir)