{"id":17723424,"url":"https://github.com/vivek3141/news-visualization","last_synced_at":"2025-03-14T05:31:57.780Z","repository":{"id":96162957,"uuid":"159979823","full_name":"vivek3141/news-visualization","owner":"vivek3141","description":"A tool to visualize news articles and their relevance using machine learning","archived":false,"fork":false,"pushed_at":"2018-12-08T21:09:04.000Z","size":222,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2023-03-02T04:25:50.094Z","etag":null,"topics":["animation","api","flask","js","natural-language-processing","news-visualization","nltk","p5js","python","visualization"],"latest_commit_sha":null,"homepage":"https://vivek3141.github.io/news-visualization/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vivek3141.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-12-01T19:30:11.000Z","updated_at":"2023-02-01T21:53:49.000Z","dependencies_parsed_at":null,"dependency_job_id":"c38fce29-27c8-4536-ad74-46c0e5384792","html_url":"https://github.com/vivek3141/news-visualization","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vivek3141%2Fnews-visualization","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vivek3141%2Fnews-visualization/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vivek3141%2Fnews-visualization/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vivek3141%2Fnews-visualization/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vivek3141","download_url":"https://codeload.github.com/vivek3141/news-visualization/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243532517,"owners_count":20306151,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["animation","api","flask","js","natural-language-processing","news-visualization","nltk","p5js","python","visualization"],"created_at":"2024-10-25T15:42:56.345Z","updated_at":"2025-03-14T05:31:57.771Z","avatar_url":"https://github.com/vivek3141.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# news-visualization\nA tool to visualize news articles and their relevance using machine learning. It makes a network of\nnews articles based on the current news or a topic typed in. Connections represent similarities,\nwhich are calculated using NLP.\n## Requirements\nInstall the requirements by\n* make\n```bash\nsudo make\n``` \n* pip\n```\nsudo pip3 install -r requirements.txt\n```\nNOTE: Superuser is only required if python is stored in `/usr/local`.\n## Built Using:\n* `p5js` for visualization\n* `bootstrap` for the front end\n* Hosted on `heroku` for back end. NOTE: This is sometimes shut down for other projects.\n* `flask` for the API, `flask-cors` to make it run well on Heroku.\n* `Newsapi`, `Newspaper3k` for getting the news and parsing.\n## Results\n\u003cimg src=\"https://raw.githubusercontent.com/vivek3141/news-visualization/master/img/news.png\"\u003e\u003c/img\u003e\n## Running it locally\nYou can change the host in `api.py` and change the address in `visualize.js`.\u003cbr\u003e\nFor example, `api.py` by default will run on `0.0.0.0` on port `5000`. Changing \n```js\nvar endpoint = \"https://news-visual.herokuapp.com/?topic=\" + topic;\n```\nto \n```js\nvar endpoint = \"http://0.0.0.0:5000/?topic=\" + topic;\n```\naccesses the local api.\u003cbr\u003e\nNOTE: Make sure to change to `http://` instead of `https://`","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvivek3141%2Fnews-visualization","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvivek3141%2Fnews-visualization","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvivek3141%2Fnews-visualization/lists"}