Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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).