Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). UI Patterns (SDC in Drupal UI) 2.0.18 Minor update available for module ui_patterns (2.0.18). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

BlueSky Integration

8 sites Security covered
View on drupal.org

This module provides a preliminary integration with the BlueSky social network, allowing Drupal sites to connect to the BlueSky API. It enables features like automatically posting content to BlueSky using the ECA module's action plugins.

This is a preliminary integration with the BlueSky social network. It is meant to provide the API connection to other modules which actually provide functionality.

The first user story to be developed is automatic posting of content to the BlueSky API, using the ECA module.

Features

The initial feature to be released is an action plugin for use with ECA.

Also to be considered, integration with the Social API initiative, or any other module ecosystem people are interested in.

Post-Installation

This module uses the Key module for storing credentials. Configure a BlueSky account for your site to use in Admin -> Configuration -> Web Services -> BlueSky Settings.

Then, create an ECA model and use the following actions:

  1. Bluesky: Create Post - any post to Bluesky needs to start with this.
  2. Bluesky: Add Facets - (optional) this turns links, handles (starting with '@') and hashtags into links in the live post. Without this step, your entire message will be plain text.
  3. Bluesky: Add Image - (optional) Add the path or URL of an image to a post.
  4. Bluesky: Send Post - this action actually sends the post you created to Bluesky using the credentials set on the settings page.

Note on images: there is a maximum image size of 1MB. If your image is under that, it's best to use the image path ( token ending with :path or :uri ). But if you use an image style with :uri, and the image style has not yet populated, it does not set the image token, leading to a 404/not found error. Try using the :url version instead.

Additional Requirements

  • Key module (for credentials/secrets)
  • potibm/phluesky Composer library - handles parsing the text for "facets", uploading images, doing the actual posts.
  • PHP 8.2 (minimum) - minimum requirement of the potibm/phluesky library.
  • ECA module (to post a message to BlueSky)

Similar projects

None found that integrate with BlueSky.

Supporting this Module

We are very much interested in having others co-maintain this module -- we are not big social media users. PRs to add functionality or fix issues are highly encouraged!

Activity

Total releases
1
First release
Dec 2025
Latest release
6 months ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Slowing

Releases

Version Type Release date
1.0.0-alpha4 Pre-release Dec 22, 2025