The AI Prescription Expert – Decoding Handwritten Prescriptions with Precision.
Roshetta.AI is a state-of-the-art AI-powered platform designed to bridge the gap between complex medical handwriting and patient understanding. Leveraging Google's Gemini 3 Flash Vision model, it instantly translates handwritten prescriptions into clear, structured, and actionable medical summaries.
- 🔍 AI-Powered OCR: Advanced vision recognition specialized for handwritten medical prescriptions.
- 💊 Medication Intelligence: Automatically extracts drug names, dosages, frequencies, and administration routes.
⚠️ Drug Interaction Detection: Intelligent analysis to identify potential interactions and safety warnings.- 📄 Professional PDF Reports: Generate and download detailed medical summaries for your records.
- 📤 Smart Results Sharing: Easily share analysis results via WhatsApp or other platforms.
- 🌍 Fully Bilingual: Native support for English and Arabic with seamless RTL/LTR layout transitions.
- 💾 Scan History: Securely save, retrieve, and manage your previous prescription scans.
- 🌓 Premium Adaptive UI: Fluid dark and light mode experience with smooth micro-animations.
| Category | Technology |
|---|---|
| Framework | Next.js 16 (App Router) |
| Language | TypeScript |
| Styling | Tailwind CSS v4 & Motion |
| AI Vision | Google Gemini 3 Flash |
| Backend/DB | Supabase |
| PDF Engine | React-PDF |
| i18n | next-intl |
| Analytics | Vercel Analytics |
- Node.js: v18.17.0 or higher
- Package Manager: npm or yarn
- Gemini API Key: Obtain from Google AI Studio
- Supabase Account: (Optional) For history and feedback persistence
-
Clone & Install
git clone https://github.com/your-username/roshetta.ai.git cd roshetta.ai npm install -
Environment Configuration Create a
.env.localfile in the root directory:# Gemini AI Configuration NEXT_PUBLIC_GEMINI_API_KEY="your_gemini_key" GEMINI_API_KEY="your_gemini_key" # Supabase Configuration (Optional) NEXT_PUBLIC_SUPABASE_URL="your_supabase_url" NEXT_PUBLIC_SUPABASE_ANON_KEY="your_anon_key" # App Configuration NEXT_PUBLIC_APP_URL="http://localhost:3000"
-
Run Development Server
npm run dev
Open http://localhost:3000 to see the app in action.
├── app/ # Next.js App Router (Locale-aware routing)
├── components/ # UI Components (Home, Results, Shared, etc.)
├── context/ # React Context Providers (History, etc.)
├── hooks/ # Custom React Hooks (Scanner logic)
├── i18n/ # Internationalization configuration
├── lib/ # Core utilities (Gemini, Supabase, Analytics)
├── messages/ # Translation dictionaries (EN/AR)
├── public/ # Static assets, icons, and PWA manifest
└── styles/ # Global CSS and Tailwind configuration
Distributed under the MIT License. See LICENSE for more information.
Built with ❤️ for better healthcare accessibility