Simplify is a Chrome Extension that summarizes any article you're reading in just one click!
It calls on an API that was made and deployed on Herkou to get the summary of the article.
The advent of the 21st century has ushered in the information era. Our race has evolved to process mountains of information every day. However, the attention spans of future generations are steadily decreasing. To combat this, we have created Simplify, an innovative tool that allows humans to process large amounts of information at lightning speeds.
- Newspaper3k
- Flask
- Herkou
- Vanilla Javascript, HTML, and CSS
The Developers couldn't get this on the Chrome Extension Store, so here are the steps to add it to yourself!
- clone this repo. on your local machine (git clone https://github.com/MLH-Fellowship/Simplify.git)
- type
chrome://extensions
into Google Chrome and on the top right, turn on developer mode
- on the top left, press
Load unpacked
- in the directory where you saved this repo. and select the
src
folder
- you can now use our extension!
- Open an article on your browser
- Click the Simplify Extension
- Read the summary
URL: https://summary-api-zzranger.herokuapp.com/
GET
https://summary-api-zzranger.herokuapp.com/query?article=`{articleUrl}`
Gets the summary for the article located at
articleUrl
{articleUrl}
The URL of the article you want the summary of
curl -I -X GET "https://summary-api-zzranger.herokuapp.com/query?article=https://stories.mlh.io/the-mlh-fellowship-is-back-this-fall-eedc9ffa7874"
Getting the summary from https://stories.mlh.io/the-mlh-fellowship-is-back-this-fall-eedc9ffa7874
{
"summary": "Our first MLH Fellowship, launched back in May, had nearly 20,000 amazing applicants from around the world.\nWe are now publishing our forward-looking schedule with a Fall 2020, Spring 2021, and Summer 2021 Fellowship already in the works.\nWe look forward to seeing all of the amazing applicants for our Fall 2020 MLH Fellowship batch and as always, we can’t wait to see what you build."
}
summary
Summary of the article located at
articleUrl
Follow these steps if you want to run the API locally
- Open the root directory (should be the Simplify folder)
- Navigate to the heroku folder (cd heroku)
- Install the necessary libraries (pip install -r requirements.txt)
- Run the flask server (python wsgi.py)
The API will now run on localhost:9874. Follow the API reference above to get article summaries (replace domain name w/ localhost).
Example
http://localhost:9874/query?article=https://www.cnn.com/politics/live-news/election-results-and-news-11-09-20/index.html
Devpost Submission: https://devpost.com/software/simplify-cvn8mg
Text_Summarizer_Models.ipynb: This Jupyter notebook contains the BART text-summarization model, which the team is currently investigating. We plan on implementing either this particular model or something similar to handle text-summarization over newspaper3k.
Cirill Dalangin | Clara Chick | Caleb Lim |
---|---|---|
🌍 💻 🤝 |
🌍 💻 🤝 |
💻 🤝 |