Skip to content

Moody is your very own personal mental health assistant. Winner IBM Hack Challenge 2018.

Notifications You must be signed in to change notification settings

aravindbs/moody

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

90 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Moody

Moody is your very own personal mental health assistant. Whether you are sad, angry or depressed, Moody will have a a music/video suggestion for you that will immediately brighten up your day.

Try it out here

Documentation

Problem Statement

A person’s emotions and moods have direct bearings on his/her daily activities. It is necessary to eliminate negative emotions that our family or friends might be experiencing. Analysing soial media posts is a good way to help improve ones mental health.

Tools used

  • Tweepy API to obtain tweets from Twitter.
  • Watson Tone Analyzer to obtain emotions and Natural Language Understanding System to get keywords.
  • Spotify API to suggest music.
  • Youtube API to suggest videos.
  • Watson Assistant as a chatbot for depressed users to communicate with.
  • WebApp built using Flask framework deployed on IBM Cloud Foundry.

Instructions to run the code locally

  1. Clone the repository.
  2. Create a python virtual environment from the root directory and activate it.
$ virtualenv -p python3 venv
$ . venv/bin/activate 
  1. Install the requirements specified in requirements.txt
$ pip install -r requirements.txt 
  1. Download the env file containing the required environment variables from here

  2. Place a copy of the env file in the web and workers directories.

  3. Rename the env file in both the directories to .env

To start the web app.

$ cd web
$ python main.py

Open any browser window and type in http:https://localhost:5000

To start the workers.

$ cd workers
$ python <WORKER>.py 

Architecture

Architecure

Motivation

This project was carried out by students from R.V College of Engineering as a part of the IBM Hack Challenge.

About

Moody is your very own personal mental health assistant. Winner IBM Hack Challenge 2018.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages