Skip to content

About

GodSign ISL is an accessibility platform bridging communication gaps for the Deaf community at government offices. Features include real-time Socket.IO kiosk pairing, MediaPipe AI gesture recognition, gamified ISL learning, and Supabase-backed analytics for seamless public service access.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

🀟 GodSign ISL β€” Indian Sign Language Accessibility Platform

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.


🌟 Key Features

πŸ›οΈ 1. Real-Time Kiosk & Officer Dashboard Pairing

  • 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).

πŸ€– 2. AI-Powered ISL Gesture Recognition

  • 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.

πŸ“š 3. Gamified ISL Learning & Certification

  • 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.

πŸ“Š 4. Department Analytics & Compliance Audits

  • 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).

πŸ“ Repository Structure

β”œβ”€β”€ 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

πŸ’» Tech Stack

  • 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)

πŸ› οΈ Prerequisites

  • Node.js: v18.x or higher
  • npm: v9.x or higher
  • Supabase Account: (Optional for local mockup fallback, required for live DB persistence)

πŸš€ Environment Setup & Installation

1. Clone the Repository

git clone https://github.com/Harsh20056/GodSign_ISL.git
cd GodSign_ISL

2. Configure Environment Variables

Frontend Configuration (.env in root)

Copy .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:5000

Backend Configuration (backend/.env)

Copy 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=development

⚑ Running the Application

Start both the backend server and frontend development server in separate terminals:

Terminal 1: Backend Server (Express + Socket.IO)

cd backend
npm install
npm run dev

The backend server will run on http://localhost:5000.

Terminal 2: Frontend Client (Vite + React)

# In project root directory
npm install
npm run dev

The web interface will run on http://localhost:5173.


πŸ”‘ Demo Access Credentials

All demo accounts share the standard password: password123

Role / Department Email 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 /login screen to auto-fill any of these credentials with one click.


πŸ”Œ Socket.IO Real-time Pairing Protocol

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

πŸ“‘ REST API Summary

  • GET /api/services β€” Fetch government service categories & ISL sign vocabularies
  • GET /api/lessons β€” List ISL training curriculum modules
  • GET /api/progress β€” Fetch user XP points, streak counters, and completed lesson IDs
  • POST /api/progress/complete-lesson β€” Record completed lesson & award XP
  • POST /api/feedback β€” Submit citizen feedback rating and comments
  • GET /api/reports/summary β€” Retrieve aggregated interaction metrics, monthly charts, and staff rosters

πŸ›‘οΈ Security & Quality Standards

  • Row Level Security (RLS): Enforced via Supabase for user profiles, progress, and feedback tables.
  • Input Validation: Schema verification powered by zod for 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.

🀝 Contributing

Contributions, issues, and feature requests are welcome! Feel free to check the issues page or submit pull requests.


πŸ“„ License

This project is created for Yuva 6.0 Hackathon. Distributed under the MIT License.

About

GodSign ISL is an accessibility platform bridging communication gaps for the Deaf community at government offices. Features include real-time Socket.IO kiosk pairing, MediaPipe AI gesture recognition, gamified ISL learning, and Supabase-backed analytics for seamless public service access.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages