No description
- Python 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| src/pipedream_rss_to_bluesky | ||
| .gitignore | ||
| .python-version | ||
| pyproject.toml | ||
| README.md | ||
| requirements-dev.lock | ||
| requirements.lock | ||
pipedream-rss-to-bluesky
A Pipedream workflow component that automatically posts RSS feed entries to Bluesky, complete with rich link previews and metadata.
Features
- Automatically posts RSS feed entries to Bluesky
- Includes rich link previews with title and description
- Cleans up HTML from descriptions
- Handles authentication with Bluesky
- Preserves metadata from RSS feeds
- Truncates long descriptions appropriately
Prerequisites
- A Bluesky account
- A Bluesky App Password
- A Pipedream account
- An RSS feed source configured in Pipedream
Environment Variables
The following environment variables need to be set in your Pipedream workflow:
BSKY_HANDLE: Your Bluesky handle (e.g.,username.bsky.social)BSKY_APP_PASSWORD: Your Bluesky App Password
Usage
- Create a new Pipedream workflow
- Add an RSS trigger source
- Add a Python step and include this script
- Configure the environment variables
- Deploy and activate the workflow
How It Works
The script processes RSS feed entries through the following steps:
- Receives RSS entry data from the Pipedream trigger
- Authenticates with Bluesky using provided credentials
- Creates a post with the entry title
- Adds a rich preview with the link, title, and cleaned description
- Posts the content to Bluesky
- Returns success/failure status and post metadata
Response Format
The handler returns a JSON object containing:
{
"success": true/false,
"post_uri": "at://...",
"post_cid": "bafyre...",
"error": "error message if any",
"metadata": {
"source": "rss",
"original_guid": "original entry guid",
"author": "entry author",
"pubdate": "publication date"
}
}