The MoodScout, An innovative invention for those unplanned lazy geeze
Tags: devchallenge, twiliochallenge, ai, twilio
Published: 2024-06-22 18:22:47

*This is a submission for the [Twilio Challenge ](https://dev.to/challenges/twilio)*

## What I Built
We have built a Mood Scout web application, which takes in your mood or "what you feel like doing, right now", as an input, and suggests you the best places according to your mood, around you with their directions, sent right down to your phone for easy navigation.


## The AI catch of our application
Unlike the exisiting location finders, place finders, maps, blah, blah, etc.,
This application leverages Google's Gemini AI, in getting suggestions of places, according to the user's mood !
Whose data is then processed along with the geo location and returned.

#### A Simple Yet Innovative Idea ...

### TECH STACK
 - Twilio (Our sponsor)

   Handling our messaging service, and delivering instant directions and links to our consumers.

 - Python 3.11

   Used due to it's Robust and fast natured theme, and optimized perfomance.

 - Flask
 - Gemini AI
   
   Our AI providing the life to our application, giving the AI'esthetic touch we need, in our place suggestions.

 - OpenCage Maps

   Improved accuracy, on getting precise locations

 - Google Maps

   The distance matrix api key, providing with real time distance, and time information between source and the destination. 


## The Architecture


![Architecture diagram](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/cwz1p2mx9p4tcvjpcahk.png)



## Demo
 - GitHub [github.com](https://github.com/jainiresh/locationSuggestor/tree/readme-add)
 - Web URL [Live Url](https://locationsuggestor.onrender.com/)

## Short video of the application

{% embed https://youtu.be/Hh8VCJSCJq4 %}


### The Head

![Our protogonist page .](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/4qbo1s7300ilxet4l1x6.png)

### The Protagonist

The content page, that lists down all the releveant places your mood would love to be.

![Not to get deceived of the simplicity, but powerful! ](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/rvlc1k7q53u5cmi1df9r.png)

### The cameo

Using our awesome Twilio's api to send directions right down to our phone number :
![Twilio](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/0dc3tmythglqnma5ph8o.png)

### The Feel Good
Here comes our directions.

![Twilio](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/i1ddg5bt35beca4jskf2.png)

## Twilio and AI
The traditional fetch from API / DB is so boring, and redundant.
How about leveraging our AI, to pickup the scent of our mood, and automatically suggest places around us for the best feel.

Not to mention, our awesome Twilio's SMS integration, allowing a free flow of SMS to the consumers, for instant directions and sending other links.

## Additional Prize Categories

<!-- Does your submission qualify for any additional prize categories (Twilio Times Two, Impactful Innovators, Entertaining Endeavors)? Please list all that apply.  -->
Yes, our submission qualifies for 
 - "Impactful Innovators" and 
 - "Entertaining Endeavors"

The reason for "Impactful Innovators" being : 
A lot of foreigners or ourselves when we visit a new place, or a city end up getting unplanned for the day, most of the time.
Our application, gets just your mood as an input via a web interface, and suggests you the best spots/places, to feel your best.

This is a must use application, for all those unplanned travellers, to explore a lot on every new place they travel to.

The reason for "Entertaining Endeavors" being :
Not only it does cover the  spots like, temples, forts, etc.,
But also it can take in your mood to give you good pubs, drink bars, and fun activity malls, which gives you the real fun of new places.


<!-- Team Submissions: Please pick one member to publish the submission and credit teammates by listing their DEV usernames directly in the body of the post. -->

<!-- Don't forget to add a cover image (if you want). -->

<!-- Thanks for participating! -->