Skip to content

This code connects to an OpenAI model to extract and summarize the key content from plain websites

Notifications You must be signed in to change notification settings

Sommie09/llm_summarizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Website Summarizer with OpenAI

This project fetches the content of any website, cleans it up, and generates a short, human-readable summary using OpenAI’s GPT models. It removes navigation noise like ads, scripts, and styles so the summary focuses only on meaningful text.

What This Project Does

  • Scrapes a webpage using BeautifulSoup
  • Cleans the page content by removing unnecessary tags (scripts, styles, inputs, etc.)
  • Builds a custom prompt for OpenAI with the cleaned text
  • Calls the OpenAI Chat Completions API to generate a summary in Markdown format
  • Outputs a concise overview of the website (including announcements or news if present)

How is this useful?

The internet is full of lengthy articles, blogs, and announcements. Reading through them can be time-consuming.
This project solves that problem by:

  • Quickly summarizing content so you understand the core message without scrolling endlessly
  • Making it easier to scan multiple sources at once
  • Helping with productivity and research (ideal for students, writers, data engineers, or anyone needing quick insights)

In short, it’s like having a personal research assistant that condenses webpages into bite-sized notes.

Tech Stack

About

This code connects to an OpenAI model to extract and summarize the key content from plain websites

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages