GodSign ISL is an end-to-end accessibility platform designed to bridge communication gaps for the Deaf and Hard-of-Hearing community across government public service offices (Police, Health, Transport, Revenue) and citizen touchpoints.
It combines real-time Socket.IO kiosk-to-officer pairing, MediaPipe AI hand landmark recognition, gamified ISL learning modules, and a Supabase-backed analytics & reporting audit suite.
- Dual-Screen Communication: Enables public service officers to communicate with deaf citizens at physical kiosks/tablets in real-time.
- Bilingual Phrase Delivery: Instant transmission of essential phrases (English & Hindi) paired with ISL video demonstrations directly to citizen kiosk screens.
- WebSocket Synchronization: Powered by Socket.IO (
kiosk_join,send_to_tablet,receive_phrase,operator_kiosk_alert).
- MediaPipe Hands Integration: Camera-based real-time 21-point hand landmark extraction directly in the browser.
- Gesture Verification & Practice: Practice hand signs for letters (A-E) and government service vocabulary (FIR filing, Hospital emergency, Driving License renewal) with immediate visual feedback.
- Interactive Lessons: Step-by-step video instruction, visual sign guides, and interactive camera practice.
- Gamification Engine: Earn XP points, maintain daily streaks, unlock badges, and receive celebratory confetti upon lesson completion.
- Downloadable Certificates: Dynamic PDF certificate generation (
jsPDF&html2canvas) upon course completion.
- Officer & Kiosk Metrics: Real-time stats on monthly citizen interactions, average department ratings, and popular phrase queries.
- Staff Training Roster: Track officer training progress (Certified, In Progress, Not Started) across police stations, hospitals, RTOs, and revenue centers.
- Certification Tiering: Track government accessibility compliance (Bronze, Silver, Gold thresholds).
βββ backend/
β βββ src/
β β βββ config/ # Supabase client & environment validation
β β βββ controllers/ # Authentication & API business logic
β β βββ middleware/ # Auth guard, rate limiting, request logging, Zod validation
β β βββ routes/ # Express API routes (/api/auth, /api/services, etc.)
β β βββ scripts/ # Database seed scripts
β β βββ app.js # Express app configuration & REST routes
β β βββ server.js # HTTP & Socket.IO WebSockets server
β βββ .env.example # Backend environment template
β βββ package.json # Backend dependencies & scripts
β
βββ src/
β βββ assets/ # Media & graphic assets
β βββ components/ # Reusable React components & Protected Routes
β βββ context/ # AuthContext & global state management
β βββ hooks/ # Custom React hooks (camera, gestures, socket)
β βββ pages/ # Application views (Dashboard, Kiosk, Learning, Reports)
β β βββ DashboardPage.jsx # Officer interaction dashboard
β β βββ KioskIdlePage.jsx # Kiosk attract screen
β β βββ KioskInteractivePage.jsx# Kiosk real-time citizen screen
β β βββ KioskSelectionPage.jsx # Department & service selection
β β βββ KioskFeedbackPage.jsx # Citizen satisfaction rating
β β βββ LandingPage.jsx # Home portal
β β βββ LearningPage.jsx # ISL curriculum
β β βββ Practice.jsx # MediaPipe camera sign practice
β β βββ LearningCompletePage.jsx# Course completion & PDF certificate generator
β β βββ ReportsPage.jsx # Executive analytics & staff rosters
β βββ utils/ # MediaPipe draw utilities & sign reference matchers
β βββ App.jsx # React Router structure
β βββ main.jsx # App entrypoint
β
βββ supabase/
β βββ migrations/ # SQL schema & Row Level Security (RLS) policies
βββ index.html # HTML shell
βββ tailwind.config.js # Custom theme styling & colors
βββ vite.config.js # Vite build config
- Frontend: React 19, Vite, Tailwind CSS, MediaPipe Hands (
@mediapipe/hands), Lucide Icons, Socket.IO Client, Canvas-Confetti, jsPDF, html2canvas - Backend: Node.js, Express, Socket.IO, Zod Validation, Express Rate Limit, Helmet Security
- Database & Storage: Supabase PostgreSQL, Supabase Auth, Supabase Storage (for ISL video hosting)
- Node.js: v18.x or higher
- npm: v9.x or higher
- Supabase Account: (Optional for local mockup fallback, required for live DB persistence)
git clone https://github.com/Harsh20056/GodSign_ISL.git
cd GodSign_ISLCopy .env.example to .env:
VITE_SUPABASE_URL=https://your-supabase-project.supabase.co
VITE_SUPABASE_PUBLISHABLE_KEY=your_supabase_publishable_key
VITE_SOCKET_URL=http://localhost:5000Copy backend/.env.example to backend/.env:
PORT=5000
CLIENT_URL=http://localhost:5173
SUPABASE_URL=https://your-supabase-project.supabase.co
SUPABASE_PUBLISHABLE_KEY=your_supabase_publishable_key
SUPABASE_SECRET_KEY=your_supabase_service_role_key
NODE_ENV=developmentStart both the backend server and frontend development server in separate terminals:
cd backend
npm install
npm run devThe backend server will run on http://localhost:5000.
# In project root directory
npm install
npm run devThe web interface will run on http://localhost:5173.
All demo accounts share the standard password: password123
| Role / Department | Default Password | Access Level & Landing View | |
|---|---|---|---|
| π Police Operator | police@godsign.gov.in |
password123 |
Police Kiosk Officer Dashboard (/dashboard) |
| π₯ Health Operator | health@godsign.gov.in |
password123 |
Hospital Kiosk Officer Dashboard (/dashboard) |
| π Revenue Operator | revenue@godsign.gov.in |
password123 |
Revenue Kiosk Officer Dashboard (/dashboard) |
| π Transport Operator | transport@godsign.gov.in |
password123 |
RTO Kiosk Officer Dashboard (/dashboard) |
| βοΈ System Admin | admin@godsign.gov.in |
password123 |
Full Admin Access, Reports & Analytics (/reports) |
| π€ Citizen User | citizen@godsign.gov.in |
password123 |
ISL Learning & Interactive Practice (/learning) |
π‘ Quick Fill: You can also click the Demo Credentials floating widget on the
/loginscreen to auto-fill any of these credentials with one click.
| Event | Direction | Description |
|---|---|---|
kiosk_join |
Kiosk β Server | Registers tablet with a specific tabletId room (e.g. GS-T-402) |
send_to_tablet |
Dashboard β Server | Officer sends bilingual phrase & video metadata to target tabletId |
receive_phrase |
Server β Kiosk | Delivers phrase payload to citizen tablet display |
kiosk_session_start |
Kiosk β Server | Alerts officer dashboard when citizen starts interactive kiosk session |
new_feedback_received |
Server β Dashboard | Broadcasts citizen feedback rating to officer monitoring view |
GET /api/servicesβ Fetch government service categories & ISL sign vocabulariesGET /api/lessonsβ List ISL training curriculum modulesGET /api/progressβ Fetch user XP points, streak counters, and completed lesson IDsPOST /api/progress/complete-lessonβ Record completed lesson & award XPPOST /api/feedbackβ Submit citizen feedback rating and commentsGET /api/reports/summaryβ Retrieve aggregated interaction metrics, monthly charts, and staff rosters
- Row Level Security (RLS): Enforced via Supabase for user profiles, progress, and feedback tables.
- Input Validation: Schema verification powered by
zodfor all HTTP request bodies. - Rate Limiting: Express rate limit protections against brute force authentication and API spamming.
- Helmet Security: HTTP security headers enabled on all backend responses.
Contributions, issues, and feature requests are welcome! Feel free to check the issues page or submit pull requests.
This project is created for Yuva 6.0 Hackathon. Distributed under the MIT License.