FSharp.ATProto.Streaming
0.2.0
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package FSharp.ATProto.Streaming --version 0.2.0
NuGet\Install-Package FSharp.ATProto.Streaming -Version 0.2.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="FSharp.ATProto.Streaming" Version="0.2.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="FSharp.ATProto.Streaming" Version="0.2.0" />
<PackageReference Include="FSharp.ATProto.Streaming" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add FSharp.ATProto.Streaming --version 0.2.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: FSharp.ATProto.Streaming, 0.2.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package FSharp.ATProto.Streaming@0.2.0
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=FSharp.ATProto.Streaming&version=0.2.0
#tool nuget:?package=FSharp.ATProto.Streaming&version=0.2.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
FSharp.ATProto
A native F# library for Bluesky and the AT Protocol. Built from the ground up in F#. No C# wrappers. Functional-first.
Install
dotnet add package FSharp.ATProto.Bluesky
Quick Example
open FSharp.ATProto.Bluesky
taskResult {
let! agent = Bluesky.login "https://bsky.social" "my-handle.bsky.social" "app-password"
let! post = Bluesky.post agent "Hello from F#!"
let! like = Bluesky.like agent post // PostRef -> LikeRef (the compiler prevents mix-ups)
let! reply = Bluesky.replyTo agent "Nice thread!" post // thread root resolved automatically
let! _ = Bluesky.undo agent like // generic undo — works on any ref type
return reply
}
// : Task<Result<PostRef, XrpcError>> — no exceptions, ever
Design
- If it compiles, it's correct -- distinct types for every domain concept (
PostRef,LikeRef,FollowRef,BlockRef...) mean the compiler catches your mistakes. - The library handles protocol complexity -- thread roots, rich text facets, chat proxy headers -- all resolved automatically.
- Results, not exceptions -- every public function returns
Result. Nofailwith, no try/catch. - Rich domain types --
PostRef,Profile,FeedItem,ConvoSummary,Page<'T>, and more. Plus convenience functions for search, bookmarks, muting, notifications, and moderation. - Generated from the spec -- 324 Lexicon schemas compiled to F# types + 237 typed XRPC endpoint wrappers.
Features
- Posts -- create, reply, quote, delete, with automatic rich text detection
- Rich text -- mentions, links, and hashtags detected and resolved automatically
- Images -- upload and attach with typed
ImageMimeand alt text - Social graph -- follow, block, like, repost, mute, with typed refs and generic undo
- Feeds -- timeline, author feed, actor likes, bookmarks
- Profiles -- get, search, typeahead, batch fetch, upsert
- Chat / DMs -- conversations, messages, reactions, with automatic proxy headers
- Notifications -- fetch, count unread, mark seen
- Moderation -- report content, mute threads and mod lists
- Identity -- DID resolution, handle verification, PDS discovery
- Pagination -- lazy
IAsyncEnumerablepaginators for timeline, followers, notifications - Full XRPC access -- all 237 Bluesky endpoints available as typed wrappers
Documentation
Full docs at arrow7000.github.io/atproto-fsharp
License
MIT
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- FSharp.ATProto.DRISL (>= 0.2.0)
- FSharp.ATProto.Syntax (>= 0.2.0)
- FSharp.Core (>= 10.0.103)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on FSharp.ATProto.Streaming:
| Package | Downloads |
|---|---|
|
FSharp.ATProto.Bluesky
Native F# client for Bluesky and the AT Protocol. Type-safe, functional-first, exception-free. Posts, social graph, chat, feeds, profiles, notifications, moderation, and full XRPC access via 237 typed endpoint wrappers generated from 324 Lexicon schemas. |
GitHub repositories
This package is not used by any popular GitHub repositories.