Skip to content

RunProgrammer/SummaryApp

Repository files navigation


πŸ“ Summary App

An intelligent tool to summarize text, YouTube videos, and documents seamlessly using AI-powered summarization models. 🌟


πŸš€ Features

  • πŸ“„ Summarize plain text for quick insights.
  • πŸŽ₯ Extract and summarize YouTube video transcripts.
  • πŸ“ Upload and summarize PDFs, Word documents, or text files.
  • πŸ€– Powered by Hugging Face's BART model for high-quality summaries.
  • 🌐 Cross-origin support enabled via Flask CORS.
  • πŸ”— Modern, responsive React frontend integrated with Tailwind CSS.

🌟 Technologies Used

Backend

  • 🐍 Flask: Backend framework for API handling.
  • πŸ”— Flask-CORS: Enable cross-origin requests.
  • πŸŽ₯ YouTube Transcript API: Fetch YouTube video transcripts.
  • πŸ€– Hugging Face API: AI-based text summarization.
  • πŸ“‚ PyPDF2 & python-docx: File parsing for PDFs and Word documents.

Frontend

  • βš›οΈ React: Frontend framework for building a modern UI.
  • 🎨 Tailwind CSS: For sleek and responsive design.

πŸ› οΈ Installation and Usage

Prerequisites

  • Python 3.9+ 🐍
  • Node.js 16+ (for frontend) βš›οΈ

Backend Setup

  1. Clone the repository:

    git clone https://github.com/yourusername/summary-app.git
    cd summary-app
  2. Install backend dependencies:

    pip install -r requirements.txt
  3. Set up environment variables: Create a .env file in the root directory with:

    HUGGING_FACE_API_KEY=your_huggingface_api_key
  4. Run the backend:

    python app.py

Frontend Setup

  1. Navigate to the frontend directory:

    cd frontend
  2. Install dependencies:

    npm install
  3. Build the production files:

    npm run build

πŸŽ‰ Live Demo

πŸš€ Comming soon


πŸ›‘οΈ Production Deployment

β­• Ongoing


πŸ“„ API Endpoints

Endpoint Method Description
/summary/text POST Summarizes plain text input.
/summary/youtube POST Summarizes a YouTube video.
/summary/file POST Summarizes uploaded files.
/summary/combined POST Summarizes combined inputs.
/summary/all POST Summarizes text, video, and file.

🀝 Contributing

Contributions are welcome! 🌟

  • Fork the repo.
  • Create a feature branch:
    git checkout -b feature-name
  • Commit and push changes:
    git commit -m "Add feature-name"
    git push origin feature-name
  • Open a Pull Request.

Happy Coding πŸ”₯πŸͺ„βš™οΈ

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published