🤖 001

AWS News Auto-Poster

ServerlessBedrockEventBridgeX API

Overview

Fetches articles from multiple RSS feeds (AWS official, Classmethod, Zenn, Qiita) within 14 days, removes duplicates with staged filters. Converts tone to match @Zer0_Infra style using Amazon Bedrock and auto-posts to X. Implements time-based posting style branching and dynamic hashtag generation.

Architecture

AWS News Auto-Poster architecture diagram

Key Implementation Points

  • Fetches 4 RSS feeds in parallel, filters to articles within 14 days using staged deduplication
  • Switches Bedrock prompts between morning and evening to match appropriate tone
  • Tracks posted URLs in SSM Parameter Store to prevent duplicate posts
  • Dynamically generates relevant hashtags for each post

Tech Stack

Lambda
Amazon Bedrock
EventBridge
SSM Parameter Store
CloudFormation