newsCloud

所属分类:WEB开发
开发工具:Python
文件大小:933KB
下载次数:0
上传日期:2019-09-09 23:01:57
上 传 者sh-1993
说明:  新闻云是一个铬扩展,聚合来自各种新闻网站(NPR、CNN、BBC、Ars Technica、Redd...
(News Cloud is a chrome extension that aggregates text from a variety of news sites (NPR, CNN, BBC, Ars Technica, Reddit, and etc.) and overrides the new tab page to display shared trending phrases based on word frequency.)

文件列表:
__pycache__ (0, 2019-09-10)
__pycache__\webCrawler.cpython-36.pyc (5566, 2019-09-10)
__pycache__\webCrawler.cpython-37.pyc (5626, 2019-09-10)
__pycache__\wordcloud.cpython-36.pyc (856, 2019-09-10)
__pycache__\wordcloud.cpython-37.pyc (857, 2019-09-10)
alternatewebcrawler.py (4990, 2019-09-10)
app.py (268, 2019-09-10)
banner.jpg (31162, 2019-09-10)
extension (0, 2019-09-10)
extension\index.html (131, 2019-09-10)
extension\manifest.json (286, 2019-09-10)
manifest.json (390, 2019-09-10)
out.txt (19030, 2019-09-10)
pythonWordCloud (0, 2019-09-10)
pythonWordCloud\cnn.txt (16982, 2019-09-10)
pythonWordCloud\makeTheCloud.py (1088, 2019-09-10)
sample.JPG (183198, 2019-09-10)
square.png (58996, 2019-09-10)
static (0, 2019-09-10)
static\img (0, 2019-09-10)
static\img\favicon.ico (124634, 2019-09-10)
static\img\icon.png (196008, 2019-09-10)
static\img\towerFit.jpg (413213, 2019-09-10)
templates (0, 2019-09-10)
templates\index.html (5746, 2019-09-10)
webCrawler.py (7091, 2019-09-10)

# News Cloud ## What it does News Cloud is a chrome extension that aggregates text from a variety of news sites (NPR, CNN, BBC, Ars Technica, Reddit, and etc.) and overrides the new tab page to display shared trending phrases based on word frequency. We take these trending phrases and display them in a word cloud comprised of hyperlinks sized according to their occurrence. The hyperlinks redirect to a Google News search of the keyword or phrases. ## How to use While we are able to make it into a local extension, this chrome extension is still under construction as we aim to deploy it after improving algorithms and load times. However, if you would like to experience it locally, please follow these instructions. Assuming Python 3.6 and above, 1. pip install packages: ``` pip install request bs4 spacy praw flask ``` 2. Download this repository 3. In the wordCloudExtension directory, run python ``` python ./app.py ``` 4. Open http://localhost:5000/ in your browser and wait for the news word cloud to load. ## What's next for News Cloud 1. The web scraping and frequency calculation algorithm creates a significant loading time whenever the site is opened which limits its effectiveness as a new-tab extension. This was the main reason why we were unable to effectively deploy the Flask project onto a PaaS like AWS, GCP, and Heroku because the HTML request would always time out. 2. Another feature that we would like to include is a customization menu that allows the user to add more news sources, change background image, and settings regarding word cloud generation. We are excited to continue developing News Cloud into the useful and convenient news source that we conceived of. ## Contributors - Jiachen (Amy) Liu - Allen Liu ## Credits - News Cloud logo is original - Background image in the new tab belongs to Firewatch ## Notes This began as a Hackathon submission to PennApps XX. View submission here: https://devpost.com/software/news-cloud

近期下载者

相关文件


收藏者