this repo has no description
0
fork

Configure Feed

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

just filter by my did for now

+4 -3
+4 -3
consumer.go
··· 26 26 cfg.WantedCollections = []string{ 27 27 "app.bsky.feed.post", 28 28 } 29 + cfg.WantedDids = []string{ 30 + "did:plc:dadhhalkfcq3gucaq25hjqon", 31 + } 29 32 return &consumer{ 30 33 cfg: cfg, 31 34 } ··· 83 86 return fmt.Errorf("failed to unmarshal post: %w", err) 84 87 } 85 88 86 - if event.Account.Did == "did:plc:dadhhalkfcq3gucaq25hjqon" { 87 - fmt.Printf("%v |(%s)| %s\n", time.UnixMicro(event.TimeUS).Local().Format("15:04:05"), event.Did, post.Text) 88 - } 89 + fmt.Printf("%v |(%s)| %s\n", time.UnixMicro(event.TimeUS).Local().Format("15:04:05"), event.Did, post.Text) 89 90 } 90 91 } 91 92