Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/christ-off/feed2twitter
A nodeJS Lambda to parse a feed and post a radndom entry to twitter
https://github.com/christ-off/feed2twitter
aws aws-lambda blog dynamodb feed jest nodejs nodejs-lambda terraform twitter
Last synced: 16 days ago
JSON representation
A nodeJS Lambda to parse a feed and post a radndom entry to twitter
- Host: GitHub
- URL: https://github.com/christ-off/feed2twitter
- Owner: christ-off
- Archived: true
- Created: 2019-09-10T21:14:24.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2022-10-03T20:20:39.000Z (about 2 years ago)
- Last Synced: 2024-07-30T20:57:11.966Z (3 months ago)
- Topics: aws, aws-lambda, blog, dynamodb, feed, jest, nodejs, nodejs-lambda, terraform, twitter
- Language: JavaScript
- Size: 1000 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# feed2twitter
A nodeJS Lambda to parse a feed and post a random entry to twitter.
[![CodeQL](https://github.com/christ-off/feed2twitter/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/christ-off/feed2twitter/actions/workflows/codeql-analysis.yml)
[![Node.js CI](https://github.com/christ-off/feed2twitter/actions/workflows/node.js.yml/badge.svg)](https://github.com/christ-off/feed2twitter/actions/workflows/node.js.yml)## Requirements
* Maven >3 [use SDKMan the super hero](https://sdkman.io/)
* [Terraform.io](https://www.terraform.io/)
* Node v10.16.3 use [Node Version Manager](https://github.com/nvm-sh/nvm)
* AWS Credentials on appropriate user
* Twitter Application credentials## Configuration
In terraform folder create a terraform.tfvars file
aws_access_key = "..."
aws_secret_key = "..."
feed = "..."
consumer_key = "..."
consumer_secret = "..."
access_token = "..."
access_token_secret = "..."
## DynamoDB1. Download [DynamoDB Local](https://docs.aws.amazon.com/en_pv/amazondynamodb/latest/developerguide/DynamoDBLocal.html)
2. Check : `aws dynamodb list-tables --endpoint-url http://localhost:8000`