Skip to content

Using bsky.network BGS/relay with the RepoCommitAdaptor #1001

Answered by myConsciousness
Gusty9A asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @Gusty9A !

Thanks for reaching out to me about this. I was not aware of this at all tbh.

Well you are right, now that the PDS federation has started we need to connect to the bsky.network to get Firehose for the whole bsky.social events.

I have released atproto 0.8.1 and bluesky 0.10.1 to handle this. Since these versions, we will always be connected to bsky.network by default for stream endpoints. Other than stream, it's bsky.social as before.

So you can get the whole bsky.social events as follows with the latest versions:

import 'package:bluesky/bluesky.dart' as bsky;

Future<void> main() async {
  // Now defaults to `bsky.network` for stream endpoint
  final bluesky = bsky.Bluesky.a…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Gusty9A
Comment options

Answer selected by Gusty9A
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants