Skip to content

DeepikaSidda/OpenPath

Repository files navigation

🎓 OpenPath — Build Free Courses From the Internet

Stop paying for online courses. OpenPath lets anyone search a topic, pick free resources from across the internet, and instantly build a structured course — complete with AI-generated quizzes, progress tracking, and a personal AI assistant that answers your questions based on the course content.

🔗 Live Demo: https://d14rlkaurblk08.cloudfront.net


🔍 The Problem

Quality education is paywalled. Platforms like Udemy, Coursera, and edX charge $50–$500 per course. Meanwhile, 95% of that same knowledge already exists for free — scattered across YouTube, GitHub, official documentation, blogs, and open educational resources. But no student has the time to find, organize, and structure all of it into a proper learning path.

The result? 250 million children are out of school globally, and millions of college students can't afford the courses they need. Free resources exist, but they're fragmented, unstructured, and lack the features that make paid courses effective — quizzes, progress tracking, and personalized support.

The gap isn't content. It's curation.


💡 The Solution

OpenPath bridges this gap with a simple but powerful idea: let the learner build their own course from free resources, and let AI handle everything else.

How It Works

  1. Search — Type any topic (e.g., "DevOps", "Machine Learning", "AWS")
  2. Discover — OpenPath searches YouTube (real videos via YouTube Data API) and the web (via Tavily) to find free educational resources
  3. Pick — Browse the results with YouTube thumbnails, source tags, and descriptions. Select the resources YOU want in your course
  4. Build — AI (Amazon Bedrock Nova Pro) structures your selections into a sequenced course with logical modules, from foundational to advanced
  5. Learn — Work through resources, take AI-generated quizzes after each one, and chat with an AI assistant that has read all your course content
  6. Share — Share your course with anyone via a single link

✨ What Makes OpenPath Unique

It's NOT another course platform

OpenPath has zero original content. It's a course builder that assembles free knowledge from the open internet into structured learning. This is fundamentally different from every existing EdTech platform.

The learner is in control

Unlike platforms that decide what you learn, OpenPath lets you pick your resources. You preview YouTube videos, check GitHub repos, read article descriptions — then choose what goes into YOUR course. The AI structures it, but you curate it.

AI that actually knows your content

The AI assistant doesn't give generic answers. During course creation, Bedrock generates detailed summaries of every resource you selected. The AI assistant uses these summaries as context (in-prompt RAG), so it answers questions specifically about your chosen materials — with citations.

Per-resource quizzes, not per-course

Most platforms quiz you at the end of a module. OpenPath generates a unique quiz after every single resource — 3-5 questions tailored to that specific video, article, or tutorial. This means immediate reinforcement of what you just learned.

Shareable courses

Built a great course? Share it with one link. Your friends see the exact same course — same modules, same resources, same AI assistant, same quizzes. Education becomes collaborative.


📊 Impact Potential

Who benefits?

  • College students who can't afford $500 Udemy courses
  • Self-learners in developing countries with internet but no money
  • Teachers who can build and share curated courses for their students
  • Working professionals who need to upskill on a budget

Scale

  • 5.4 billion people have internet access — all of them can use OpenPath
  • YouTube alone has millions of free educational videos
  • Every topic imaginable is covered by free resources somewhere on the internet
  • OpenPath makes all of it structured, quizzable, and shareable

SDG 4 Alignment

OpenPath directly addresses UN SDG 4: Quality Education — "Ensure inclusive and equitable quality education and promote lifelong learning opportunities for all." It does this by:

  • Making quality education free (no paywall)
  • Making it inclusive (works on any device, any browser)
  • Making it equitable (same quality whether you're in New York or rural India)
  • Promoting lifelong learning (learn any topic, any time, at your own pace)

🏗️ Architecture

Browser (React SPA on CloudFront)
  └─► API Gateway (REST, CORS enabled)
        ├─► searchResources    → YouTube Data API + Tavily + Bedrock enrichment
        ├─► buildCourse        → Bedrock (course structuring + resource summaries → S3)
        ├─► generateQuiz       → Bedrock (quiz generation from S3 summaries)
        ├─► scoreQuiz          → Bedrock (explanation generation)
        ├─► chatTutor          → Bedrock (in-prompt RAG from S3 summaries)
        ├─► progressTracker    → DynamoDB (completion + scores)
        └─► myLearning         → DynamoDB (persistent course library)

Tech Stack (100% AWS)

  • Frontend: React + TypeScript + Vite → S3 + CloudFront (HTTPS)
  • Backend: 7 Lambda functions (Node.js 20, ARM64)
  • AI: Amazon Bedrock (Nova Pro) via Converse API
  • Database: DynamoDB (single-table design, pay-per-request)
  • Storage: S3 (resource summaries for RAG)
  • Search: YouTube Data API v3 + Tavily Search API
  • Infrastructure: AWS SAM (Infrastructure as Code)

Key Technical Decisions

  • In-prompt RAG instead of Bedrock Knowledge Base — faster to set up, no vector DB needed, works within a hackathon timeline
  • Single DynamoDB table with composite keys — all entities (sessions, courses, modules, resources, quizzes, progress, chat) in one table
  • YouTube Data API for real video URLs and thumbnails — no fake/hallucinated links
  • Session-based with no authentication — reduces friction, perfect for a demo
  • Public course records — enables link sharing without requiring login

🚀 Features

Feature Description
🔍 Smart Search YouTube Data API + Tavily for real, verified free resources
📚 Course Builder AI structures your picks into sequenced modules
📝 Per-Resource Quizzes 3-5 AI-generated questions after every resource
🤖 AI Assistant Chat with an AI that knows all your course content (RAG)
📊 Analytics Dashboard Quiz scores, pass rates, strengths/weaknesses chart
🏷️ Difficulty Indicator Beginner/Intermediate/Advanced badge per course
📈 Progress Tracking Per-resource and per-module completion tracking
🔗 Shareable Links One link to share your entire course with anyone
📖 My Learning Persistent course library stored in DynamoDB
🎨 Dark Theme UI Modern, responsive design with animations
📱 Mobile Responsive Works on phone, tablet, and desktop

🏃 Quick Start

Prerequisites

  • Node.js 20+
  • AWS SAM CLI
  • AWS account with Bedrock access (Amazon Nova Pro)
  • YouTube Data API key
  • Tavily API key (free tier)

Install & Deploy

# Install dependencies
npm install

# Build Lambda functions
npm run build:lambdas

# Deploy to AWS (first time: use --guided)
sam deploy --guided

# Build and deploy frontend
npm run build --workspace=packages/frontend
aws s3 sync packages/frontend/dist/ s3://YOUR-BUCKET/ --delete

Environment Variables

Variable Description
YOUTUBE_API_KEY YouTube Data API v3 key
TAVILY_API_KEY Tavily search API key
BEDROCK_MODEL_ID Bedrock model (default: amazon.nova-pro-v1:0)
TABLE_NAME DynamoDB table name
BUCKET_NAME S3 bucket for resource summaries

🎯 Feasibility

OpenPath is fully built and deployed — not a prototype or mockup. Every feature described above is live and working:

  • ✅ Real YouTube videos with real thumbnails (YouTube Data API)
  • ✅ AI course structuring (Bedrock Nova Pro)
  • ✅ AI quiz generation and scoring
  • ✅ AI assistant with RAG (reads all course content)
  • ✅ Persistent storage (DynamoDB + S3)
  • ✅ Shareable course links (CloudFront HTTPS)
  • ✅ Mobile responsive
  • ✅ Deployed on AWS (serverless, scales to zero cost when idle)

OpenPath — Because knowledge should be free, and learning should be structured.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages