Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 4 days ago
JSON representation
APOD Bot for Bluesky Social
- Host: GitHub
- URL: https://github.com/myconsciousness/bluesky-apod-bot
- Owner: myConsciousness
- License: mit
- Created: 2023-04-12T07:18:22.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-02T01:15:31.000Z (5 months ago)
- Last Synced: 2024-10-19T10:00:39.945Z (3 months ago)
- Topics: apod, atproto, bluesky, bluesky-api, boto, dart, nasa, nasa-api
- Language: Dart
- Homepage: https://bsky.app/profile/apod.shinyakato.dev
- Size: 102 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
endCloudWatch -->> 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
```