Here’s the cleaned, copy-paste-ready README.md with the Database, Project Structure, and Development Tips sections removed.
An AI-powered web application for smarter academic research and literature review
i-Smart ScholAR is an intelligent academic assistant that helps researchers and students discover, analyze, and summarize research papers using AI. It integrates Gemini, Chrome Built-in AI APIs, and LangChain to automate research workflows — from keyword generation to literature review synthesis — all within an interactive web app.
- ✅ AI-based keyword generation from prompts or PDFs
- ✅ Smart paper discovery & ranking by relevance
- ✅ Instant summaries and translations using Chrome Built-in AI
- ✅ Automated literature review with Gemini
- ✅ Report export in Markdown or PDF
- ✅ Runs directly in Chrome with built-in AI support
| Layer | Tools / Frameworks |
|---|---|
| 💻 Frontend | React.js, Vite, TailwindCSS |
| ⚙️ Backend | FastAPI, LangChain |
| 🧩 AI Models / APIs | Gemini API, Chrome Built-in AI APIs |
| 🗄️ Database | MySQL |
| 🌐 External API | OpenAlex (for research papers) |
Flow:
-
React frontend interacts with FastAPI backend via REST.
-
Backend integrates:
- 🧠 Gemini API → Summarization, literature synthesis
- ⚙️ Chrome Built-in AI APIs → Keyword generation, translation
- 🔗 LangChain → Chaining and context handling
- 🗄️ MySQL → Project data and metadata storage
Manage your research projects — create, edit, and switch between topics easily.
Generate keywords from prompts or PDFs using Chrome Built-in AI + Gemini for better search precision.
Fetch and rank research papers by AI relevance. Quickly view abstracts, summaries, and key findings.
Upload PDFs and let AI extract key points like contribution, methods, and results using Gemini.
Auto-generate a structured literature review divided into sections like:
- Introduction
- Related Work
- Key Themes
- Research Gaps
- Future Work
All synthesized intelligently via Gemini.
Translate abstracts, summaries, or reviews using Chrome Built-in Translation API — offline and instant.
- 🐍 Python 3.9+
- 🧱 Node.js 18+
- 🐬 MySQL installed and running
To use Chrome’s on-device AI features:
-
Open Chrome Canary (or the latest Chrome).
-
Visit:
chrome://flags -
Enable these flags:
#prompt-api-for-gemini-nano #optimization-guide-on-device-model -
Restart Chrome 🔁
These enable local/on-device prompt APIs and models for instant keywording and translation.
Create a .env in both backend and frontend as needed.
Backend .env (example):
# Gemini / Google AI Studio
GEMINI_API_KEY=your_gemini_api_key
Frontend .env (example):
VITE_BACKEND_URL=http://localhost:8000cd backend
pip install -r requirements.txt
uvicorn main:app --reload- FastAPI will start at: http://localhost:8000
- Docs: http://localhost:8000/docs
cd frontend
npm install
npm run dev- Vite dev server runs at (default): http://localhost:5173
Quick start summary:
- Start the backend:
uvicorn main:app --reload- Start the frontend:
npm run dev
- Gemini for summarization & synthesis
- Chrome Built-in AI for local keywording & translation
