Skip to content

Latest commit

 

History

History
15 lines (13 loc) · 642 Bytes

bootstrapping.md

File metadata and controls

15 lines (13 loc) · 642 Bytes

Bootstrapping

To get started with MRS, you need index some matrix servers first. As a good starting point, you may use The-Federation.info public API to get the first servers.

curl 'https://the-federation.info/v1/graphql' \
    -X POST \
    -H 'content-type: application/json' \
    --data '{
        "query":"query MatrixServers { thefederation_node( where: {blocked: {_eq: false}, thefederation_platform: {id: {_eq: 41}}} order_by: {last_success: desc} ) { host }}",
        "variables":null,
        "operationName":"MatrixServers"
    }' | jq -r '.data.thefederation_node[] | "- " + .host'