MediShare is an AI & OCR-powered platform that reduces medical waste and improves healthcare access by enabling the smart redistribution of unused, sealed medicines.
MediShare creates a three-level donation ecosystem:
| Donors (Hospitals & Pharmacies) | NGOs | Recipients (Clinics & Communities) |
|---|---|---|
| Upload surplus medicines. | Verify, collect, and manage donations. | Receive medicines based on real-time needs. |
By combining AI, OCR, and smart logistics, MediShare ensures verified, effic#ient, and timely medicine delivery—turning waste into life-saving support.
| Feature | Description |
|---|---|
| 📄 OCR-Based Medicine Verification | Extracts medicine names, expiry dates, and active ingredients from images using OCR Space & Google AI Studio API. |
| 🧠 AI-Based Medicine Matching | Ensures therapeutically equivalent medicine matches based on composition and active ingredients. |
| 📍 Location-Based Filtering with Maps | Uses Leaflet.js to filter medicines based on proximity and logistics optimization. |
| 💬 Multilingual Chatbot Support | Provides voice & text-based assistance in multiple Indian languages. |
✅ Medical Waste – Reduces ₹15,000–₹18,000 crore worth of medicines wasted annually.
✅ Lack of Access – Provides low-income communities with affordable medicine options.
✅ Environmental Pollution – Lowers pharmaceutical waste polluting soil & water.
✅ Inefficient Donation Systems – Replaces manual, unverified donations with AI, OCR & smart logistics.
- React.js
- TypeScript
- Vite
- Tailwind CSS
- Leaflet.js (Map integration)
- Recharts (Analytics & visualizations)
- Python 3.9+
- PostgreSQL (via Supabase)
- OCR.space API
- Google AI Studio Gemini (1.5 Pro)
- FastAPI
- Flask API
- Vercel
📺 Deployed Website: https://medishare-codeforge-hackathon.vercel.app/
-
Clone the repository
git clone https://github.com/venkatavamsidama/MediShare.git cd MediShare/mini-project -
Install Dependecies Frontend : npm install/i Backend : pip install -r requirements.txt
-
Set Up Environment Variables Create a .env file in the root directory and add the following: SUPABASE_URL=your_supabase_url SUPABASE_KEY=your_supabase_key OCR_API_KEY=your_ocr_space_api_key GOOGLE_VISION_KEY=your_google_vision_api_key
-
Replace the API keys in the code:
- In
ocrProcessor.js: Replace the given OCR.space API key with your OCR.space API key - In
gemini_extractor.js: Replace the given Gemini API key with your Google Studio Gemini API key
- In
-
Run the Application Frontend: npm run dev (Starts the React/Next.js frontend) Backend: python backend/app.py (starts the backend server)
✔ Click "Add Donations" to donate medicines.
✔ The platform extracts medicine details automatically (name, expiry date, ingredients) using OCR & Gemini AI .
✔ All donations are subject to Admin approval before being available for NGOs to claim.
✔ Browse "Available Medicines" to find donations.
✔ View and approve recipient requests under "Requested Medicines".
✔ Use the Maps feature to find nearby Donors and optimize donation logistics.
✔ Access Impact Analytics for donation insights.
✔ Log in and navigate to the Recipient Dashboard.
✔ Submit medicine requests which will be furthur approved by the admin.
✔ Verify new users (only verified users can log in).
✔ Approve/reject:
- Donations submitted by donors.
- Requests made by recipients to prevent misuse.
This project is licensed under the MIT License.
1.Fork the repository and create a new branch for your contributions.
2.Submit a pull request with a clear description of your changes.
3.Follow coding best practices and maintain proper documentation.