In this paper, we present InSight, an AI-based mobile app for early diagnosis of five major ophthalmic diseases (age-related macular degeneration, glaucoma, diabetic retinopathy, diabetic macular edema, and pathological myopia) with limited accessibility in low- and middle-income countries and resource-poor settings. InSight diagnoses diseases by combining patient metadata with fundus images, and consists of a three-stage pipeline: real-time image quality assessment, a disease diagnosis model, and a diabetic retinopathy severity assessment model. The disease diagnosis model integrates three key innovations: a multi-modal fusion technique (MetaFusion) that combines metadata and images, a pre-training method utilizing supervised and self-supervised learning loss functions, and a multi-task model that simultaneously predicts the five diseases. The model is trained and evaluated using BRSET (lab-captured images) and mBRSET (smartphone-captured images) datasets, and shows high diagnostic accuracy under various image conditions captured in both smartphones and lab settings.