Ever wonder how we managed to get it all working? The answer lies in the algorithm we designed and system we had in mind as we design them. The front end part of our extension does the job of retrieving and summarizing the text from websites, while the back end part is responsible for storing the information and requests of users in the Firebase. Between them the Flask server makes sure everything functions well. In this way, each part of the Concentrate can work together toward the same goal — block the distracting websites for you.
For the main body of our extension, we use Flask framework to build up the overall structure and connect each components together. As the bridge between the actual websites and our algorithm, Flask takes the role of retrieving the summarized text and transferring them to the back end.