very fast at protocol indexer with flexible filtering, xrpc queries, cursor-backed event stream, and more, built on fjall
rust fjall at-protocol atproto indexer
59
fork

Configure Feed

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

at main 12 lines 420 B view raw
1export def start-mock-pds [port: int] { 2 # kill any stale process from a previous failed run holding this port 3 try { bash -c $"fuser -k ($port)/tcp" } catch {} 4 sleep 100ms 5 let log_file = (mktemp) 6 let pid = (bash -c $"websocat -s ($port) >($log_file) 2>&1 & echo $!" | str trim | into int) 7 { pid: $pid, log: $log_file } 8} 9 10export def stop-mock-pds [handle: record] { 11 try { kill $handle.pid } 12}