AD
Boost Your Brand on BlueSky—Exclusive banner space to amplify your reach within the BlueSky community.
BSkyInfo LogoBskyInfo
All ToolsCategoriesCollectionsFeed DirectoryLabeler DirectoryArticlesGuidesGlossaryBluesky SDKsSponsor
Submit
All ToolsCategoriesCollectionsFeed DirectoryLabeler DirectoryGuidesGlossaryArticlesBluesky SDKsSponsorSubmit
  1. SDKs
  2. /JavaScript
  3. /bsky.link
capjamesg

bsky.link

A JavaScript SDK for Bluesky and AT Protocol by capjamesg

Generate embeddable link previews to posts on Bluesky.

GitHub Stats

38stars
6forks
5contributors
5open issues

Dates

Created:April 20, 2023
Last updated:March 31, 2025

README

The following content is from bsky.link's GitHub repository. All rights reserved by the original author.

Bluesky Link Preview

Generate permalinks to Bluesky posts that you can embed in a website.

Posts are not cached. This means that if a post becomes unavailable or private, the link will no longer work.

Text posts, posts with embedded posts, and posts that contain one or more images are supported by this project.

This project is not affiliated with Bluesky.

Screenshot

Screenshot of a Bluesky post written by jamesg.blog

How to Embed

To create an embedded link, go to https://bsky.link and enter the URL of the Bluesky post you want to embed. The application will generate an iframe that you can embed in your site.

You can also reference a link directly in your own iframe using this syntax:

<iframe src="https://bsky.link/?url=<post_url>"></iframe>

Application Routes

  • /: Interactive web application through which you can generate embed codes.
  • /?url=: Endpoint with a post that you can embed into a website.

How to Run

To run the application, first install the required dependencies:

npm install

Then, create config.js and add your Bluesky credentials (handle and password) and domain name for the Bluesky Link application, like this:

const config = {
    "HANDLE":"yourname.bsky.social",
    "PASSWORD":"xxxx-xxxx-xxxx-xxxx",
    "DOMAIN":"bsky.domain.example"
}
module.exports = config;

Finally, run the following command to start the application server:

npm start

License

This project is licensed under an MIT 0 License.

Contributors

  • capjamesg
  • kevinmarks

Topics

atprotocolblueskybsky

Related SDKs

mary-extatcute

a collection of lightweight TypeScript packages for AT Protocol, the protocol powering Bluesky.

318•JavaScript
aliceisjustplayinglabeler-starter-kit-bsky

Use this repository to get started with your own Bluesky Labeler.

167•JavaScript
bluesky-socialfeed-generator

ATProto Feed Generator Starter Kit

1856•JavaScript
bluesky-socialatproto

AT Protocol Reference Implementation (TypeScript)

8526•JavaScript
skyware-jsfirehose

A dead simple client for subscribing to an ATProto Relay ("firehose").

37•JavaScript
skyware-jsjetstream

A fully typed client for the Bluesky Jetstream (https://github.com/bluesky-social/jetstream) service.

47•JavaScript

Resources

GitHub RepositoryProject Website

License

MIT-0

Author

capjamesg
capjamesg

Activity

Last commit: March 31, 2025
Commit frequency: Unknown

Our Sponsors

Your Brand Here!

50K+ engaged viewers every month

Limited spots available!

📧 Contact us via email🦋 Contact us on Bluesky
BSkyInfo LogoBskyInfo

The Most Comprehensive Bluesky Tools Directory

Stay updated with the latest Bluesky tools and ecosystem news 🦋

Bluesky butterfly logo
Quick LinksSubmit a ToolSponsorAboutLegal Information
ToolsFeed DirectoryLabeler DirectorySchedulingAnalyticsAll ToolsCategoriesCollectionsTags
ResourcesArticlesBluesky GuidesBluesky GlossaryBluesky SDKsBluesky ResourcesSkyRaffleMeida Coverage
Our ProductsRaffleBlueAiTeach ToolsLaiewAI affiliate listFirsto

This website may contain affiliate links

© 2025 BskyInfo. All rights reserved.