A container registry that uses the AT Protocol for manifest storage and S3 for blob storage. atcr.io
docker container atproto go
81
fork

Configure Feed

Select the types of activity you want to include in your feed.

show availableUserDomains

+10 -1
+10 -1
pkg/hold/pds/xrpc.go
··· 4 4 "encoding/json" 5 5 "fmt" 6 6 "net/http" 7 + "strings" 7 8 ) 8 9 9 10 // XRPC handler for ATProto endpoints ··· 93 94 return 94 95 } 95 96 97 + // Extract hostname from public URL for availableUserDomains 98 + // For hold01.atcr.io, return [".hold01.atcr.io"] to match stream.place pattern 99 + hostname := h.publicURL 100 + hostname = strings.TrimPrefix(hostname, "http://") 101 + hostname = strings.TrimPrefix(hostname, "https://") 102 + hostname = strings.Split(hostname, "/")[0] // Remove path 103 + hostname = strings.Split(hostname, ":")[0] // Remove port 104 + 96 105 response := map[string]interface{}{ 97 106 "did": h.pds.DID(), 98 - "availableUserDomains": []string{}, 107 + "availableUserDomains": []string{"." + hostname}, 99 108 "inviteCodeRequired": true, // Single-user PDS, no account creation 100 109 } 101 110