Inspiration
Webly is a chrome extension that uses multiple NLP techniques using Modzy APIs to analyze sentiments, extract key topics and generate summary for anything on the internet. You can investigate webpages, news articles, tweets, or even subreddits in real-time & get meaningful insights. People often freely express their views and opinions on social media, providing a wealth of information about their thoughts and feelings. Leveraging Webly sentiment analysis capabilities, we can establish whether the news item's perception is positive, neutral or negative. Using the chrome extension, we can analyze web pages across multiple websites to get a summary, extract key topics and perform sentimental analysis. For example, we want to examine the public sentiment about Parag Agrawal on becoming CEO of Twitter on Reddit, Twitter & news articles. With Webly, doing this is a piece of cake.
What it does
To get started, install the chrome extension on your local machine. Open a webpage and click on the installed Webly chrome extension to proceed. Webly pulls the URL of the user's current page, reads the text, and summarizes the webpage, mine key topics and analyzes sentiments. Webly is a Chrome Extension that summarizes, mine key topics and analyzes sentiments of any article you're reading in just one click!
How we built it
On a high level, the Chrome Extension calls on an API that was made and deployed on Heroku to get the summary of the webpage, extract key topics and analyze sentiments.

Chrome Extension
- the Chrome Extension was built using HTML, CSS, and Vanilla JavaScript
- the extension grabs the URL of the site and sends a GET request to the API, passing in the URL as the value of the query string
- Summary, key topics, sentimental analysis of the webpage is returned, which is displayed on the chrome extension
- Sentimental analysis pie chart is developed using Chart.js
API
- the API was built using Flask and newspaper3k
- the endpoint of the API is https://cryptic-dusk-64947.herokuapp.com/query?article=`{articleUrl}` with {articleURL} as the article link
- API receives a query string containing the URL of the article
- Web Page is downloaded and processed by newspaper3k and text is extracted
- Extracted text is used to generate summary using modzy Text summarization API
- Extracted text is used to extract key topics present in the webpage using modzy Text Topic Modeling API
- Extracted text is used to generate overall sentiments of the webpage using modzy Sentimental Analysis API
- Summary, key topics and sentimental analysis of the article is returned in the form of JSON
For Example:

Challenges we ran into
- Setting up the chrome extension
- Connecting chrome extension to a python backend
Accomplishments that we're proud of
- Building a chrome extension that brings advanced Natural Language Processing capabilities to your browser.
- Successfully using modzy Text summarization API, Text Topic Modeling API, Sentimental Analysis API
- Visualizing sentimental analysis results using Chart.js
What we learned
I learned about how to build chrome extensions. I also learned to implement NLP techniques using modzy APIs.
What's next for Webly Chrome Extension
Adding it to chrome web store


Log in or sign up for Devpost to join the conversation.