Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cityofnewyork/nyco-rss-2-json
A self-hosted RSS into JSON proxy using AWS Lambda. Maintained by @NYCOpportunity
https://github.com/cityofnewyork/nyco-rss-2-json
feed json lambda nyc-opportunity nycopportunity rss
Last synced: about 1 month ago
JSON representation
A self-hosted RSS into JSON proxy using AWS Lambda. Maintained by @NYCOpportunity
- Host: GitHub
- URL: https://github.com/cityofnewyork/nyco-rss-2-json
- Owner: CityOfNewYork
- License: gpl-3.0
- Created: 2019-03-08T19:00:56.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-04-10T20:17:21.000Z (over 1 year ago)
- Last Synced: 2024-04-14T06:10:20.344Z (8 months ago)
- Topics: feed, json, lambda, nyc-opportunity, nycopportunity, rss
- Language: JavaScript
- Homepage:
- Size: 400 KB
- Stars: 2
- Watchers: 18
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# nyco-rss-2-json
A self hosted RSS into JSON proxy using AWS Lambda.
## To Deploy:
Clone the latest and create a `zip` folder to be uploaded to AWS Lambda.
zip -r deploy.zip .
Or, [download an archive of the latest release](https://github.com/CityOfNewYork/nyco-rss-2-json/releases) and extract the `deploy.zip` from the archive.
Create a new AWS Lambda function and upload `deploy.zip` file via the function code section in AWS Lambda service UI.
## Usage
When making a call to the endpoint make sure to pass the RSS feed to the parameter `rssFeed`.
#### Example
rssFeed=https://medium.com/feed/@nycopportunity/
## Testing
The function can be run locally using the [AWS Serverless Application Model (SAM)](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/what-is-sam.html). Follow the instructions to [install the AWS SAM CLI](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-sam-cli-install.html). Once it's installed, [testing](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-test-and-debug.html) the function can be run with the following command.
sam local invoke -e event.json NycoRss2Json
---
![The Mayor's Office for Economic Opportunity](NYCMOEO_SecondaryBlue256px.png)
[The Mayor's Office for Economic Opportunity](http://nyc.gov/opportunity) (NYC Opportunity) is committed to sharing open source software that we use in our products. Feel free to ask questions and share feedback. **Interested in contributing?** See our open positions on [buildwithnyc.github.io](http://buildwithnyc.github.io/). Follow our team on [Github](https://github.com/orgs/CityOfNewYork/teams/nycopportunity) (if you are part of the [@cityofnewyork](https://github.com/CityOfNewYork/) organization) or [browse our work on Github](https://github.com/search?q=nycopportunity).