npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@rmdes/indiekit-syndicator-bluesky

v1.0.19

Published

Bluesky syndicator for Indiekit with external like support

Readme

@rmdes/indiekit-syndicator-bluesky

Bluesky syndicator for Indiekit with full support for likes, reposts, bookmarks, and quote posts using the AT Protocol.

Features

  • Syndicates notes, articles, and photos to Bluesky
  • Native likes and reposts for Bluesky URLs
  • External like/repost support (syndicates as posts with link cards)
  • Automatic rich text facet detection (@mentions, #hashtags, URLs)
  • Open Graph link card embeds with thumbnail generation
  • Image compression and upload (up to 4 images per post)
  • Smart URL handling (removes URLs shown in OG cards from text)
  • Quote posts with optional images

Installation

npm install @rmdes/indiekit-syndicator-bluesky

Requirements

  • Bluesky account
  • Bluesky app password (generate at Settings → App Passwords in the Bluesky app)

Usage

Add to your Indiekit configuration:

export default {
  plugins: ["@rmdes/indiekit-syndicator-bluesky"],
  "@rmdes/indiekit-syndicator-bluesky": {
    handle: "yourhandle.bsky.social",
    checked: true,
  },
};

Set your app password as an environment variable:

export BLUESKY_PASSWORD="your-app-password"

Options

| Option | Type | Default | Description | |--------|------|---------|-------------| | handle | string | "" | Your Bluesky handle (without the @) | | password | string | process.env.BLUESKY_PASSWORD | Bluesky app password | | profileUrl | string | "https://bsky.app/profile" | Bluesky profile URL base | | serviceUrl | string | "https://bsky.social" | Bluesky service URL | | includePermalink | boolean | false | Always append permalink to post text | | syndicateExternalLikes | boolean | true | Syndicate likes of external URLs as posts with link cards | | syndicateExternalReposts | boolean | true | Syndicate reposts of external URLs as posts with link cards | | checked | boolean | false | Pre-check syndicator in Indiekit UI |

Post Type Support

Regular Posts (Notes, Articles, Photos)

Text posts, articles with links, and photo posts are syndicated to Bluesky as regular posts. The plugin automatically:

  • Converts HTML content to plain text
  • Detects and creates rich text facets (@mentions, #hashtags, links)
  • Compresses and uploads up to 4 photos
  • Creates Open Graph link cards for external URLs
  • Generates default thumbnails if no OG image exists

Likes

  • Bluesky URLs: Creates a native Bluesky like
  • External URLs: Creates a post with a link card showing the liked content (if syndicateExternalLikes: true)

Reposts

  • Bluesky URLs (no content): Creates a native Bluesky repost
  • Bluesky URLs (with content): Creates a quote post with your commentary
  • External URLs: Creates a post with a link card showing the reposted content (if syndicateExternalReposts: true)

Bookmarks

Creates a post with a link card showing the bookmarked URL, plus your commentary and permalink.

How It Works

The plugin uses the AT Protocol (@atproto/api) to:

  1. Authenticate with your Bluesky account
  2. Upload and compress images (if any)
  3. Build post text with automatic facet detection
  4. Fetch Open Graph metadata for link cards
  5. Create the appropriate post type (post, like, repost, quote)
  6. Return the syndicated post URL

Text Handling

Bluesky has a 300-character limit. The plugin:

  • Converts HTML to plain text
  • Removes URLs that will be shown in OG cards (to save space)
  • Appends your blog permalink (for webmentions)
  • Truncates if needed, preserving the permalink

Image Handling

Images are automatically:

  • Fetched from your site
  • Compressed to under 1MB (Bluesky limit)
  • Uploaded to Bluesky
  • Limited to 4 per post (Bluesky limit)

Link Card Embeds

For posts with external URLs (articles, bookmarks, likes of external URLs), the plugin:

  1. Fetches Open Graph metadata (title, description, image)
  2. Uploads the OG image as a thumbnail
  3. If no OG image exists, generates a default thumbnail with the title text
  4. Creates a link card embed

Environment Variables

  • BLUESKY_PASSWORD - Your Bluesky app password (required)

Known Limitations

  • Maximum 4 photos per post (Bluesky limit)
  • Maximum 1MB per image (Bluesky limit, enforced via compression)
  • Maximum 300 characters per post (Bluesky limit)
  • App passwords expire if unused for 90+ days

License

MIT