this repo has no description

feat: switch to public Jetstream

Changed files
+3 -5
cmd
bsky-langs
bsky-users
+1 -1
bsky-activity.py
··· 35 35 ]) 36 36 37 37 async def bsky_activity(): 38 - relay_url = 'ws://localhost:6008/subscribe' 38 + relay_url = 'wss://jetstream1.us-west.bsky.network/subscribe' 39 39 40 40 sys.stdout.write(f'opening websocket connection to {relay_url}\n') 41 41 sys.stdout.flush()
+1 -1
cmd/bsky-langs/main.go
··· 10 10 "github.com/gorilla/websocket" 11 11 ) 12 12 13 - const JetstreamUrl = `ws://localhost:6008/subscribe?wantedCollections=app.bsky.feed.post` 13 + const JetstreamUrl = `wss://jetstream1.us-west.bsky.network/subscribe?wantedCollections=app.bsky.feed.post` 14 14 15 15 func main() { 16 16 ctx, stop := signal.NotifyContext(context.Background(), os.Interrupt, syscall.SIGINT, syscall.SIGTERM)
+1 -3
cmd/bsky-users/main.go
··· 39 39 "chat.bsky.actor.declaration": true, 40 40 } 41 41 42 - // const JetstreamUrl = `wss://jetstream1.us-west.bsky.network/subscribe` 43 - 44 - const JetstreamUrl = `ws://localhost:6008/subscribe` // TODO(ejd): attach a reconnect cursor 42 + const JetstreamUrl = `wss://jetstream1.us-west.bsky.network/subscribe` // TODO(ejd): attach a reconnect cursor 45 43 46 44 const userTimestampUpdate = `insert into users (did, ts) values (?, ?) on conflict (did) do update set ts = ?` 47 45