When I was a child, I went through a lot of bullying and found looking at some very depressing websites on the internet that had graphic and grotesque images on them. Looking back on it, I wouldn't want any other child to go through the same experience I did. To solve this problem, I created Happify.

What it does

Happify is a chrome extension that analyzes the images you see on your screen and replaces the sad ones with an image of a happy cat.

How I built it

Happify scrapes all the images from the html of a page and computes a sentimental score between 0 and 1 for each using a combination of a dictionary api, an image tag api, and a sentimental analysis api. If the computed score is less than epsilon (0.10), then we replace that image reference with one on the internet of a happy cat.

Challenges I ran into

Looking for APIs to use was pretty darn hard. There weren't very many APIs I could use at HTN. Also some minor JavaScript timing issues.

Accomplishments that I'm proud of

Making the world a happier place, one cat at a time.

What I learned

How to make a chrome extension.

What's next for Happify

Building our sentimental analysis algorithm from scratch instead of relying on external APIs.

Built With

Share this project: