Inspiration

We needed a tool to help us with the everchanging world of dating!

What it does

Analyzes the Instagram text messages between two people, generates a score from -100 to 100 with the help of OpenAI and outputs the score on a bar. It also suggests what to do for the next step.

How we built it

We implented this as a chrome extension. Using javascript, we scraped the page for messages and sent them to OpenAI which sent back a score using its given prompt. We also ran a local server to save the data.

Challenges we ran into

We tried three different Chrome extension templates to find the best ones. Instagram has some privacy policies which does not allow for APIs. Div classes were also encrypted so we had to find the pattern of div classes to be able to read them. Saving the div data was a struggle, as we had to put everything into one string. We had to implement a popup.js to be able to use the fetch score button. Figuring out the gradiant so that the bar gradualy increases. Implementing the beating heart. We wanted to include a sad face as the meter decreases, but ran into problems trying to implement it.

Accomplishments that we're proud of

The extension working smoothly and accuratly. Getting this done within the the two days.

What we learned

Servers, Chrome extensions, coding as a team.

What's next for Let's Be Delusional.

Adding suggestions as to what to say next.

Share this project:

Updates