2023-11-24 17:42:21 -05:00
2023-11-24 17:42:21 -05:00
2023-11-24 17:42:21 -05:00
2023-11-24 14:39:28 -05:00
2023-11-24 14:39:28 -05:00
2023-11-24 17:42:21 -05:00
2023-11-24 14:39:28 -05:00

rss-nostr-lambda

An AWS Lambda function that posts content found in an RSS feed to Nostr.

Running Locally

Local environment

A nix-shell development environment is configured in this repo. You can use it by running nix-shell from within the project directory. This is the easiest way to get started working with this application.

If you are not running nix you will need to configure your environment manually. You will need the following dependencies:

  • awscliv2 is used for creating and updating resources in AWS.
  • LocalStack is a service that mocks AWS services locally on your machine.
  • Docker is used by LocalStack under the hood. You'll need the Docker daemon up and running to use LocalStack.
  • awscli-local is a thin wrapper around the awscli which provides the awslocal command and allows you to call awscli commands without needing to provide the --endpoint=http://localhost:xxxx for LocalStack on each call.

Makefile

A Makefile has been set up to bundle some of the commands used to set up and use this Lambda.

Running in AWS

This function runs in AWS Lambda and uses SSM to store state like the last-run-time. The function will read and write parameters under the /rss-nostr-lambda path in Parameter Store; be sure to grant the proper permissions or this function will fail.

S
Description
An AWS Lambda function that posts content found in an RSS feed to Nostr
Readme
23 MiB
v0.1.0
Latest
2023-11-25 21:06:09 +00:00
Languages
JavaScript 70.6%
Makefile 21.1%
Nix 8.3%