Skip to content

StudyHub is an innovative online education platform designed to enhance learning through interactive features.

Notifications You must be signed in to change notification settings

jamAL108/study-hub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Logo

Study-hub

StudyHub is an innovative online education platform designed to enhance learning through interactive features. Users can engage in real-time chats with YouTube educational videos or PDF documents, making the learning process more dynamic and interactive. Leveraging a vector database, StudyHub ensures accurate responses to user queries. The platform also offers advanced features such as PDF summarization, multiple-choice question (MCQ) generation, chat storage, and chat sharing, providing a comprehensive and enriched learning experience.

Features

  • PDF chatting
  • Accurated youtube video suggestions
  • Youtube vide0 chattings
  • chats stored and secured
  • chats can be shared through unique links
  • chats can also be downloadable in pdf format
  • chat with PDF Data
  • PDF summarization
  • PDF chats are stored and can be accesible
  • Quiz MCQ generation based on any PDF topic
  • Image textify to convert image to text

Tech Stack

Client: NextJS, ShadcnUI, TailwindCSS, Typescript, Lucide icons

Server: Flask, OpenAI key, Youtube data parser

Database: Pinecone (for vector Data storage), Supabase (for normal user data storage)

Screenshots

Landing page

Auth

Dashboard

image

image

image

Installation

Install study-hub with pnpm

  cd webnext
  pnpm Install
  pnpm run dev /// dev 
  pnpm run build // build
  cd server
  pip install -r requirement.txt
  flask run

Environment Variables

To run this project, you will need to add the following environment variables to your .env file

Frontend :-

GEMINI_API NEXT_PUBLIC_SUPABASE_URL NEXT_PUBLIC_SUPABASE_ANON_KEY`` GEM_API_KEY` ( second alternative option )

Backend:-

PINECONE_API_KEY GEMINI_API

API Reference

Get all items

  GET /searchdirecturl
Argument Type Description
q string Required. Query video link

Directly access the video by providing the video link

  GET /searchvideo
Argument Type Description
q string Required. Query

Search through query

  GET /startchatwithvideo
Argument Type Description
videoid string Required. unique youtube video id

Provides the whole text corpura about the video

About

StudyHub is an innovative online education platform designed to enhance learning through interactive features.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published