๐ฑ Scrapify.AI
AI-powered waste analysis and scrap donation platform to protect the environment
๐ Overview
Scrapify.AI is a modern web application that combines artificial intelligence with environmental sustainability. It helps users identify recyclable materials through AI-powered image analysis and facilitates scrap material donations through a community-driven platform.
โจ Features
๐ค AI Waste Analyzer
- Smart Image Recognition: Upload photos of items to instantly determine if they're recyclable
- Detailed Analysis: Get comprehensive waste type, sustainability, and recyclability ratings
- Google Gemini Integration: Powered by Google's advanced AI for accurate results
- Drag & Drop Interface: Easy-to-use file upload with instant preview
๐ค Scrap Donation Platform
- Community Marketplace: Browse and discover available scrap materials from donors
- Easy Donation Process: List your scrap materials with AI-powered categorization
- Location-Based Listings: Find donors and materials in your area
- Material Categories: Support for metals, plastics, paper, electronics, and more
๐จ Modern User Experience
- Responsive Design: Works seamlessly on desktop, tablet, and mobile devices
- Clean Interface: Intuitive design with smooth animations and transitions
- Real-time Updates: Instant feedback and loading states
- Accessibility: Built with accessibility best practices
๐ ๏ธ Technology Stack
- Frontend: Next.js 15.1.6, React 19, TailwindCSS
- UI Components: Lucide React icons, Styled Components
- File Handling: React Dropzone
- AI Integration: Google Gemini 2.0 Flash API
- Deployment: Vercel-ready configuration
๐ฆ Installation
Prerequisites
- Node.js 18+
- npm or yarn
- Google AI API key
Setup Instructions
- Clone the repository
git clone https://github.com/YOGARATHNAM-S/Scrapify.AI.git
cd Scrapify.AI
- Install dependencies
npm install
- Environment Configuration
Create a .env.local
file in the root directory:
NEXT_PUBLIC_GOOGLE_API_KEY=your_google_ai_api_key_here
To get your Google AI API key:
- Visit Google AI Studio
- Create a new project and generate an API key
- Enable the Generative Language API
- Run the development server
npm run dev
- Open your browser
Navigate to http://localhost:3000
๐ Usage
AI Waste Analyzer
- Navigate to the AI Waste Analyzer page
- Upload an image by dragging and dropping or clicking to select
- Analyze - Click the "Analyze Image" button
-
Review the AI-generated results including:
- Waste type identification
- Sustainability rating
- Recyclability score
- Disposal recommendations
Scrap Donation Platform
- Browse existing donations on the main donation page
- View Details - Click on any donation to see more information
-
Add Donation - Use the form to list your own scrap materials:
- Upload an image of your scrap
- AI will automatically categorize the material
- Add description and location details
- Submit to make it available to the community
๐ Project Structure
Scrapify.AI/
โโโ app/ # Next.js app directory
โ โโโ page.js # Homepage
โ โโโ layout.js # Root layout
โ โโโ globals.css # Global styles
โ โโโ scanner/ # AI waste analyzer
โ โ โโโ page.jsx
โ โโโ donation/ # Scrap donation platform
โ โโโ page.jsx
โโโ components/ # Reusable React components
โ โโโ Card.jsx # Feature cards
โ โโโ CustomButton.jsx # Styled buttons
โ โโโ Navbar.jsx # Navigation component
โโโ public/ # Static assets
โ โโโ scrap*.jpg # Sample scrap images
โ โโโ *.svg # Icons and logos
โโโ package.json # Dependencies and scripts
โโโ tailwind.config.mjs # TailwindCSS configuration
โโโ next.config.mjs # Next.js configuration
โโโ README.md # Project documentation
๐ง Available Scripts
-
npm run dev
- Start development server -
npm run build
- Build for production -
npm start
- Start production server -
npm run lint
- Run ESLint
๐ Environmental Impact
Scrapify.AI contributes to environmental sustainability by:
- Reducing Waste: Helping users identify recyclable materials
- Promoting Reuse: Facilitating donation and exchange of scrap materials
- Education: Providing detailed information about waste management
- Community Building: Connecting people interested in sustainable practices
๐ค Contributing
We welcome contributions! Here's how you can help:
- Fork the repository
-
Create a feature branch (
git checkout -b feature/AmazingFeature
) -
Commit your changes (
git commit -m 'Add some AmazingFeature'
) -
Push to the branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Development Guidelines
- Follow the existing code style and conventions
- Write clear commit messages
- Test your changes thoroughly
- Update documentation as needed
๐ License
This project is licensed under the MIT License - see the LICENSE file for details.
๐ฅ Team
- YOGARATHNAM-S - Project Lead & Developer
๐ฎ Future Enhancements
- [ ] User authentication and profiles
- [ ] Advanced filtering and search for donations
- [ ] Mobile app development
- [ ] Integration with local recycling centers
- [ ] Gamification with sustainability points
- [ ] Multi-language support
- [ ] Real-time chat between donors and recipients
๐ Support
If you encounter any issues or have questions:
- Create an Issue: GitHub Issues
- Documentation: Check the SETUP.md for detailed setup instructions
๐ Acknowledgments
- Google AI for providing the Gemini API
- The open-source community for the amazing tools and libraries
- Environmental organizations inspiring sustainable technology solutions
Made with ๐ for a sustainable future
Top comments (0)