feat: Add resolvematrix CLI #33

Open
ginger wants to merge 6 commits from ginger/resolvematrix-cli into main
Owner

As requested in dev chat at some point

Fixes: #32

As requested in dev chat at some point Fixes: #32
feat: Add resolvematrix CLI
Some checks failed
Checks / Prek / Pre-commit & Formatting (pull_request) Has been cancelled
Checks / Prek / Clippy and Cargo Tests (pull_request) Has been cancelled
99fac8bec2
chore: Remove unused ruma features
Some checks failed
Checks / Prek / Pre-commit & Formatting (pull_request) Failing after 2m8s
Checks / Prek / Clippy and Cargo Tests (pull_request) Failing after 2m41s
ad14153471
Jade approved these changes 2026-07-22 20:22:52 +00:00
s1lv3r force-pushed ginger/resolvematrix-cli from ad14153471
Some checks failed
Checks / Prek / Pre-commit & Formatting (pull_request) Failing after 2m8s
Checks / Prek / Clippy and Cargo Tests (pull_request) Failing after 2m41s
to 6be39cbbac
Some checks failed
Checks / Prek / Pre-commit & Formatting (pull_request) Failing after 34s
Checks / Prek / Clippy and Cargo Tests (pull_request) Successful in 2m54s
2026-07-26 02:03:09 +00:00
Compare
chore: Fix formatting for ci
All checks were successful
Checks / Prek / Pre-commit & Formatting (pull_request) Successful in 46s
Checks / Prek / Clippy and Cargo Tests (pull_request) Successful in 1m54s
c3ef268113
Member

hmm... tempted to see if its possible to get output like how botty does it:

Connection address: matrix.kitty.tel:443
Host (SNI): matrix.kitty.tel:443 (matrix.kitty.tel)
Resolution step: well-known delegation to domain name with explicit port (3.2)
Advertised version: continuwuity/26.6.2
Signing keys: ed25519:SxtkXlak

(random example i found)

Possibly also json output or similar if its not stupidly impractical (mainly for my own use for debugging resolvematrix lol)

Can fix myself if you don't wanna bother

hmm... tempted to see if its possible to get output like how botty does it: ``` Connection address: matrix.kitty.tel:443 Host (SNI): matrix.kitty.tel:443 (matrix.kitty.tel) Resolution step: well-known delegation to domain name with explicit port (3.2) Advertised version: continuwuity/26.6.2 Signing keys: ed25519:SxtkXlak ``` (random example i found) Possibly also json output or similar if its not stupidly impractical (mainly for my own use for debugging resolvematrix lol) Can fix myself if you don't wanna bother
Ensures library can't move ahead of CLI and give possibly
broken versions to CLI
feat: Allow for JSON output format
Some checks failed
Checks / Prek / Pre-commit & Formatting (pull_request) Successful in 2m12s
Checks / Prek / Clippy and Cargo Tests (pull_request) Failing after 3m52s
f08869aeb6
Also slightly refactor how server info is fetched to minimize errors during runtime
s1lv3r approved these changes 2026-08-01 16:14:05 +00:00
Dismissed
feat: Fix clippy recommendations
All checks were successful
Checks / Prek / Pre-commit & Formatting (pull_request) Successful in 35s
Checks / Prek / Clippy and Cargo Tests (pull_request) Successful in 3m18s
a8aa3a5ab6
s1lv3r force-pushed ginger/resolvematrix-cli from a8aa3a5ab6
All checks were successful
Checks / Prek / Pre-commit & Formatting (pull_request) Successful in 35s
Checks / Prek / Clippy and Cargo Tests (pull_request) Successful in 3m18s
to a87475b11e
Some checks failed
Checks / Prek / Clippy and Cargo Tests (pull_request) Failing after 43s
Checks / Prek / Pre-commit & Formatting (pull_request) Successful in 45s
2026-08-01 18:35:43 +00:00
Compare
s1lv3r approved these changes 2026-08-01 18:38:56 +00:00
s1lv3r force-pushed ginger/resolvematrix-cli from a87475b11e
Some checks failed
Checks / Prek / Clippy and Cargo Tests (pull_request) Failing after 43s
Checks / Prek / Pre-commit & Formatting (pull_request) Successful in 45s
to 51673361eb
Some checks failed
Checks / Prek / Clippy and Cargo Tests (pull_request) Failing after 42s
Checks / Prek / Pre-commit & Formatting (pull_request) Successful in 43s
2026-08-01 18:47:35 +00:00
Compare
chore: Fix lockfile
All checks were successful
Checks / Prek / Pre-commit & Formatting (pull_request) Successful in 36s
Checks / Prek / Clippy and Cargo Tests (pull_request) Successful in 2m8s
8e4c4da557
All checks were successful
Checks / Prek / Pre-commit & Formatting (pull_request) Successful in 36s
Checks / Prek / Clippy and Cargo Tests (pull_request) Successful in 2m8s
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin ginger/resolvematrix-cli:ginger/resolvematrix-cli
git switch ginger/resolvematrix-cli
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
continuwuation/resolvematrix!33
No description provided.