🤖 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 every Monday and Thursday at 20:00 JST. Article URLs are hung as a reply (not in the body) to avoid reach throttling on link posts, and a thread-format Tips post type (thread_tips) was added to the rotation. Implements dynamic hashtag generation to maintain content quality.

Architecture

Key Implementation Points

  • Fetches 4 RSS feeds in parallel, filters to articles within 14 days using staged deduplication
  • Hangs the article URL as a reply (not in the body) to avoid reach throttling on link posts
  • Tracks posted URLs in SSM Parameter Store to prevent duplicate posts
  • Added a thread-format Tips post type (thread_tips) to drive saves and follows

Tech Stack

Lambda
Amazon Bedrock
EventBridge
SSM Parameter Store
CloudFormation