From aafcf51186b3d4c6716ef0df9ac31a85af683e87 Mon Sep 17 00:00:00 2001 From: Ryan Barrett Date: Thu, 25 Jan 2024 08:24:58 -0800 Subject: [PATCH] docs: update parts of protocol, id, handle tables that are implemented --- templates/docs.html | 57 ++++++++++++++++++++++----------------------- 1 file changed, 28 insertions(+), 29 deletions(-) diff --git a/templates/docs.html b/templates/docs.html index 13a0ff9..9f0902f 100644 --- a/templates/docs.html +++ b/templates/docs.html @@ -798,7 +798,7 @@ I'm Ryan Barrett. I'm just a guy who likes topology peer to peer - federated servers, two tier + federated servers, two tier federated servers,
decoupled services, multi-tier interchangeable relays,
two tier
@@ -900,24 +900,24 @@ I'm Ryan Barrett. I'm just a guy who likes Web URL - Fediverse profile URL - https://bsky.app/profile/[did]
+ https://bsky.app/profile/[did]
(can we avoid hard-coding bsky.app?) NIP-05 domain or BF user page - WebFinger addressS - @[domain]@web.brid.gy + WebFinger address + @[domain]@web.brid.gy - - @[handle]@bsky.brid.gy + @[handle]@bsky.brid.gy @[NIP-05 or npub]@nostr.brid.gy ActivityPub actor - https://web.brid.gy/ap/[domain] + https://web.brid.gy/ap/[domain] - - https://bsky.brid.gy/ap/[did] + https://bsky.brid.gy/ap/[did] https://nostr.brid.gy/ap/[npub] @@ -963,30 +963,30 @@ I'm Ryan Barrett. I'm just a guy who likes - Fediverse profile URL - bare handle + bare handle NIP-05 domain or BF user page AP address basic - @[domain]@web.brid.gy + @[domain]@web.brid.gy - - @[handle]@bsky.brid.gy + @[handle]@bsky.brid.gy @[NIP-05 or npub]@nostr.brid.gy enhanced @[domain]@[domain] - @[handle]@[handle] + @[handle]@[handle] @[NIP-05] ATP handle basic - [domain].web.brid.gy - [username].[instance].ap.brid.gy + [domain].web.brid.gy + [username].[instance].ap.brid.gy - [NIP-05 or npub].nostr.brid.gy
(convert @ to .) @@ -1039,7 +1039,7 @@ I'm Ryan Barrett. I'm just a guy who likes - https://instance.com/@me
(varies by instance) - me.com + me.com ?
me.com @@ -1054,7 +1054,7 @@ I'm
Ryan Barrett. I'm just a guy who likes enhanced @me.com@me.com - @me.com@me.com + @me.com@me.com @me@domain.com
@me.com@me.com @@ -1062,15 +1062,15 @@ I'm
Ryan Barrett. I'm just a guy who likes AT Protocol basic - me.com.web.brid.gy - me.instance.com.ap.brid.gy + me.com.web.brid.gy + me.instance.com.ap.brid.gy - me.[domain.]com.nostr.brid.gy enhanced - me.com - me.instance.com + me.com + me.instance.com me.[domain.]com @@ -1145,8 +1145,8 @@ I'm Ryan Barrett. I'm just a guy who likes did:plc or did:web: prefix
(TODO: domain handles) - - resolve did:plc,
+ + resolve did:plc,
resolve did:web @@ -1210,28 +1210,28 @@ I'm Ryan Barrett. I'm just a guy who likes basic: serve WebFinger and AP actor on fed.brid.gy
enhanced: user's site serves and redirects WebFinger to fed.brid.gy - resolve DID, serve DID document with fed.brid.gy PDS + resolve DID, serve DID document with fed.brid.gy PDS NIP-39 (kind 0) query to BF (or other?) relay User discovery outbound Fetch home page, parse h-card look up WebFinger, fetch AP actor - resolve DID, subscribe to PDS repo, extract profile object? + resolve DID, subscribe to PDS repo, extract profile object? discover user's relays with NIP-65, query NIP-39 to get profile Publish inbound webmention to fed.brid.gy deliver to fed.brid.gy inbox, user or shared - subscribe to user's PDS repo on fed.brid.gy + poll posts on AppView via app.bsky.feed.getTimeline publish event to BF relay Publish outbound serve on BF user page followings h-feed deliver to recipient's inbox - serve repo diff via sync XRPCs to subscribing BGSes + serve repo diff via sync XRPCs to subscribing BGSes serve to subscribers @@ -1239,22 +1239,21 @@ I'm Ryan Barrett. I'm just a guy who likes users: UI on BF user page
code:
webmention with u-follow-of Follow activity delivered to BF user inbox - receive sync.subscribeRepos? + poll notifications on AppView via app.bsky.notification.listNotifications user's client sends REQ to BF relay Follow outbound webmention with BF proxy HTML page as source deliver Follow to followee's inbox - call sync.subscribeRepos on followee's PDS? + call sync.subscribeRepos on followee's PDS? discover followee's relay(s) with NIP-65, send them a REQ Response inbound webmention to a BF proxy page Create, Like, Announce delivered to BF user inbox - response object received from a subscribed repo?
- (what if it's from a user we don't subscribe to?) + poll notifications on AppView via app.bsky.notification.listNotifications NIP-10 response event received at BF relay or other relay