Skip to content

This project is a Web URL Summarizer, utilizing Puppeteer for web scraping and the ChatGPT API to deliver concise summaries of extracted content. Built with React, TypeScript, and ExpressJS.

Notifications You must be signed in to change notification settings

Dhairyash-1/url-content-summarizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

URL Summarization Project

This project provides a web application for summarizing the content of a given URL. It utilizes React for the frontend, Express with TypeScript for the backend, and integrates OpenAI API for summarization and Puppeteer for web scraping with Browserless for headless browsing.

Screenshot

URL summarizer Screenshot

Features

  • Web scraping to extract content from a given URL using Puppeteer with Browserless.
  • Summarization of extracted content using OpenAI API.
  • React-based frontend for user interaction.
  • Express server with TypeScript for backend implementation.

Live Demo

Explore the live demo here.

Getting Started

Prerequisites

Before running the project, make sure you have the following installed:

Installation

  1. Clone the repository:

    git clone https://github.com/your-username/url-summarization-project.git
  2. Install dependencies for both the frontend and backend:

    cd url-summarization-project
    cd client && npm install
    cd ../server && npm install

Configuration

  1. Set up environment variables: Create a .env file in the server directory and add the following:

    BLESS_TOKEN=your_browserless_token
    OPENAI_API_KEY=your_openai_api_key
    CORS_ORIGIN=your_frontend_url

Running the Application

  1. Start the backend server:
    cd server && npm start
  2. Start the frontend:
    cd client && npm start
  3. Visit http://localhost:5173 in your browser to access the application.

Usage

  1. Enter a URL in the input field.
  2. Click the "Summarize" button.
  3. The application will extract the content from the URL, summarize it using OpenAI, and display the result.

About

This project is a Web URL Summarizer, utilizing Puppeteer for web scraping and the ChatGPT API to deliver concise summaries of extracted content. Built with React, TypeScript, and ExpressJS.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published