A comprehensive study material processing platform that transforms educational content into structured study materials through AI-powered transcription, summarization, and question generation.
See the codeA comprehensive study material processing platform that transforms educational content into structured study materials through AI-powered transcription, summarization, and question generation.
The backend API provides four main endpoints:
/transcribe - Extract text from uploaded files/summarize - Generate summaries and extract keywords/generate-subjective-questions - Create open-ended questions/generate-questions - Generate multiple-choice questionsThe React application provides an intuitive interface with:
Clone the repository:
Create a virtual environment:
cd backend
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
pip install -r requirements.txt
Install Tesseract OCR:
sudo apt-get install tesseract-ocrbrew install tesseractRun the setup script to download models:
python setup.py
python main.py
The API will be available at http://localhost:8000
cd study-simplify
npm install
npm run dev
The application will be available at http://localhost:3000
/transcribeUpload and transcribe files to extract text content.
Request: Multipart form data with file Response:
{
"success": true,
"transcript": "extracted text content",
"file_type": "application/pdf",
"message": "File transcribed successfully"
}
/summarizeGenerate summary and extract keywords from text.
Request:
{
"text": "input text to summarize"
}
Response:
{
"success": true,
"important_words": ["keyword1", "keyword2"],
"summary": "generated summary",
"message": "Text summarized successfully"
}
/generate-subjective-questionsCreate subjective/open-ended questions from text.
Request:
{
"text": "input text",
"num_questions": 5,
"answer_style": "all",
"use_evaluator": true
}
/generate-questionsGenerate objective/multiple-choice questions.
Request:
{
"text": "input text",
"num_questions": 5,
"num_options": 4
}
TESSDATA_PREFIX: Path to Tesseract data directoryMODEL_CACHE_DIR: Directory for caching downloaded modelsThe system automatically downloads required models on first run:
study-simplify/
βββ main.py # FastAPI application
βββ transcript.py # File transcription module
βββ summarize.py # Text summarization
βββ sub_q_gen/ # Subjective question generation
βββ obj_q_gen/ # Objective question generation
βββ setup.py # Model setup and downloads
βββ frontend/ # React application
βββ debug/ # Debug output files
transcript.py modulemain.pyThe backend is deployed on Render with automatic deployments from the main branch.
The React application is deployed on Vercel with automatic deployments.
This project is licensed under the MIT License. See the LICENSE file for details.
For issues and questions:
/docs endpointdebug/ directory for troubleshootingA comprehensive study material processing platform that transforms educational content into structured study materials through AI-powered transcription, summarization, and question generation.
See the codeA comprehensive study material processing platform that transforms educational content into structured study materials through AI-powered transcription, summarization, and question generation.
The backend API provides four main endpoints:
/transcribe - Extract text from uploaded files/summarize - Generate summaries and extract keywords/generate-subjective-questions - Create open-ended questions/generate-questions - Generate multiple-choice questionsThe React application provides an intuitive interface with:
Clone the repository:
Create a virtual environment:
cd backend
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
pip install -r requirements.txt
Install Tesseract OCR:
sudo apt-get install tesseract-ocrbrew install tesseractRun the setup script to download models:
python setup.py
python main.py
The API will be available at http://localhost:8000
cd study-simplify
npm install
npm run dev
The application will be available at http://localhost:3000
/transcribeUpload and transcribe files to extract text content.
Request: Multipart form data with file Response:
{
"success": true,
"transcript": "extracted text content",
"file_type": "application/pdf",
"message": "File transcribed successfully"
}
/summarizeGenerate summary and extract keywords from text.
Request:
{
"text": "input text to summarize"
}
Response:
{
"success": true,
"important_words": ["keyword1", "keyword2"],
"summary": "generated summary",
"message": "Text summarized successfully"
}
/generate-subjective-questionsCreate subjective/open-ended questions from text.
Request:
{
"text": "input text",
"num_questions": 5,
"answer_style": "all",
"use_evaluator": true
}
/generate-questionsGenerate objective/multiple-choice questions.
Request:
{
"text": "input text",
"num_questions": 5,
"num_options": 4
}
TESSDATA_PREFIX: Path to Tesseract data directoryMODEL_CACHE_DIR: Directory for caching downloaded modelsThe system automatically downloads required models on first run:
study-simplify/
βββ main.py # FastAPI application
βββ transcript.py # File transcription module
βββ summarize.py # Text summarization
βββ sub_q_gen/ # Subjective question generation
βββ obj_q_gen/ # Objective question generation
βββ setup.py # Model setup and downloads
βββ frontend/ # React application
βββ debug/ # Debug output files
transcript.py modulemain.pyThe backend is deployed on Render with automatic deployments from the main branch.
The React application is deployed on Vercel with automatic deployments.
This project is licensed under the MIT License. See the LICENSE file for details.
For issues and questions:
/docs endpointdebug/ directory for troubleshooting