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.

rename project

+8 -8
+1 -1
go.mod
··· 1 - module tangled.org/whey.party/rdcs 1 + module tangled.org/whey.party/red-dwarf-server 2 2 3 3 go 1.25.4 4 4
+4 -4
main.go
··· 8 8 "os" 9 9 "time" 10 10 11 - "tangled.org/whey.party/rdcs/microcosm/constellation" 12 - "tangled.org/whey.party/rdcs/microcosm/slingshot" 13 - "tangled.org/whey.party/rdcs/sticket" 11 + "tangled.org/whey.party/red-dwarf-server/microcosm/constellation" 12 + "tangled.org/whey.party/red-dwarf-server/microcosm/slingshot" 13 + "tangled.org/whey.party/red-dwarf-server/sticket" 14 14 15 15 // "github.com/bluesky-social/indigo/atproto/atclient" 16 16 // comatproto "github.com/bluesky-social/indigo/api/atproto" ··· 30 30 ) 31 31 32 32 func main() { 33 - fmt.Fprintf(os.Stdout, "RDCS started") 33 + fmt.Fprintf(os.Stdout, "red-dwarf-server started") 34 34 35 35 ctx := context.Background() 36 36 mailbox := sticket.New()
+1 -1
microcosm/constellation/constellation.go
··· 4 4 "context" 5 5 6 6 "github.com/bluesky-social/indigo/lex/util" 7 - "tangled.org/whey.party/rdcs/microcosm" 7 + "tangled.org/whey.party/red-dwarf-server/microcosm" 8 8 ) 9 9 10 10 func NewConstellation(host string) *microcosm.MicrocosmClient {
+1 -1
microcosm/microcosm.go
··· 31 31 Client: http.DefaultClient, 32 32 Host: host, 33 33 Headers: map[string][]string{ 34 - "User-Agent": []string{"microcosm-rdcs"}, 34 + "User-Agent": []string{"microcosm-red-dwarf-server"}, 35 35 }, 36 36 } 37 37 }
+1 -1
microcosm/slingshot/slingshot.go
··· 5 5 6 6 "github.com/bluesky-social/indigo/api/agnostic" 7 7 "github.com/bluesky-social/indigo/lex/util" 8 - "tangled.org/whey.party/rdcs/microcosm" 8 + "tangled.org/whey.party/red-dwarf-server/microcosm" 9 9 ) 10 10 11 11 func NewSlingshot(host string) *microcosm.MicrocosmClient {