A .NET class library for the Bluesky social network.
A .NET 8 and .NET 9 library and SDK for Bluesky and the AT Protocol
Add the idunno.Bluesky package to your project, and then
BlueskyAgent agent = new ();
var loginResult = await agent.Login(username, password);
if (loginResult.Succeeded)
{
var response = await agent.CreatePost("Hello World");
if (response.Succeeded)
{
}
}
Please see the documentation for much more useful documentation and samples.
The API status page shows what APIs are currently implemented.
Trimming is supported for applications targeting .NET 9.0 or later.
The releases page provides details of each release and what was added, changed or removed.
The project uses an Authenticode certificate to sign assemblies and to author sign the nupkg packages. nuget validates the signatures during its publication process.
To validate these signatures use
dotnet nuget verify [<package-path(s)>]
The subject name of the signing certificate should be
Subject Name: CN=Barry Dorrans, O=Barry Dorrans, L=Bothell, S=Washington, C=US
In addition, for GitHub artifact signing the project uses minisign with the following public key.
RWTsT4BHHChe/Rj/GBAuZHg3RaZFnfBDqaZ7KzLvr44a7mO6fLCxSAFc
To validate a file using an artifact signature from a release
download the .nupkg from nuget and the appropriate .minisig from the release page, then use the following command,
replacing <package-path> with the file name you wish to verify.
minisign -Vm <package-path> -P RWTsT4BHHChe/Rj/GBAuZHg3RaZFnfBDqaZ7KzLvr44a7mO6fLCxSAFc
If you want to test pre-releases you can find them in the myget feed.
You can add this as a Package Source in Visual Studio or through the command line
The package source URI is https://www.myget.org/F/blowdart/api/v3/index.json
Due to the way pre-release builds are stamped with the git commit the "latest" version on myget may not always be the latest version.
Either check the Last Updated column in the myget gallery on the individual package details to find the true latest version, or if you want to get a pre-release for a specific commit, if one was produced,
g
as the build number.For example, commit 190d63e
produced a nightly build and packages. The package build number is be 1.1.0-prerelease.g190d63e20d
Please note that nightly builds are signed with Trusted Signing, the signing certificate chain will not match the signing chain of a release build. The subject name remains the same.
idunno.Bluesky, idunno.AtProto and idunno.AtProto.OAuthCallBack are available under the MIT license, see the LICENSE file for more information.
idunno.AtProto takes a dependency on System.Text.Json v9 to support deserializing derived types where the $type property is not the
first property in the JSON object.
Your Brand Here!
50K+ engaged viewers every month
Limited spots available!
📧 Contact us via email🦋 Contact us on Bluesky