Your intelligent health companion powered by Google Gemini AI. Scan prescriptions, identify medicines, and get instant answers about medications.
- 📋 Prescription Scanner: Upload or capture handwritten prescriptions to get them transcribed and summarized
- 💊 Medicine Identifier: Take a photo of any medicine and ask questions about it
- 💬 AI Medical Assistant: Chat with an AI to get information about medicines, dosages, and side effects
- Framework: Next.js 15.3 (App Router)
- AI: Google Gemini (via GenKit)
- UI: Radix UI + Tailwind CSS
- Language: TypeScript
- Icons: Lucide React
- Node.js 18+
- npm or yarn
- Google Gemini API Key
-
Clone the repository
git clone <your-repo-url> cd "MediScan AI"
-
Install dependencies
npm install
-
Set up environment variables
Create a
.envfile in the root directory and add your Google Gemini API key:GOOGLE_GENAI_API_KEY=your_api_key_here
How to get your API key:
- Visit Google AI Studio
- Sign in with your Google account
- Create a new API key or use an existing one
- Copy the API key and paste it in your
.envfile
-
Run the development server
npm run dev
Open http://localhost:9002 in your browser.
npm run dev- Start development server with Turbopack on port 9002npm run build- Build for productionnpm start- Start production servernpm run lint- Run ESLintnpm run typecheck- Check TypeScript typesnpm run genkit:dev- Start GenKit development servernpm run genkit:watch- Start GenKit in watch mode
This application processes sensitive medical information. Please ensure:
- Your API key is kept secure and never committed to version control
- The
.envfile is listed in.gitignore - Users are informed about data being sent to Google's Gemini API
- API Key Required: The application will show an error dialog if the API key is missing or invalid
- Medical Disclaimer: This application is for educational and informational purposes only and should not be used as a substitute for professional medical advice
- Data Privacy: Images and queries are sent to Google's Gemini API for processing
Hammad Khurshid
AI/ML Engineer | MSSE @ NUST
- 📧 Email: engr.hammadkhurshid@gmail.com
- 💼 GitHub: @engrhammadkhurshid
- 🔗 LinkedIn: Hammad Khurshid
Released under the Apache-2.0 License.
Note: This application uses the Google Gemini API for AI-powered medical information processing. It is designed for educational and informational purposes and is not intended for production medical use without proper validation and compliance with healthcare regulations.
