π Hackathon Project by Team GitHappens
Refoodify is an innovative AI-powered food waste management platform that addresses one of the world's most pressing environmental challenges. Our comprehensive system transforms food waste into valuable resources through intelligent analysis, personalized suggestions, and community engagement, making sustainability accessible and rewarding for everyone.
Food waste is a global crisis with far-reaching consequences:
- 1.3 billion tons of food wasted globally each year
- 8% of global greenhouse gas emissions come from food waste
- $1 trillion worth of food lost annually
- Limited awareness and tools for effective waste reduction at the consumer level
Traditional solutions focus on either composting or business-level interventions, leaving individual consumers without comprehensive, intelligent tools to tackle their food waste effectively.
Refoodify bridges this gap by providing a complete ecosystem for food waste management:
Our intelligent system analyzes food waste photos and provides instant, actionable insights tailored to your specific situation.
Earn points, climb leaderboards, and unlock achievements as you reduce your environmental footprint.
Track your waste reduction journey with detailed analytics and progress visualization.
Every suggestion prioritizes environmental impact while providing practical, achievable solutions.
- π€ AI-Powered Food Analysis: Upload photos of food waste and receive instant AI-generated suggestions
- π Smart Reuse Ideas: Get creative, practical suggestions for repurposing leftovers
- π Nutritional Insights: Understand the nutritional value of what you're about to waste
- π± Composting Guidance: Learn proper composting techniques for non-reusable waste
- π― Gamification System: Points, achievements, and leaderboards to keep you motivated
- π₯ Community Features: Connect with other eco-conscious users and share tips
- π Progress Tracking: Monitor your waste reduction impact over time
- π Markdown-Rich Responses: Beautifully formatted AI suggestions with links and structured content
Unlike existing solutions, Refoodify offers:
- Comprehensive AI Integration: Advanced image recognition and personalized suggestions
- Consumer-Focused Design: Built specifically for individual households, not businesses
- Gamification Elements: Making sustainability engaging and rewarding
- Community Aspect: Learning from and sharing with like-minded users
- Multi-Modal Solutions: From reuse ideas to composting, covering all waste reduction strategies
- Next.js 15: Latest React framework with App Router for optimal performance
- TypeScript: Type-safe development for better code quality and maintainability
- Tailwind CSS: Utility-first CSS framework for rapid, responsive design
- Supabase: Complete backend solution with real-time capabilities
- PostgreSQL: Robust relational database for user data and analytics
- Supabase Auth: Secure authentication with social login support
- Perplexity API: Advanced AI for food waste analysis and suggestions
- react-markdown: Rich text rendering with GitHub Flavored Markdown support
- remark-gfm: Enhanced markdown features for better content presentation
- Radix UI: Accessible, unstyled UI components
- Lucide React: Beautiful, customizable icons
- Custom Animations: Smooth transitions and loading states
- Netlify: Fast, reliable hosting with automatic deployments
- Node.js 20.11.0: Stable runtime environment
- pnpm: Fast, efficient package manager
- Node.js 20.11.0 or higher
- pnpm package manager
- Clone the repository
git clone https://github.com/Saijayaranjan/refoodify.git
cd refoodify- Install dependencies
pnpm install- Set up environment variables
cp .env.example .env.local
# Add your Supabase and Perplexity API keys- Start the development server
pnpm dev- Open your browser
Navigate to
http://localhost:3000to see the application.
NEXT_PUBLIC_SUPABASE_URL=your_supabase_url
NEXT_PUBLIC_SUPABASE_ANON_KEY=your_supabase_anon_key
PERPLEXITY_API_KEY=your_perplexity_api_key- Upload food waste images for AI analysis
- View personalized suggestions with rich formatting
- Track your environmental impact
- Monitor your progress and statistics
- Secure user registration and login
- Session persistence across browser sessions
- Protected routes and user data
- Intelligent food waste analysis
- Creative reuse suggestions
- Composting recommendations
- Markdown-formatted responses with links and structured content
- Points system for waste reduction activities
- Achievement badges and milestones
- Community leaderboards (coming soon)
- Weekly challenges and rewards
This project showcases:
- Rapid Development: Built during a hackathon to demonstrate quick prototyping skills
- Modern Tech Stack: Using the latest web technologies and best practices
- Real-World Impact: Addressing genuine environmental concerns through technology
- User-Centric Design: Focusing on usability and engagement
- Scalable Architecture: Built to handle growth and feature expansion
We are a passionate team of developers committed to creating innovative solutions for environmental sustainability. This project represents our dedication to:
- Innovation: Leveraging cutting-edge AI technology for social good
- Sustainability: Making environmental consciousness accessible and engaging
- Community: Building tools that bring people together around shared values
- Rapid Development: Demonstrating the power of focused, collaborative development
To prove that technology can be a powerful force for environmental change, and that innovative solutions can be developed rapidly when driven by passion and purpose.
Refoodify showcases our ability to:
- Identify real-world problems and create practical solutions
- Work efficiently under time constraints
- Integrate multiple technologies into a cohesive product
- Design user-friendly interfaces that encourage positive behavior change
We welcome contributions! Whether you're interested in:
- Adding new features
- Improving the AI suggestions
- Enhancing the user interface
- Fixing bugs or optimizing performance
Please feel free to open issues or submit pull requests.
Thanks to all the amazing people who have contributed to this project:
This project is licensed under the MIT License - see the LICENSE file for details.
Built with β€οΈ by Team GitHappens | Making sustainability accessible, one upload at a time.