Skip to content

πŸ€– A Telegram bot for mental wellness check-ins, mood tracking, stress relief tips, and self-care supportβ€”simple, private, and empathetic.

Notifications You must be signed in to change notification settings

taj54/MindMateBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

14 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ€– MindMate Bot

MindMate Bot is a Telegram bot designed to support mental well-being through quick, private, and compassionate check-ins. It helps users reflect on their feelings, reduce stress, and access helpful resources.


🌟 Features

  • /start – Welcomes the user and explains how to use the bot.
  • /checkin – A 3-step guided mental wellness check-in:
    1. Select your current mood using emojis.
    2. Share what's on your mind.
    3. Rate your stress level (scale 1–10).
  • /tip – Get a random calming or self-care suggestion.
  • /help – Access mental health resources and emergency helplines.
  • πŸ›‘ Privacy First – No personal data is stored. Logs are anonymized and used only for bot improvement.

πŸš€ Getting Started

βœ… Prerequisites

  • Python 3.10+
  • Poetry for dependency management
  • Telegram Bot Token from BotFather

πŸ“¦ Installation

  1. Clone the repository:

    git clone <repo-url>
    cd MindMateBot
  2. Install dependencies with Poetry:

    poetry install
  3. Configure environment variables:

    Copy .env.example to .env:

    cp .env.example .env

    Then, set your Telegram bot token in .env:

    TELEGRAM_TOKEN=your-bot-token
  4. Run the bot:

    poetry run python bot.py

    You should see: πŸ€– Bot is running...


πŸ“ Project Structure

MindMateBot/
β”œβ”€β”€ bot.py                   # Main bot entry point
β”œβ”€β”€ handlers/                # Telegram command handlers
β”‚   β”œβ”€β”€ checkin.py
β”‚   β”œβ”€β”€ help.py
β”‚   β”œβ”€β”€ messages.py
β”‚   β”œβ”€β”€ start.py
β”‚   └── tip.py
β”œβ”€β”€ storage/
β”‚   └── logs.json            # Anonymized logs (not personal data)
β”œβ”€β”€ utils/                   # Utility modules
β”‚   β”œβ”€β”€ constants.py
β”‚   β”œβ”€β”€ logger.py
β”‚   └── tips.py
β”œβ”€β”€ .env                     # Environment config (not committed)
β”œβ”€β”€ .env.example             # Sample environment config
β”œβ”€β”€ pyproject.toml           # Poetry configuration
└── README.md                # Project documentation

πŸ’‘ Usage

Command Description
/start Start and get an introduction
/checkin Begin the 3-step mood check-in
/tip Get a calming self-care suggestion
/help Access mental health resources

🀝 Contributing

Contributions, suggestions, and pull requests are warmly welcomed!


πŸ“„ License

MIT License – Feel free to use and adapt.


πŸ‘€ Author

Taj
πŸ“§ tajulislamj200@gmail.com

About

πŸ€– A Telegram bot for mental wellness check-ins, mood tracking, stress relief tips, and self-care supportβ€”simple, private, and empathetic.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages