Skip to content

Aryasurya12/ZYNC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

2 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

ZYNC | Adaptive Mastery & Engagement Platform (AMEP)

ZYNC is a futuristic, AI-first Educational Operating System designed to bridge the gap between students, educators, and administrators.
It combines Google Gemini 3.0 / 2.5 models, real-time biometric intelligence, and adaptive mastery paths into a single resilient learning ecosystem.

Built with a โ€œNo-Fail AI Architectureโ€, ZYNC guarantees that critical demos, presentations, and study sessions never crash, even during API outages.

ZYNC Platform Preview

๐Ÿš€ Key Features

ZYNC operates through three powerful OS layers.


๐Ÿ‘จโ€๐ŸŽ“ Student OS โ€” โ€œThe Learning Arcโ€

๐ŸŽฅ Lecture Genius 2.0 (Resilient AI)

  • Vision-to-Notes: Upload lecture videos to auto-generate:
    • Structured summaries
    • Bulleted smart notes
    • Flashcards
  • Semantic Timeline: Interactive timeline mapping key moments for instant navigation.
  • Tabbed Intelligence: Switch between Overview ยท Smart Notes ยท Quizzes ยท Flashcards.
  • No-Fail Architecture:
    • Smart PPE Mock Data activates instantly if AI APIs fail
    • UI remains functional during outages

๐Ÿง  Practice Arena

Multimodal Adaptive Learning

  • If a student answers incorrectly, AI explains using:
    • Flowcharts
    • Analogies & metaphors
    • Concept maps
    • Deep theoretical explanations

Modes

  • Curriculum Mode: Structured subject mastery
  • Discovery Mode: Generate quizzes on any topic instantly
  • Lockdown Mode: Exam simulation with continuous 10-second biometric snapshots

๐Ÿงช Project Lab (with Grounding)

  • Research Assistant:
    • Chat interface powered by Google Search Grounding
    • Enables real-time factual queries with citations
  • Peer Evaluation Bias Check:
    • Detects toxicity, bias, or unfair feedback
  • Growth Synthesis:
    • Anonymizes peer reviews
    • Produces a personalized Growth Roadmap

๐Ÿ’ผ Career Cell

  • AI Resume Review:
    • Upload PDFs
    • ATS scoring + rewrite suggestions
  • Mock Interview:
    • Voice-based roleplay
    • Analyzes confidence, clarity, and content
  • Job & Course Matching:
    • Recommendations based on mastery scores

๐Ÿ’™ Wellness Wing

  • Lumi: Empathetic AI mental-health companion
  • Voice Journal:
    • Audio recording
    • Transcription
    • Sentiment analysis & mood trend tracking

๐Ÿ‘ฉโ€๐Ÿซ Faculty Command Center โ€” โ€œThe Oversight Gridโ€

๐Ÿ“ก Live Classroom

  • Confusion Index:
    • Real-time heatmap from classroom visuals
    • Detects Focused vs Confused students
  • Inclusive Polls:
    • Broadcast live questions to student dashboards

๐Ÿ“ Grading Hub

  • Automated Soft-Skill Grading:
    • Teamwork
    • Creativity
    • Communication
  • Bias Detection:
    • Reviews qualitative peer assessments

๐Ÿ”’ Roster Isolation

  • Teachers only see analytics for students explicitly assigned to them
  • Enforced via Admin Assignment Matrix

๐Ÿ“š Lesson Plan Synthesizer

  • Instantly generates:
    • Project-Based Learning (PBL) templates
    • Daily lesson plans aligned to curriculum

๐Ÿ›ก๏ธ Admin Central โ€” โ€œGod Modeโ€

๐Ÿงพ Identity Vault

  • Provision Student / Teacher / Admin accounts
  • Supabase SQL triggers auto-sync Auth โ†’ Profiles

๐Ÿงฉ Assignment Matrix

  • Explicitly link Students โ†” Teachers
  • Guarantees strict data-privacy boundaries

๐Ÿšจ Safety Surveillance

  • Upload security feed snapshots
  • Vision AI detects:
    • Unauthorized access
    • Overcrowding
    • Safety hazards

๐ŸŽ“ Scholarship Engine

  • AI matches students to financial aid using:
    • GPA
    • Interests
    • Economic background

๐Ÿ› ๏ธ Technical Architecture

