From ab8db352c13e21e7bfe440ccd1deee24b8867d59 Mon Sep 17 00:00:00 2001 From: Patrick Dewey Date: Sun, 12 Apr 2026 18:09:43 -0400 Subject: [PATCH] chore: remove readme artifact --- temp.html | 65 ------------------------------------------------------- 1 file changed, 65 deletions(-) delete mode 100644 temp.html diff --git a/temp.html b/temp.html deleted file mode 100644 index 478cf17..0000000 --- a/temp.html +++ /dev/null @@ -1,65 +0,0 @@ -

atp

-

AT Protocol boilerplate for Go, extracted from arabica.social. -Covers OAuth flows, PDS client operations, real-time event consumption, -session storage, HTTP middleware, and testing infrastructure.

-
-

The testpds package pulls in cocoon to spin up -ephemeral PDS instances, which makes the dependency tree heavy. This is -a single module, so the transitive cost applies even if you only use the -client or OAuth packages.

-
-

Packages

-

Root (atp)

-

Core types and clients for the AT Protocol.

- -

jetstream

-

WebSocket consumer for the Jetstream relay. -Reconnects with exponential backoff, rotates endpoints, optionally -decompresses zstd, and persists cursors for resuming after restarts.

-

middleware

-

Cookie-based AT Protocol auth middleware. Validates sessions against -the OAuth store and injects the authenticated DID into the request -context. Also serves the OAuth client metadata endpoint.

-

store/bolt and -store/sqlite

-

Two oauth.ClientAuthStore implementations for persisting -OAuth sessions and auth request state:

- -

testpds

-

Ephemeral, in-process PDS for integration testing. Uses in-memory -SQLite and an optional FakePLC (from plc) so -tests need no external services. Includes helpers for creating test -accounts and subscribing to the firehose.

-

plc

-

Mock PLC directory that stores operations in memory instead of -posting to a real directory. Used by testpds for isolated -test environments.

-

tracing

-

OpenTelemetry span helpers for AT Protocol operations (PDS calls, -database operations, HTTP handlers). Sets up an OTLP HTTP exporter and -returns no-op spans when there is no active trace context.

-

Installation

-
go get tangled.org/pdewey.com/atp
-

License

-

See LICENSE for details.

-- 2.51.2