Code Monkey home page Code Monkey logo

news-aggregation's Introduction

News Aggregation App

This repository contains a News Aggregation app for Rocket Chat. The app allows you to aggregate news from various sources and share them within your Rocket Chat instance.

Installation

To install this app, follow these steps:

  1. Clone this repository to your local machine:
git clone https://github.com/Spiral-Memory/News-Aggregation
  1. Navigate to the News-Aggregation directory.

  2. Open a command window and run the following command:

rc-apps deploy --url host_url --username your_username --password your_password

Make sure to replace host_url, your_username, and your_password with your Rocket Chat server URL, username, and password respectively.

Note: You must have a Rocket Chat server set up. If you haven't set up a Rocket Chat server yet, follow this link for instructions.

  1. Once the app is installed, you also need to start the RSS parser and scraper. Since npm packages are experimental to use in rc-apps, external services are used for this prototype version.

To start the RSS parser and scraper, follow these steps:

  • Go to the root directory of the project.
  • Navigate to the backend folder.
  • Use node scraper.js and node rssparser.js in 2 separate instances of terminal.

Features

This app currently supports 3 news aggregators: BBC News, TechCrunch, and NewsAPI, depending on what organization admin have enabled. It supports personalization at 3 levels: Workspace level controlled by the admin of the Rocket Chat server, DM level, and channel level personalization.

To enable different news providers at the organization level, follow these steps:

  1. Go to RC app settings by clicking on the three dots present in the Rocket Chat app sidebar.
  2. Navigate to "Installed," then "Private Apps."
  3. Choose the "News Aggregation" app and then select "Settings."
  4. Enable/disable the news provider you want and provide required API keys to enable those services.
  5. To enable Google search and finding relevant articles, add the search engine CX ID as well. To generate that, information can be found here.
  6. Once these features are enabled, navigate to any channel or DM, and use the command /personalize to perform personalization at the local level. Afterward, use the commands /get-news techcrunch, /get-news bbcnews, or /get-news newsapi to fetch the news from the respective sources. To summarize the content and find relevant articles, click on the "More" option for that message and then select either "Get Relevant Articles" or "Summarize News" based on your preference.

Feel free to try out different features of this app. Here's a video demonstrating all the features:

News Aggregation App Features Video

To learn more about the code, feel free to read my GSoC proposal on news aggregation app from here : https://github.com/Spiral-Memory/GSoC-Proposal

news-aggregation's People

Contributors

spiral-memory avatar

Stargazers

 avatar Yuriko Kikuchi avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.