Inspiration Inspiration came from the growing concern about environmental sustainability and waste management. We were particularly struck by the amount of waste generated by single-use packaging and products from large corporations like PepsiCo. We wanted to find a way to inspire people to think creatively about trash, turning it into something valuable rather than discarding it. The idea of upcycling aligns perfectly with this goal, turning what would be waste into treasures with a new purpose.
What it does TrashToTreasure is a sustainable showcase platform where users can upload pictures of PepsiCo packaging waste and receive creative upcycling ideas from our AI assistant, Gemini. After transforming the waste into something useful or artistic, users can upload pictures of their upcycled products. The community can then vote on the best upcycling transformations, encouraging both creativity and sustainable practices.
How we built it We built TrashToTreasure using a combination of modern web technologies. The frontend is built with React, and we used Next.js for server-side rendering. We integrated Gemini, an AI assistant, to process user-submitted images and suggest upcycling ideas. The backend is powered by a NodeJS application with a MongoDB database, where we store user data, images, and voting information. We also incorporated voting functionality to allow users to rate upcycled creations. Images are processed using a combination of cloud storage and base64 encoding to facilitate smooth uploads and rendering.
Challenges we ran into One of the biggest challenges was developing a seamless image processing pipeline, where users can upload pictures of their trash and upcycled items without losing quality or causing performance issues. Another challenge was training Gemini to suggest useful and creative upcycling ideas based on a wide range of packaging materials. Prompting was an important must here!
Accomplishments that we're proud of For all but one, it's our first hackathon! We’re proud of creating a platform that promotes environmental sustainability and community engagement. We successfully integrated an AI that can provide,creative upcycling ideas, encouraging people to think outside the box when it comes to waste. Additionally, building a voting mechanism that allows the community to participate and celebrate the best ideas is something we’re really love.
What we learned We learned the importance of seamless user experience, especially when dealing with images and voting mechanisms. Things can get complicated, and that's when users start leaving your page. We also deepened our understanding of AI-driven suggestion systems and how to fine-tune them for specific use cases like upcycling. Working with sustainability-focused applications taught us how small actions, like reimagining trash, can have a larger impact on both individuals and the environment.
What's next for TrashToTreasure - Sustainable Showcase Moving forward, we want to expand the platform by integrating with other companies' packaging waste, not just PepsiCo’s. We plan to enhance Gemini's AI capabilities to suggest even more creative ideas and work on building a larger community where people can share, learn, and inspire others to upcycle. We’re also considering introducing challenges or competitions where users can win rewards for the most innovative upcycled creations, further incentivizing sustainability. Maybe a Pepsi Jet!
Built With
- express.js
- mongodb
- nextjs
- node.js
- react
- tailwind
Log in or sign up for Devpost to join the conversation.