collection of golang services under the Red Dwarf umbrella server.reddwarf.app
bluesky reddwarf microcosm appview
15
fork

Configure Feed

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

fix invalid appview stuff

+6 -2
+6 -2
main.go
··· 174 174 }(clientUUID) 175 175 } 176 176 }) 177 - http.ListenAndServe(":7152", nil) 177 + router.Run(":7152") 178 178 } 179 179 180 180 func getPostThreadV2(w http.ResponseWriter, r *http.Request) { ··· 202 202 log.Println(fmt.Errorf("error parsing serviceDID: %w", err)) 203 203 return 204 204 } 205 + serviceID, err := did.ParseDID("#bsky_fg") 206 + if err != nil { 207 + panic(err) 208 + } 205 209 didDoc := did.Document{ 206 210 Context: []string{did.CtxDIDv1}, 207 211 ID: serviceDID, 208 212 Service: []did.Service{ 209 213 { 210 - ID: serviceDID, 214 + ID: serviceID, 211 215 Type: "BskyAppView", 212 216 ServiceEndpoint: serviceEndpoint, 213 217 },