โš™๏ธ Tech Stack

  • Frontend: React 18, TypeScript, Vite
  • UI/UX: Tailwind CSS, Framer Motion, Glassmorphism
  • AI SDK: @google/genai
  • Models Used:
    • gemini-3-flash-preview โ€” Reasoning
    • gemini-2.5-flash-preview-tts โ€” Voice
    • gemini-2.5-flash โ€” Grounding & Maps
  • Backend: Supabase (PostgreSQL, Auth, RLS)

๐Ÿง  The โ€œNo-Failโ€ AI Pattern

  • All critical AI calls wrapped in strict try...catch
  • Strict JSON Schema Enforcement
  • Fallback Logic:
    • API quota hit
    • Network failure
    • Parsing error
  • Result:
    High-fidelity mock data swaps in silently โ†’ UI never breaks

๐Ÿ“ฆ Installation & Setup

1๏ธโƒฃ Prerequisites

  • Node.js (v18+)
  • Google AI Studio API Key
  • Supabase Project

2๏ธโƒฃ Clone & Install

git clone https://github.com/your-repo/amep-platform.git
cd amep-platform
npm install

3๏ธโƒฃ Environment Variables

Create .env:

API_KEY=your_google_gemini_api_key

Note: Supabase URL/Key are hardcoded in supabaseClient.ts for demo simplicity. Move them to environment variables for production.

4๏ธโƒฃ Database Schema (Supabase SQL)

-- 1. Profiles & Auth Trigger
create table public.profiles (
  id uuid references auth.users primary key,
  full_name text,
  role text default 'Student',
  email text,
  created_at timestamp with time zone default now()
);

create or replace function public.handle_new_user()
returns trigger as $$
begin
  insert into public.profiles (id, full_name, role, email)
  values (
    new.id,
    new.raw_user_meta_data->>'full_name',
    new.raw_user_meta_data->>'role',
    new.email
  );
  return new;
end;
$$ language plpgsql security definer;

create trigger on_auth_user_created
after insert on auth.users
for each row execute procedure public.handle_new_user();

-- 2. Core Tables
create table public.amep_user_stats (user_id uuid primary key, xp int, level int, updated_at timestamp);
create table public.amep_mastery (id bigserial primary key, user_id uuid, subject_id text, score int, last_updated timestamp);
create table public.amep_proctoring_logs (id bigserial primary key, user_id uuid, mode text, report_data jsonb, created_at timestamp);
create table public.amep_assignments (teacher_id uuid, student_id uuid, unique(teacher_id, student_id));
create table public.amep_wellness_entries (id uuid default gen_random_uuid() primary key, user_id uuid, transcription text, sentiment text, score int, advice text, created_at timestamp);
create table public.amep_event_plans (id bigserial primary key, user_id uuid, prompt text, checklist jsonb, email_draft text, budget_estimate text, created_at timestamp);
create table public.amep_polls (id text primary key, question text, options jsonb, is_active boolean, created_at timestamp);

-- Demo Mode Only
ALTER TABLE public.profiles DISABLE ROW LEVEL SECURITY;

5๏ธโƒฃ Run Locally

npm run dev

Open: http://localhost:5173

๐ŸŽฎ How to Demo

๐Ÿ” Login

  • Click Initialize Identity to create a new user
  • Or use Instant Neural Proxy for instant access:
    • Scholar
    • Faculty
    • Root

๐Ÿ‘จโ€๐ŸŽ“ Student Flow

  • Lecture Genius โ†’ Upload a lecture video โ†’ Watch Cinema Mode auto-populate notes, chapters, and summaries
  • Practice Arena โ†’ Select Exam Mode โ†’ Camera tracking and biometric monitoring activate
  • Project Lab โ†’ Ask real-time, grounded research questions powered by AI

๐Ÿ‘ฉโ€๐Ÿซ Teacher Flow

  • Live Classroom โ†’ Upload a classroom image โ†’ Generate the Confusion Index heatmap
  • Dashboard โ†’ Monitor engagement and identify at-risk students

๐Ÿ›ก๏ธ Admin Flow

  • Identity Vault โ†’ Create new Student / Teacher / Admin users
  • Assignments โ†’ Link students to specific teachers to enforce data isolation

๐Ÿ“„ License

MIT License

Built with โค๏ธ using Google Gemini 3.0 & React

About

๐ŸŒŒ ZYNC is a next-generation educational operating system designed to revolutionize how students learn and teachers teach. Powered by advanced AI (Google GenAI SDK) and Supabase, ZYNC replaces static curriculum with dynamic "Neural Sync" questions, live classroom confusion heatmaps, and personalized, gamified skill trees.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors