Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/myConsciousness/bluesky-apod-bot

APOD Bot for Bluesky Social
https://github.com/myConsciousness/bluesky-apod-bot

apod atproto bluesky bluesky-api boto dart nasa nasa-api

Last synced: 3 months ago
JSON representation

APOD Bot for Bluesky Social

Awesome Lists containing this project

README

        

# Bluesky APOD Bot

```mermaid
sequenceDiagram
participant Lambda as "AWS Lambda";
participant EventBridge as "Amazon EventBridge";
participant NASA_API as "NASA API";
participant Bluesky as "Bluesky";
participant CloudWatch as "AWS CloudWatch Logs";
participant SNS as "AWS SNS (Alert)";
participant S3 as "Amazon S3";

EventBridge ->> Lambda: Trigger event
Lambda ->> NASA_API: Retrieve APOD
NASA_API -->> Lambda: APOD
alt Successful retrieval
Lambda ->> Bluesky: Post APOD
Bluesky -->> Lambda: Success
Lambda ->> CloudWatch: Log success
else Retrieval failure
Lambda ->> CloudWatch: Log failure
end

CloudWatch -->> Lambda: Logging result

alt Successful posting
Lambda ->> CloudWatch: Log success
Lambda ->> S3: Update file with rkey and status
S3 -->> Lambda: Success
else Posting failure
Lambda ->> SNS: Send alert
SNS ->> CloudWatch: Log alert
end
```