Inspiration

Social media is as much a distraction as it is fun. My intention was to build something which could prevent a person from inadvertently surfing social media and waste time. The result was ChromoFocus.

What it does

Whenever you switch on the app(start focussing), it checks which tabs you navigate too and intimates you via speech to aware you that you are distracting, if you navigate to a different domain. However, if you surf the same domain, it allows. The app also saves your data to a postgresql database, which is accessed via REST service, built using Java Spring. To analyze the data there is a visualization module as well, which displays a comparative chart of frequencies at which you distracted to a particular site.

How I built it

I used javascript for building chrome extension. I used postgresql as a database. This database is interfaced via Java Spring Rest Module.

Challenges I ran into

Javascript is asynchronous and it is all about events. It was challenging for me to code the meat of my project in Javascript (chrome extension). Also, while developing REST services, I found challenge in format of data being sent. Also while presenting data, there were problems in Cross Origin Scripting, which I overcame temporarily by adding a chrome extension.

Accomplishments that I'm proud of

I am proud that I accomplished, what I set out to. I successfully developed web services. But the accomplishment, that I am most proud of is that I learnt and debugged asynchronous javascript successfully.

What I learned

I learnt some great techniques for debugging for JavaScript and frontend technologies. I learnt developing web services via Java Spring REST Module.

What's next for ChromoFocus

First of all, making it usable for multiple users, via sign in. Some more UI development, such that users can customize it. Improvement in UI of analysis to represent more clearly.

Share this project:

Updates