Interactively go through your bluesky follow graph and decide to keep or remove follow records
0
fork

Configure Feed

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

Add a cli argument to adjust how many records are fetched at a time

yemou 48cdebad 9bf5c240

+6 -2
+6 -2
main.go
··· 102 102 log.Fatal("Expected to be running inside of a terminal emulator") 103 103 } 104 104 105 + fetchSize := flag.Int64("f", 50, "Number of records to fetch at a time (>= 1 and <= 100)") 105 106 handle := flag.String("h", "", "Account handle to use") 106 - // collection := flag.String("c", "likes", "Collection to sift ('likes' or 'follows')") 107 107 flag.Parse() 108 + 109 + if *fetchSize < 1 || *fetchSize > 100 { 110 + log.Fatal("The fetch size should be between 1 and 100 (inclusive)") 111 + } 108 112 109 113 if *handle == "" { 110 114 log.Fatal("Missing an atproto (bluesky) handle") ··· 146 150 records, err := atproto.RepoListRecords(ctx, apiClient, 147 151 "app.bsky.graph.follow", 148 152 cursor, 149 - 50, 153 + *fetchSize, 150 154 sessionData.AccountDID.String(), 151 155 false, 152 156 )