Skip to content

aakashsharma003/lib

Repository files navigation

Library - Collaborative Learning Platform

A platform built to make learning easy and collaborative. With Library, users get filtered YouTube content for better understanding, real-time doubt-solving, and quick revision tools — all in one place.

Live: link

Plateform Preview

Demo: link


🚀 Features

1. YouTube Content Integration

  • Seamless integration with YouTube to bring video content directly to the platform.
  • AI-powered filtering to keep content focused on education and block distractions.
  • Platform source icons to identify content origin at a glance.

2. AI Study Chat (Groq)

  • Ask any question about a video and get accurate, contextual answers.
  • Powered by Groq (Llama 3.3) with RAG (Retrieval Augmented Generation) for transcript-grounded responses.
  • Smart chunking and embedding pipeline for precise context retrieval.

3. User-Generated Notes & Google Drive Sync

  • Attach and share notes to videos directly from Google Drive.
  • One-time Drive consent for seamless file uploads.
  • Upvoting system to highlight the most useful community notes.

4. Quick Revision Tools

  • AI-generated concise revision cards from video transcripts.
  • Save time by revising key points instead of watching entire videos.

5. Real-Time Doubt Resolution

  • Filtered comment sections for relevant discussions and doubt resolution.
  • Foster collaborative learning with community-driven answers.

6. Smart Onboarding Tour

  • Branded welcome experience for new users with feature walkthrough.
  • Two-phase guided tour: Home page features → Video page tools.
  • Personalized greeting using the user's name.

7. Dark Mode & Modern UI

  • System-aware dark/light mode with smooth transitions.
  • Responsive design optimized for mobile, tablet, and desktop.
  • Infinite scroll video feed with skeleton loading states.

🛠️ Technologies Used

Layer Stack
Framework Next.js 15 (App Router)
Frontend React, Tailwind CSS, Framer Motion
Backend Node.js, Prisma ORM
Database Neon (PostgreSQL)
Auth Clerk (Google OAuth)
AI Groq API (Llama 3.3) + Gemini Embeddings
APIs YouTube Data API, Kome Transcript API
Storage Google Drive API
Deployment Vercel

📦 Installation and Setup

  1. Clone the Repository

    git clone https://github.com/aakashsharma003/lib.git
    cd lib
  2. Install Dependencies

    npm install
  3. Set Up Environment Variables Create a .env file in the root directory:

    NEXT_PUBLIC_YOUTUBE_API_KEY=your_youtube_api_key
    NEXT_PUBLIC_YOUTUBE_API_URL=https://www.googleapis.com/youtube/v3
    NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=
    CLERK_SECRET_KEY=
    NEXT_PUBLIC_GEMINI_API_KEY=
    GROQ_API_KEY=
    UPSTASH_REDIS_REST_URL=
    UPSTASH_REDIS_REST_TOKEN=
    DATABASE_URL=
    CLERK_WEBHOOK_SECRET=
    YOUTUBE_TRANSCRIPT_URI=
  4. Run the Development Server

    npm run dev

    Open http://localhost:3000 in your browser.


🔗 Links

About

A platform built to make learning easy and collaborative. With Library, users get filtered YouTube content for better understanding, real-time doubt-solving, and quick revision tools—all in one place.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors