Skip to content

imuniqueshiv/HyperLearningTech

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Hyper Learning Tech

Hyper Learning Tech

AI-powered academic learning platform for engineering students

License Next.js TypeScript Tailwind CSS Deployed on Vercel Powered by Gemini

Live Platform β†’ Β· Report a Bug Β· Request a Feature


What Is Hyper Learning Tech?

Hyper Learning Tech bridges the gap between static academic resources and intelligent learning experiences. Instead of handing students a pile of PDFs and past papers, it connects syllabus β†’ notes β†’ previous year questions β†’ AI tutoring into a single cohesive workflow.

Built specifically for RGPV engineering students, it covers:

  • Semester-wise previous year question papers (PYQs) with branch and subject filtering
  • AI-generated topic-level notes on demand, cached for instant reuse
  • Structured answers for 2-mark, 5-mark, and 10-mark examination questions
  • An AI tutor that retains session context for follow-up questions
  • Student productivity tools: bookmarks, progress tracking, and a personalized dashboard
  • A role-gated admin system for editors and platform owners

Features

πŸ“š Academic Content Management
  • Subject-wise syllabus organization
  • Unit-wise topic breakdown
  • Topic-specific AI-generated notes (Gemini, cached in PostgreSQL)
  • Version-controlled content updates
  • Related PYQ mapping per topic
πŸ“ Previous Year Questions (PYQs)
  • Semester-wise and branch-wise paper collection
  • Subject-wise filtering and question-to-unit mapping
  • Fast retrieval backed by Redis caching
πŸ€– AI-Powered Learning

AI Answer Generation β€” structured answers for 2, 5, 10-mark, and long-answer exam questions, with Redis caching so repeat requests are instant.

AI Learning Notes β€” on-demand notes for individual topics, units, or entire subjects, persisted to PostgreSQL after first generation.

AI Tutor β€” a conversational interface with Redis-backed session context so students can ask follow-up questions, request examples, and simplify difficult concepts without losing thread.

πŸ”– Student Productivity
  • Bookmarks and saved content
  • Learning progress tracking
  • Recently viewed topics
  • Personalized dashboard
οΏ½οΏ½β€πŸ’Ό Administration System
Role Capabilities
Student Learn, bookmark, track progress, use AI tutor
Editor Upload papers, edit content, generate notes, manage resources
Owner Manage editors, approve applications, review audit logs, configure platform
  • Invitation-only editor accounts
  • Owner approval workflow
  • Full audit logging with login notifications
πŸ” Search

Full-text search across subjects, units, topics, notes, and PYQs in a single query.


Tech Stack

Layer Technology
Framework Next.js 16 (App Router)
Language TypeScript 5.9
Styling Tailwind CSS v4, ShadCN/UI, Framer Motion
Auth Clerk (RBAC, MFA, protected routes)
Database PostgreSQL via Neon, Prisma ORM 7
Cache Redis via Upstash
AI Google Gemini (@google/genai)
Email Resend
Storage Cloudinary
Monitoring Sentry
Analytics PostHog
Deployment Vercel
Math Rendering KaTeX + react-katex
PDF Export html2pdf.js

Architecture

Browser (Student / Editor / Owner)
            β”‚
            β–Ό
    Next.js 16 (App Router)
    Server Components + API Routes
            β”‚
     β”Œβ”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
     β”‚      β”‚          β”‚
     β–Ό      β–Ό          β–Ό
PostgreSQL  Redis    Google
  (Neon)  (Upstash)  Gemini
     β”‚      β”‚
     β–Ό      β–Ό
  Topics  AI Answers
  Notes   Chat Sessions
  PYQs    Rate Limits
  Users   Context Cache

AI Workflow: PYQ Answer Generation

Student submits question
        β”‚
        β–Ό
   Redis Lookup
        β”‚
   β”Œβ”€β”€β”€β”€β”΄β”€β”€β”€β”€β”
Cache Hit  Cache Miss
   β”‚           β”‚
   β–Ό           β–Ό
Return       Gemini API
Answer           β”‚
             Save to Redis
                 β”‚
             Return Answer

AI Workflow: Topic Note Generation

Student opens topic
        β”‚
        β–Ό
  PostgreSQL Lookup
        β”‚
   β”Œβ”€β”€β”€β”€β”΄β”€β”€β”€β”€β”
  Exists   Missing
   β”‚           β”‚
   β–Ό           β–Ό
Return       Gemini API
  Note           β”‚
             Save to PostgreSQL
                 β”‚
             Return Note

Project Structure

HyperLearningTech/
β”œβ”€β”€ app/                  # Next.js App Router pages and API routes
β”œβ”€β”€ components/           # Shared UI components
β”œβ”€β”€ features/
β”‚   └── landing/          # Landing page feature module
β”œβ”€β”€ content/
β”‚   └── rgpv/             # RGPV syllabus and paper content
β”œβ”€β”€ data/                 # Static data and seed files
β”œβ”€β”€ hooks/                # Custom React hooks
β”œβ”€β”€ lib/                  # Prisma client, Redis client, Gemini client, utilities
β”œβ”€β”€ prisma/               # Schema and migrations
β”œβ”€β”€ public/               # Static assets
β”œβ”€β”€ types/                # Global TypeScript types
β”œβ”€β”€ constants/            # App-wide constants
β”œβ”€β”€ .github/              # Issue templates and CI workflows
β”œβ”€β”€ proxy.ts              # Edge middleware / route protection
β”œβ”€β”€ next.config.ts
└── package.json

Getting Started

Prerequisites

  • Node.js 20+
  • PostgreSQL database (Neon recommended)
  • Upstash Redis instance
  • Clerk account
  • Google AI API key (Gemini)

Installation

# 1. Clone the repository
git clone https://github.com/imuniqueshiv/HyperLearningTech.git
cd HyperLearningTech

# 2. Install dependencies
npm install

# 3. Set up environment variables
cp .env.example .env
# Fill in all values in .env (see section below)

# 4. Set up the database
npx prisma migrate dev

# 5. Start the development server
npm run dev

Open http://localhost:3000.


Environment Variables

Copy .env.example to .env and fill in the following:

# ── Database ──────────────────────────────────────────
DATABASE_URL=

# ── Upstash Redis ─────────────────────────────────────
UPSTASH_REDIS_REST_URL=
UPSTASH_REDIS_REST_TOKEN=

# ── Google Gemini ─────────────────────────────────────
GEMINI_KEY_1=
GEMINI_WORKSPACE_KEY_1=

# ── Clerk Authentication ──────────────────────────────
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=
CLERK_SECRET_KEY=

# ── Email (Resend) ────────────────────────────────────
RESEND_API_KEY=

# ── Analytics (PostHog) ───────────────────────────────
NEXT_PUBLIC_POSTHOG_KEY=
NEXT_PUBLIC_POSTHOG_HOST=

# ── Error Monitoring (Sentry) ─────────────────────────
NEXT_PUBLIC_SENTRY_DSN=
SENTRY_AUTH_TOKEN=

Note: The platform currently supports up to 4 Gemini API keys for load distribution. Add them as GEMINI_KEY_2, GEMINI_KEY_3, etc.


Available Scripts

npm run dev          # Start development server
npm run build        # Production build
npm run start        # Start production server
npm run typecheck    # TypeScript type checking
npm run lint         # ESLint
npm run format       # Prettier (write)
npm run format:check # Prettier (check only)

Roadmap

Phase Focus Status
Phase 1 Next.js migration, PostgreSQL, Prisma, Clerk auth βœ… Complete
Phase 2 Topic-based learning, AI note generation, versioning, search πŸ”„ In Progress
Phase 3 AI Tutor, progress tracking, bookmarks, personalized dashboard πŸ”œ Planned
Phase 4 Admin dashboard, paper upload pipeline, OCR, content moderation πŸ”œ Planned
Phase 5 Advanced analytics, recommendation engine, multi-university support, mobile app πŸ”œ Planned

See CHANGELOG.md for detailed release notes.


Contributing

Contributions are welcome. Please read CONTRIBUTING.md before opening a pull request.

# Quick contribution workflow
git fork https://github.com/imuniqueshiv/HyperLearningTech
git checkout -b feat/your-feature-name
git commit -m "feat: describe your change"
git push origin feat/your-feature-name
# Open a Pull Request on GitHub

Areas where contributions are especially valuable: UI/UX improvements, accessibility, performance optimization, documentation, and test coverage.

Please also review our Code of Conduct and Security Policy.


License

This project is licensed under the Apache License 2.0. See the LICENSE file for full details.


Maintainers

Shiv Raj Singh
Founder & Lead Full Stack Developer
LinkedIn Β· GitHub
Nitin Pandey
UI/UX Designer
LinkedIn Β· GitHub
Ramoo Kachhee
Frontend Developer
LinkedIn Β· GitHub

www.hyperlearningtech.in

If this project helps you, please ⭐ star the repository β€” it helps others find it.

About

Hyper Learning helps students master their syllabus through AI-powered notes, mapped previous year questions, instant solutions, and interactive topic-wise learning experiences.

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages