idunno.Bluesky.BotSdk
8.0.0
Prefix Reserved
dotnet add package idunno.Bluesky.BotSdk --version 8.0.0
NuGet\Install-Package idunno.Bluesky.BotSdk -Version 8.0.0
<PackageReference Include="idunno.Bluesky.BotSdk" Version="8.0.0" />
<PackageVersion Include="idunno.Bluesky.BotSdk" Version="8.0.0" />
<PackageReference Include="idunno.Bluesky.BotSdk" />
paket add idunno.Bluesky.BotSdk --version 8.0.0
#r "nuget: idunno.Bluesky.BotSdk, 8.0.0"
#:package idunno.Bluesky.BotSdk@8.0.0
#addin nuget:?package=idunno.Bluesky.BotSdk&version=8.0.0
#tool nuget:?package=idunno.Bluesky.BotSdk&version=8.0.0
idunno.Bluesky.BotSdk
About
A hosted durable event-to-action runtime for Bluesky bots on the AT Protocol.
Key Features
- Sequential Jetstream v2 live streaming with automatic archive snapshot replay fallback.
- Transactional outbox pattern committing action intents and processed-through event progress atomically. The complete replay checkpoint is saved separately by the replay callback.
- Durable actions for replies, likes, reposts, bookmarks, list memberships, and custom application handlers.
- Stable action identities and safe reconciliation of uncertain remote writes.
- Distributed database lease fencing and conservative rate-limit accounting.
- Memory-only operational health endpoints (
/health/live,/health/dependencies) and durable-state Prometheus gauges (/metrics). - Pluggable storage providers (SQLite, PostgreSQL, MySQL) plus an in-memory testing provider.
Trimming is supported for applications targeting .NET 9.0 or later.
Version History
A full version history can be found on the project's GitHub repository.
How to Use
Implement IBotPolicy to evaluate incoming Jetstream events and return actions to execute, then register the bot using the fluent builder:
builder.Services
.AddBlueskyBot<MyBotPolicy>(
builder.Configuration.GetSection(BotOptions.Bot),
httpUserAgent: "MyBot/1.0")
.WithSqliteStorage(connectionString);
var app = builder.Build();
app.MapBlueskyBotHealthEndpoints();
app.MapBlueskyBotMetricsEndpoint();
app.Run();
Delivery is at least once. Choose exactly one relational storage provider package for production deployments:
idunno.Bluesky.BotSdk.SQLite, idunno.Bluesky.BotSdk.PostgreSQL, or idunno.Bluesky.BotSdk.MySQL.
For development and unit testing, .WithInMemoryStorage() is available in this package.
Related Packages
- idunno.Bluesky.BotSdk.SQLite which provides SQLite storage for this package.
- idunno.Bluesky.BotSdk.PostgreSQL which provides PostgreSQL storage for this package.
- idunno.Bluesky.BotSdk.MySQL which provides MySQL storage for this package.
- idunno.Bluesky for interacting with the Bluesky social network.
Documentation
Documentation is available, including API references.
See the durable bot guide for setup instructions, recovery behavior, built-in actions, and operational endpoints.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- idunno.AtProto (>= 8.0.0)
- idunno.Bluesky (>= 8.0.0)
-
net8.0
- idunno.AtProto (>= 8.0.0)
- idunno.Bluesky (>= 8.0.0)
-
net9.0
- idunno.AtProto (>= 8.0.0)
- idunno.Bluesky (>= 8.0.0)
NuGet packages (3)
Showing the top 3 NuGet packages that depend on idunno.Bluesky.BotSdk:
| Package | Downloads |
|---|---|
|
idunno.Bluesky.BotSdk.PostgreSQL
PostgreSQL storage provider for idunno.Bluesky.BotSdk. |
|
|
idunno.Bluesky.BotSdk.SQLite
SQLite storage provider for idunno.Bluesky.BotSdk. |
|
|
idunno.Bluesky.BotSdk.MySQL
MySQL storage provider for idunno.Bluesky.BotSdk. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 8.0.0 | 147 | 10/16/2026 |