this repo has no description
0
fork

Configure Feed

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

at main 15 lines 300 B view raw
1let rtype = event?.commit?.record["$type"]; 2 3switch rtype { 4 "app.bsky.feed.post" => { 5 let text = event?.commit?.record?.text ?? ""; 6 let found = sequence_matches(["feed", "generator"], text.to_lower()); 7 if found { 8 return build_aturi(event); 9 } 10 } 11 // noop 12 _ => { } 13} 14 15false