Skip to content

safiyahlakhany/ShopClean

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shop Clean

A browser extension to encourage and enable ethical shopping | Submitted to HackOff 3 Hackathon


Problem

Despite the rapidly growing prevalence of online shopping, it is difficult for consumers to know whether the products they're spending their hard-earned money on are made ethically. For example, many reputable brands, including Nike and Adidas, sell products made with forced Uyghur labor in China.

Description

Shop Clean is a browser extension for Chrome that flags these products on Amazon and suggests alternatives, so consumers can leverage their purchase power for good. When a user is on a product page, they simply click the browser extension. A script grabs the product URL and calls the Rainforest Product Data API to determine product information. This information is compared against several datasets to determine and display whether the product was manufactured ethically. If it wasn't we use a custom algorithm along with the Rainforest Search API to recommend similar products that were manufactured ethically.

Challenges

We encountered many challenges in the development of this project. One key challenge was integrating our tech stack with the Chrome extension infrastructure in order to automatically check whether the Amazon product the user was browsing was made using ethical means. This required acquiring the URL of the browser, which is only accessible by certain scripts. Another challenge was determining which alternative products to suggest when a user was interested in a product made with forced labor.

Build Instructions (Google Chrome)

  1. Run npm install
  2. Edit the Constants.js file to include your Rainforest API key and edit the manifest.json file to include your chrome extension security hash.
  3. Run npm run build
  4. Navigate to chrome://extensions/
  5. Press load unpacked and select the build folder. You can run the browser extension now!

Contributors

Safiyah Lakhany

Kenny Oseleononmen

Lauren Ng

Avi Gupta

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors