Skip to content

Open matrix URIs on the command line and support user mentions - #508

Open
VAWVAW wants to merge 16 commits into
ulyssa:mainfrom
VAWVAW:cli-uri
Open

Open matrix URIs on the command line and support user mentions#508
VAWVAW wants to merge 16 commits into
ulyssa:mainfrom
VAWVAW:cli-uri

Conversation

@VAWVAW

@VAWVAW VAWVAW commented Sep 11, 2025

Copy link
Copy Markdown
Contributor

This changes completion of matrix ids to be a matrix.to link. I don't think there is a better solution because we need a link for mentions to work.

To mention a user complete either an empty word or an @ and the start of the username or displayname. This will complete a markdown formatted matrix.to link for the user. When sending the message, all matrix.to links are added as intentional mentions. It is not possible to mention a room.

I'm not sure where to add the documentation for mentioning a user. iamb.1? iamb.chat?

fixes #506
fixes #418
fixes #393

@VAWVAW VAWVAW changed the title Handle Matrix URIs from CLI Handle Matrix URIs Sep 12, 2025
@VAWVAW
VAWVAW force-pushed the cli-uri branch 2 times, most recently from 2d89d6b to 8647b55 Compare September 18, 2025 13:39
@VAWVAW
VAWVAW force-pushed the cli-uri branch 2 times, most recently from b9df9bc to d73c302 Compare October 26, 2025 15:10
@lunasophia

Copy link
Copy Markdown

I've been using this PR for a bit and it works as expected. Would love to see it merged if possible :)

@ulyssa ulyssa added this to the v0.0.12 milestone Aug 11, 2026
@VAWVAW VAWVAW changed the title Handle Matrix URIs Open matrix URIs on the command line and support user mentions Aug 18, 2026
@VAWVAW
VAWVAW force-pushed the cli-uri branch 2 times, most recently from 2b3d768 to d9b633e Compare August 22, 2026 20:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Handle Matrix URIs from CLI Opening a link to a matrix thread should open it within iamb. [Feature] Format mentions in outgoing messages

3 participants