Skip to main content
net6.0net8.0net9.0.NETStandard2.1

Simple client for posting to Bluesky

Published
Nov 27, 2024
1y ago
Total Downloads
15.6K
15,593

Install

dotnet add package X.Bluesky --version 1.2.1-pre
ProductVersions
.NET
net6.0net8.0net9.0
.NET Standard
netstandard2.1

README

X.Bluesky

NuGet Version Twitter URL

The X.Bluesky is a .NET library designed to make it easy for developers to post messages to Bluesky, a decentralized social network.

By leveraging the Bluesky API, this project allows for straightforward integration into .NET applications, enabling posts to be made programmatically.

Features

  • Post messages directly to Bluesky
  • Attach links to posts, allowing for page previews within the Bluesky feed
  • Authenticate with Bluesky using an identifier and password
  • Automatically generate tags, mentions and url cards

Getting Started

Prerequisites

  • .NET SDK (compatible with the version used by the project)
  • An account on Bluesky with an identifier and password

Installation

To use the X.Bluesky library in your project, include it as a dependency in your project's file (e.g., csproj). See the NuGet package page for the latest version.

Usage

var identifier = "your.bluesky.identifier";
var password = "your-password-here";

IBlueskyClient client = new BlueskyClient(identifier, password);

await client.Post($"Read this post from #devdigest: https://yourlink.com/post/123");

await client.Post($"Read this post!", new Uri("https://yourlink.com/post/123");

Changes from Previous Version

No structural changes between v1.1.7 and v1.2.1-pre.

Adoption Assessment

Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.

This version is marked prerelease. Validate its API and upgrade path before production use.No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.Compatibility metadata lists 4 target frameworks; confirm the exact target used by your application.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.