Link: https://neuro-read-ai.vercel.app/
NeuroRead AI is an advanced, gamified, and highly adaptive educational technology ecosystem engineered specifically to support individuals with dyslexia, dysgraphia, auditory processing challenges, and visual sensitivities (such as Irlen Syndrome). By combining modern AI engines, machine learning OCR, and client-side web audio engines, the platform deconstructs text rules seamlessly into multi-sensory visual anchors, phonics exercises, and real-time speech processing labs to control visual fatigue and eliminate learning barriers.
- ๐ก๏ธ COPPA Private Workspace Policy Active: Operating inside a fully sandboxed architecture compliant with the Children's Online Privacy Protection Act. The application bypasses all standard behavioral tracking networks, pixels, and third-party data-fingerprinting scripts.
- โก Upstream Model Demand Intercepts: Routes include built-in
try/catchrecovery layers. If upstream AI models experience a 503 service overload, the backend dynamically redirects to internal data dictionaries to keep student experiences responsive and crash-free.
Transforms complex or unfamiliar terms into high-contrast visual memory frames on the fly.
- Leverages Gemini 2.5 Flash with strict structured output mapping to break text into distinct syllables, child-friendly one-sentence definitions, and mnemonic physical tracking shapes.
- Features hover-reveal extraction hooks (
Trash2) controlled through frontend array manipulation state filtering.
Houses four core gamified visual tracking exercises populated via robust static datasets (gameData.js) paired with engaging, hardware-accelerated .lottie motion characters:
- SyllableQuest (
SyllableBot.lottie): Closed and open vowel segment matching rules. - MirrorLetters: Retrains horizontal flips (b vs d, p vs q) and vertical inversions (m vs w) using animal-themed mnemonics.
- SoundBlender: Isolates consonant clusters (
Str-,Spl-) and terminal digraph blocks (-tch,-ng). - VisualPath: Reinforces layout line-scanning speed and precision.
- OcrReaderLab: Utilizes an integrated backend engine backed by a localized language layout engine (
eng.traineddata) to parse raw text layers out of physical uploaded book sheets or images. - SpacerStudio: Re-renders scanned texts instantly into customizable view containers, adjusting layout tracking, padding multipliers, and baseline character gaps to alleviate text crowding.
- AcousticSpeechLab: Interfaces with the Web Audio API and server-side analysis streams to validate spoken phone/blend pronunciations.
- TutorChatCompanion (
neuro-buddy.lottie): A secure, AI-powered conversational partner offering friendly, real-time literacy advice and immediate positive reinforcement.
A global layout customization bar that instantly manipulates active document views:
- Dyslexic Font Option: Switches typography system-wide to heavily weighted accessible fonts.
- Focus Ruler Guide: Projects a mouse-tracking reading line to keep the eye aligned and prevent line skipping.
-
Dynamic Font Resizing: Scales layout typography smoothly from
$14\text{px}$ up to$26\text{px}$ . -
Irlen Syndrome Tints: Drops a colored overlay matrix over the active window. System Guard: Automatically disables selection flags (
disabled={theme === 'dark'}) during dark mode states to maintain essential baseline text contrast.
- Runtime Env: Node.js with Express asynchronously mapping endpoint routes.
- Database Layer: MongoDB Atlas configured via Mongoose Object Data Modeling (
db.js). - Authentication: Secure state authorization using encrypted JWT payloads and a custom lookup memory layer (
sessionStore.js). - OCR Engines: Tesseract node layers processing local training rules (
eng.traineddata). - Generative Intelligence: Google Gen AI SDK utilizing
gemini-2.5-flashwith strict JSON configurations.
- Core View Engine: React (v18+) compiled with the high-velocity Vite toolchain.
- Styling & Layout: Tailwind CSS v4 using the native file-less Vite compiler plugin (
@tailwindcss/vite) and root engine configurations (@theme { --variant-dark: .dark &; }). - Animations: Framer Motion pipelines paired with
@dotlottie/react-playerasset loaders. - Canvas Engines: Interactive HTML5 Canvas interfaces (
InteractiveBrainCanvas.jsx) mapped using a custom brain feature atlas layout.
- Frontend:
- React 18
- Vite
- Tailwind CSS
- Framer Motion
- Three.js / React Three Fiber
- Lottie animations
- Backend:
- Node.js
- Express
- MongoDB / Mongoose
- JWT authentication
- Tesseract.js OCR
- Google GenAI client (
@google/genai)
- Utilities:
- bcryptjs
- cors
- dotenv
- multer
- http-errors
NeuroRead_AI/
โโโ backend/
โ โโโ .env
โ โโโ config/
โ โ โโโ db.js
โ โโโ controllers/
โ โ โโโ aiController.js
โ โ โโโ authController.js
โ โโโ eng.traineddata
โ โโโ middleware/
โ โ โโโ authMiddleware.js
โ โโโ models/
โ โ โโโ Analytics.js
โ โ โโโ User.js
โ โโโ node_modules/
โ โโโ package-lock.json
โ โโโ package.json
โ โโโ routes/
โ โ โโโ admin.js
โ โ โโโ ai.js
โ โ โโโ auth.js
โ โ โโโ mnemonic.js
โ โ โโโ ocr.js
โ โ โโโ ocrLab.js
โ โ โโโ progress.js
โ โ โโโ speechLab.js
โ โ โโโ tutorChat.js
โ โโโ server.js
โ โโโ utils/
โ โโโ sessionStore.js
โโโ frontend/
โโโ .gitignore
โโโ eslint.config.js
โโโ index.html
โโโ node_modules/
โโโ package-lock.json
โโโ package.json
โโโ public/
โโโ README.md
โโโ src/
โ โโโ App.jsx
โ โโโ index.css
โ โโโ main.jsx
โ โโโ assets/
โ โ โโโbrain-features-map.png
โ โ โโโ Among Us.lottie
โ โ โโโ neuro-buddy.lottie
โ โ โโโ SyllableBot.lottie
โ โโโ components/
โ โ โโโ InteractiveBrainCanvas.jsx
โ โ โโโ ToastContainer.jsx
โ โ โโโ Toolbar.jsx
โ โโโ data/
โ โ โโโ gameData.js
โ โโโ features/
โ โโโ admin/
โ โ โโโ AdminDashboard.jsx
โ โโโ ai-reader/
โ โ โโโ SpacerStudio.jsx
โ โโโ anchor-lab/
โ โ โโโ VisualAnchorLab.jsx
โ โโโ auth/
โ โ โโโ AuthScreen.jsx
โ โโโ dashboard/
โ โ โโโ NavigationSidebar.jsx
โ โ โโโ StudentDashboard.jsx
โ โโโ gaming/
โ โ โโโ GameCard.jsx
โ โ โโโ GameHub.jsx
โ โ โโโ games/
โ โ โโโ MirrorLetters.jsx
โ โ โโโ SoundBlender.jsx
โ โ โโโ SyllableQuest.jsx
โ โ โโโ VisualPath.jsx
โ โโโ ocr-lab/
โ โ โโโ OcrReaderLab.jsx
โ โโโ profile/
โ โ โโโ MyProfile.jsx
โ โโโ speech-lab/
โ โ โโโ AcousticSpeechLab.jsx
โ โโโ tutor-chat/
โ โโโ TutorChatCompanion.jsx
โโโ vite.config.js
- Open a terminal in
backend/ - Install dependencies:
npm install
- Create a
.envfile with:PORT=5000 MONGO_URI=your_mongodb_connection_string JWT_SECRET=your_secure_json_web_token_secret_key GEMINI_API_KEY=your_google_ai_studio_api_key
- Start the server:
node server.js
The backend listens on port
5000by default.
- Open a terminal in
frontend/ - Install dependencies:
npm install
- Start the Vite development server:
npm run dev
The frontend runs on the default Vite port, usually
http://localhost:5173.
- Start the backend first:
cd backend && node server.js - Start the frontend second:
cd frontend && npm run dev - Open the frontend URL shown by Vite.
- The frontend will communicate with the backend using configured API endpoints such as
/api/auth,/api/ocr,/api/tutor-chat, and/api/admin.
The backend seeds a default admin account automatically if one does not already exist:
- Email:
admin@neuroread.com - PIN:
9999 - Role:
admin
- Open the app in the browser.
- Go to the login screen.
- Enter
admin@neuroread.comand PIN9999. - After login, the app shows the
AdminDashboardview if the user has the admin role.
GET /api/admin/live-statusโ fetch current online student sessionsGET /api/admin/students-metricsโ fetch student gamification metricsPOST /api/admin/logout-studentโ disconnect an active student session
@google/genaibcryptjscorsdotenvexpresshttp-errorsjsonwebtokenmongoosemultertesseract.js
@lottiefiles/dotlottie-react@react-three/drei@react-three/fiber@tailwindcss/viteframer-motionlottie-reactlucide-reactmaathreactreact-domtailwindcssthree
The backend requires:
PORTโ 5000MONGO_URIโ MongoDB connection stringJWT_SECRETโ secret key for JWT token signingGEMINI_API_KEYโ your_google_ai_studio_api_key
- The project currently does not provide a frontend build script beyond Vite's default
npm run build. - If you want a local admin console, use
admin@neuroread.comand9999after backend startup. - The backend seeds the admin user automatically in MongoDB if the admin account is missing.