Skip to content

anandukrishnaaa/streamlit-news-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

streamlit News App 📰

A streamlit app that scrapes Google News RSS feed for news, summarizes it and displays as per choice - by top trending, category or as per a search term. Also has a bit of NLP magic working behind the scenes - to summarize long articles into a crisp little news byte.

Check out the project demo here, hosted on streamlit cloud.

Dependencies

Required dependencies

  • streamlit (web interface)
  • nltk (natural language toolkit for analysing data)
  • newspaper3k (analysing news articles)
  • bs4 (for webscraping)

Optional dependencies

  • black (for formatting)

nltk packages required

  • punkt (for parsing & natural language processing)
  • vader_lexicon (for sentiment analysis)

Steps

  1. Create a virtual environment virtualenv .streamlit-news-app and activate it.
  2. pip install -r requirements.txt to install required libraries.
  3. Run the app streamlit run streamlit-news-app.py

Screenshots

Landing page

Landing Page

Trending news page

Trending #1 Trending #2

Category page

Category #1 Category #2

Search page

Search #1 Search #2

About

A streamlit app that scrapes Google News RSS feed for news, summarizes it and displays as per choice - by top trending, category or as per a search term.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages