Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/samchungy/serverless-afr-rss-feed
A Serverless RSS Feed scraping Google Custom Search for AFR data. Designed for use with the Slack RSS Feed.
https://github.com/samchungy/serverless-afr-rss-feed
nodejs rss serverless slack
Last synced: 6 days ago
JSON representation
A Serverless RSS Feed scraping Google Custom Search for AFR data. Designed for use with the Slack RSS Feed.
- Host: GitHub
- URL: https://github.com/samchungy/serverless-afr-rss-feed
- Owner: samchungy
- Created: 2020-08-05T11:56:09.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-12-22T07:18:56.000Z (about 4 years ago)
- Last Synced: 2025-01-18T03:27:41.389Z (7 days ago)
- Topics: nodejs, rss, serverless, slack
- Language: JavaScript
- Homepage:
- Size: 25.4 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Serverless RSS Feed
A simple 30 minute serverless RSS Feed designed to be invokved by Slack's RSS Feed.
## Description
This bot is designed to scrape Google Web Search results for afr.com articles with the keyword "Deloitte" in the title and return them in a RSS Feed which will be consumed by Slack's Feed app.
## Getting Started
### Dependencies
* serverless
* axios
* feed### Installing
* Create a [Google Custom Search](https://programmablesearchengine.google.com/), grab it's cx value.
* Create a [Google API Key](https://console.developers.google.com/apis/credentials) for Custom Search.
* Create an `.env` file and fill them with `GOOGLE_API_KEY` and `GOOGLE_CUSTOM_SEARCH_CX` environment variables.
* Run `npm install --prod` to install dependencies.
* Run `sls deploy` to deploy to AWS
* On Slack run `/feed subscribe {your-app-url}`## Authors
Sam Chung - [email protected]