See Demo Video : https://youtu.be/nZRVMrnfxd4
On Chrome Web Store : ( Pending - Coming soon )
Note : This extension will work on any chromium based browser such as Chrome, Brave, Edge etc.
- Clone this repository.
- Run
npm install
in the root directory. - Run
npm run-script build
/yarn build
in the root directory. - Navigate to chrome://extensions/
- Toggle the developer mode (Activate it).
- Click on 'Load Unpacked'.
- Select the build folder.
More than 50% of the users face CVS(Computer Vision Syndrome) which gives a discomfort to their eyes due to the screen they are using. Reducing this stressful problem became our goal for this Hackathon.
Mission Vision is a Chrome Extension which reminds you to take a break from your busy and tedious schedule. This popup on your browser reminds you to look away every 20 minutes at an object that is about 20 feet away for a full 20 seconds. Mission Vision also makes you aware about lots of facts about your eyes.
We used Figma for design prototype, Used React.js for frontend and Node.js for backend to serve dynamic fact via API.
Our biggest challenge was figuring out how to make the extension work on most of the browsers. We used the chrome API to detect the browser and then we used the browser API to detect the version of the browser. Our 2nd challenge was to handle the server errors, thankfully React Query helped us actively handle the errors from server.
We were able to implement a custom caching mechanism to store latest facts in the browser to serve offline. And yes, Our extension works on every chromium based browser.
We learned about how exactly brower extentions work and how to make them work on most of the browsers. Also, We learned a lot about how to work in a team environment and how to break down a project into smaller pieces. We learned how to use the documentation for understanding the concepts.
We are planning to add support to firefox browser & Improve the UI of our extension. Wanted to add fun activities in the extension which will keep your eyes healthy.
FrontEnd Code -> https://github.com/Prathamesh-Dukare/Chrome-Extension-HTL
API Server running on -> https://replit.com/@PrathameshDukare/HTL-Project-Backend
FrontEnd: Reactjs
BackEnd: Node-Express
Additional NPM Libraries
- react-query: 3.34.14
- express.js : 4.17.2
- react-browser-extension-scripts :4.0.10
- react-dom: 17.0.2
Styling: CSS
Deployment: Chrome Web Store (...Pending)
This Project is a part of Hack The Leauge Hackathon in the theme of HealthCare
Glad to see you here! Show some love by Connecting on socials