Skip to content

Offline AI Therapist Chatbot built with Llama3, Flask & React

Notifications You must be signed in to change notification settings

Sudhss/MoodMate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MoodMate AI

MoodMate Logo

MoodMate AI is your modern, emotionally intelligent chat companion. Built with a custom Flask backend, React frontend, and LLaMA 3 via Ollama, it offers multiple conversation modes—sarcastic, brutally honest, supportive, and neutral. All your chats are private and stored locally for your convenience.


🚀 Features

  • 💬 Multiple Conversation Modes: Sarcastic, Brutally Honest, Supportive, Neutral
  • 🔒 Private, Local Chat History: All conversations are stored locally in SQLite
  • Fast, On-Device AI: Powered by LLaMA 3 via Ollama, no cloud required
  • 🎨 Beautiful, Responsive UI: Modern, dark-themed, and mobile-friendly
  • 🗂️ Sidebar Navigation: Browse and revisit all your previous conversations
  • 🌐 Portfolio & About: Learn more about the creator and the project

🖥️ Screenshots

Chat UI About Page


🛠️ Tech Stack

  • Frontend: React, React Router, CSS Modules
  • Backend: Python, Flask, Flask-CORS, Flask-SQLAlchemy
  • AI Model: LLaMA 3 via Ollama (runs locally)
  • Database: SQLite (local, file-based)

⚙️ Getting Started

Prerequisites

  • Node.js & npm
  • Python 3.8+
  • Ollama with LLaMA 3 model installed

1. Clone the repository

git clone https://github.com/yourusername/moodmate-ai.git
cd moodmate-ai

2. Install dependencies

Frontend

cd frontend
npm install

Backend

cd ../backend
pip install -r requirements.txt

3. Start the backend

cd backend
python app.py

4. Start the frontend

cd ../frontend
npm start

5. Make sure Ollama is running with LLaMA 3


📱 Usage

  • Chat: Start chatting in any mode. Switch modes anytime.
  • Sidebar: Click previous conversations to revisit them.
  • About: Learn about the project and creator.
  • Portfolio: Visit the creator's portfolio.

🙏 Credits


📄 License

MIT License. See LICENSE for details.


MoodMate AI: Your modern, emotionally intelligent chat companion.

About

Offline AI Therapist Chatbot built with Llama3, Flask & React

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published