Inspiration
In the era of constant new social media trends, same-day shipping, and easy online shopping, overconsumption has become a prevalent problem for sustainability, especially among our generation. According to Business Insider, while Generation Z has been “at the forefront of the climate movement”, we have also been fueling the climate crisis at the same time with our spending habits. This includes all of us on the team as well who have more than once impulse-bought something that we did not necessarily need, but rather purchased for the temporary satisfaction of doing-so or to follow the latest trends among our peers. However, with new products coming out daily and trends that follow just as fast, our generation along with the rest of the population are buying and consuming products at an unprecedented rate. This begs the questions: how much are people actually using? Are these mindful purchases? Where is the line where shopping becomes an addiction and our consumption becomes so dangerous that our current sustainability practices are unable to support it?
And finally: what will get people to stop buying things they (probably) don’t need?
To this problem, we say: shame.
What it does
Shameify is a web app and a browser extension that adds friction to the effortlessness of online shopping. Upon buying anything, Shameify induces a sense of judgement in an attempt to make the user reconsider whether or not they really need to purchase that item.
Upon enabling the browser extension, users can click on the disappointed looking face that is generated above the ‘add to cart’ button on a shopping website to get their latest and greatest wishlist item reviewed and judged by criterias of sustainability, quality, and usability. Or, as the new generation likes to say: absolutely roasted and toasted with shame.
Our AI evaluates the item, critiquing various features of the product such as its ingredients or materials and then returns to the user snarky comments about how it is potentially harmful to the environment to have them take a much needed step back and consider whether or not the item is worth it.
“Is it really the thing you want to drop a paycheck on? This? Something that will go into landfills and last for centuries after you?”
Generated attitudes like this curbs/thwarts’ the user’s impulsive purchase, playfully mocking them into hesitation and reminding them of their carbon footprint. Ashamed, the user is now a step closer to environmental conscientousness.
And like so, Shameify lives up to its name: replacing shop with shame.
How we built it
We built Shameify mainly using the Reflex framework for our web application and JavaScript for our chrome extension. Our process was multi-staged, involving the careful ideation, precise planning, and efficient coding that is necessary to ensure a quality tool for sustainable shopping.
To start, in-depth research on our problem (overconsumption) proved to be an invaluable first step. With this in mind, we laid out a logical framework for our web app and extension that would ensure our sustainable shopping tool was perfectly engaging and provoking.
Using the Reflex framework, we initiated the construction of our web app. To enhance its capabilities, we incorporated web scraping functionalities to retrieve helpful information about each product. Furthermore, we harnessed Together API’s open source models to generate sassy but educational opinions about the product.
To maximize accessibility and user engagement, we also crafted a web extension using JavaScript to seamlessly direct shoppers to our web app. We then dedicated efforts to refining the interfaces of both components, prioritizing user-friendly interactions and visual appeal.
Challenges we ran into
In building the web application, we ran into challenges with getting the user to feel like they were talking to a chat bot. To further elaborate, we had difficulties with displaying the AI response in a way that it would ask one rhetoric or make one statement at a time and styling it so that it appeared as if it was being typed in real-time instead of just displaying it on the screen all at once. We wanted the responses to be generated one at a time so that we could add user responses in-between roasts and make the experience more interactive.
Accomplishments that we're proud of
We’re proud of all the new skills we picked up in these short 36 hours! For starters, most of us were unfamiliar with python, but we challenged ourselves to quickly learn this new language. We also gained experience combing through documentation to pick up new frameworks, which is what we did with Reflex, a web development framework that (surprise!) uses only python.
Furthermore, we’re excited about harnessing the Together API to make our first project incorporating artificial intelligence! AI is a transformative and ever-growing industry, and Shameify marks our first step in exploring its potential.
What we learned
By the end of development, we learned about new full-stack frameworks such as Reflex enough to build a basic working application. In addition, we learned about web scraping and certain methodologies to do so with Beautiful Soup and Selenium. We learned how to build a web extension to manipulate webpage elements in order to give users a wider range of functionalities. It was also our first time incorporating an AI model and doing some prompt engineering by querying a model from Together.AI. We got to see how different models perform differently, and how to leverage LLMs for cool functionality and creating a fun text experience.
What's next for Shameify
As most Hackathon projects are, the original ideas for Shameify were much broader than what we ended up submitting. Things we have in mind for Shameify’s future are plans to introduce a way to track shopping habits and history, as well as have multiple items evaluated. Additionally, it would be amazing to have the extension notify you on whether you have purchased a similar item recently or not, as well as provide alternative recommendations which would ideally be more sustainable and of higher quality, as well as try to support local businesses and brands with sustainability goals in mind.
A potential concern that users may have are the credibility of the AI response and evaluation. Future plans will include citations for the AI’s claims to make sure no misinformation is spread.
We hope to be able to support multiple different shop and store websites, and eventually expand to international audiences. We all have a duty to protect this Earth and the people and beings who live here. Environmental activists have tried empathy, they have tried fear, and they have tried anger. But in the end, will it be shame that helps us become more environmentally conscious beings?
Built With
- beautiful-soup
- css
- javascript
- reflex
- together.ai
Log in or sign up for Devpost to join the conversation.