mirror of
https://github.com/matrix-org/matrix-rust-sdk.git
synced 2026-05-15 11:36:07 -04:00
Jack-in
your experimental terminal to connect to matrix via sliding sync
A simple example client, using sliding sync to jack in to matrix via the sliding-sync-proxy.
Use:
You will need a running sliding sync proxy for now.
From the roof of this workspace, run jack-in via cargo run -p jack-in . Please note that you need to specify the access-token and username, both can be done via environment variables, too. As well as the homeserver (or http://localhost:8008 will be assumed). See below for how to acquire an access token.
jack-in 0.2.0
Your experimental sliding-sync jack into the matrix
USAGE:
jack-in [OPTIONS] --token <token> --user <user>
FLAGS:
-h, --help Prints help information
-V, --version Prints version information
OPTIONS:
--flames <flames> Activate tracing and write the flamegraph to the specified file
-s, --sliding-sync-proxy <sliding-sync-proxy>
The address of the sliding sync server to connect (probs the proxy) [env: JACKIN_SYNC_PROXY=] [default:
http://localhost:8008]
-t, --token <token> Your access token to connect via the [env: JACKIN_TOKEN=]
-u, --user <user> The userID associated with this access token [env: JACKIN_USER=]
Get the access token
- In element.io navigate to
Settings->Help & About, under Advanced (on the bottom) you can find your Access token - Copy it and set as the
JACKIN_SYNC_TOKENenvironment variable or as--tokencli-parameter on jack-in run