Skip to content

rafiathallah3/MentalAI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🤖 AI Chatbot for Mental Wellness and Productivity

This is a web-based AI assistant built with Golang and Gin, designed to support users in managing their mental health and enhancing productivity. Users can interact with an AI chatbot for self-reflection, stress relief strategies, and productivity tips, all in one accessible platform.

🌟 Features

  • 💬 AI Chatbot Support
    Uses Gemini AI API to respond with personalized mental health advice and productivity suggestions.

  • 📂 Conversation Session Management
    Each session includes a title/topic and an urgency level, auto-generated by the AI to improve organization.

  • 🔍 Search Functionality
    Find past chatbot sessions using Sequential and Binary Search by topic.

  • ↕️ Sorting Options
    Sort session history by interaction time or urgency level using Selection Sort and Insertion Sort.

  • 🧠 Mental Health Focus
    Includes exercises and techniques for stress management, mindfulness, and self-reflection.

  • ☁️ Cloud-Hosted SQL Database
    Stores user sessions securely using Supabase, making the app easy to deploy without local database setup.

🛠️ Technologies Used

Technology Description
Go (Golang) Backend programming language
Gin Lightweight and powerful web framework
Supabase PostgreSQL-compatible hosted SQL database
Gemini API AI-powered response generation for mental wellness
HTML/CSS Frontend styling and page layout
JavaScript Client-side interaction (if applicable)

📦 Installation

  1. Clone the repository
    git clone https://github.com/rafiathallah3/MentalAI.git
    cd MentalAI
  2. Download all dependencies
    go mod tidy
  3. Set Environment (.env) variables
    GEMINI_KEY=<API>
    DATABASE_URL=<Supabase URL>
    KUE=<secret> #Encryption key
  4. Run the application
    go run .

About

A chatbot that would assist you.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published