Skip to content

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

59 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Summarizer

The Team

Jakin Chan

Nathan Kong

Lizbeth Areizaga:

Overview

Summarizer is a user focused tool committed to enhancing the student experience. This tool provides the user with a simple and hassle-free process of summarizing either text or YouTube videos for quick and easy consumption. Also, we have dark mode.

Tech Stack

Frontend

Axios MUI NodeJS NPM React TypeScript

Backend

ChatGPT Flask Python YouTube API

Images

Summarizer Light Mode: Summarizer Front Page Light Mode Summarizer Dark Mode: Summarizer Front Page Dark Mode Summarizer with Text: Summarizer Front Page Text Summarizer with YouTube Link: Summarizer Front Page YouTube Link

Installation

Setup

  1. Clone the repository by running this command.
    git clone https://github.com/liz-areizaga/summarizer.git
  2. Navigate into the project directory using cd.
    cd summarizer
  3. Install node.js

You can download it from the official website See: node.js

Python Flask Server

Any dependencies for Python are listed in requirements.txt. Ensure you have all Python dependencies by running:

pip install -r requirements.txt

Note: Use pip3 if you are using Python 3. If you do not have Python installed: See: Guide

NPM Dependencies

Once inside of the project directory, install all project dependencies.

npm install

OpenAI API Key

You will need an OpenAI API Key. See: HowToGeek Guide

  1. Once you have your OpenAI API Key, create a file named .env.
  2. Move this file inside of the frontend directory.
  3. Add this line to the file and save. REACT_APP_OPENAI_API_KEY=AddYourAPIKeyHere Be sure to replace AddYourAPIKeyHere with your actual OpenAI API Key.

Starting Summarizer

Frontend

  1. Open a terminal and navigate to the frontend folder.
    cd frontend
  2. Run the command below to start the frontend server.
    npm start

Backend

  1. Open a new terminal and navigate to the backend folder.
    cd backend
  2. Run the command below to start the backend server.
    python server.py
    Note: If you are using Python3, use python3 instead of python.

Usage

Dark and Light Mode

There is a dark mode and light mode toggle on the top right of the page. Use the toggle to switch between modes.

Text Summarization

For summarization of texts, click the left tab above the box (clipboard) and type or paste in your text. Once you are finished, hit the Submit button on the bottom right. For a demonstration, see the "Summarizer with Text" section in Images.

YouTube Video Summarization

For summarization of a YouTube video, click the right tab above the box (YouTube logo) and paste in your YouTube link. Once you are finished, hit the Submit button on the bottom right. For a demonstration, see the "Summarizer with Youtube Link" section in Images.

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages