Skip to content

Add Koushi to the ecosystem client directory - #3630

Open
shinaoka wants to merge 3 commits into
matrix-org:mainfrom
shinaoka:codex/add-koushi-client
Open

shinaoka wants to merge 3 commits into
matrix-org:mainfrom
shinaoka:codex/add-koushi-client

Conversation

@shinaoka

@shinaoka shinaoka commented Sep 10, 2026 •

Copy link
Copy Markdown

Description

Changes since the initial draft:

  • Rebased onto current main
  • Removed the obsolete language and latest_release fields
  • Added koushi.svg.license
  • Listed only the macOS installer under [extra.packages]; Windows/Linux builds are mentioned in the description text as experimental
  • Verified the site builds with Zola v0.20.0

The macOS version has been tested by our research group and by external volunteers, and has reached a level of stability suitable for practical use. Windows and Linux also have test users, but they are a step behind in stability, so we position them as experimental builds.

Issues are addressed within a few days, and releases are published continuously. Koushi was also featured in This Week in Matrix.

I used Claude Code (Opus 5.5) to prepare the changes to the entry files and to polish the English.

Related issues

Closes #3629.

Role

I maintain Koushi and am contributing as an individual.

Timeline

No deadline.

Signoff

The commit is signed off.

@awtj8o81ryywg793 awtj8o81ryywg793 added the ecosystem Adding, updating, and removing ecosystem projects label Sep 12, 2026
@awtj8o81ryywg793 awtj8o81ryywg793 added the ecosystem: pending review Concerns ecosystem projects that don’t yet meet listing criteria, marked for review once they do label Sep 25, 2026
Signed-off-by: Hiroshi Shinaoka <h.shinaoka@gmail.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@shinaoka
shinaoka force-pushed the codex/add-koushi-client branch from b01256b to 8334411 Compare October 6, 2026 09:41
@shinaoka
shinaoka marked this pull request as ready for review October 6, 2026 11:01
@shinaoka
shinaoka requested a review from a team as a code owner October 6, 2026 11:01

@awtj8o81ryywg793 awtj8o81ryywg793 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Given that development of Koushi began more than three months ago, and has had active development since, I’m happy to consider the project for listing as per CONTENT.md. However, there are a few issues with koushi.md.

Comment thread content/ecosystem/clients/koushi.md Resolved
good_for = "Desktop chat with full-text search across encrypted history, including Japanese and other CJK text."

[extra.features.1stable]
e2ee = "supported"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What does support for E2EE look like in Koushi? Could you provide an example?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Koushi uses matrix-rust-sdk for end-to-end encrypted messages and attachments. For example, after signing in, a user completes “Verify this session” with a recovery key or an emoji comparison with another verified device, then opens an encrypted room and sends messages or files. Existing encrypted history can be recovered from secure backup or an imported room-key file, provided the required keys are available. Voice/video calls are not implemented.

The security and recovery guide describes the verification, backup and key-import flows.


[extra.features.1stable]
e2ee = "supported"
spaces = "partial"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What does partial support for spaces look like in Koushi? Could you provide an example?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For example, selecting a Space in the left rail shows its rooms. A user with the necessary permissions can create a Space, create a room within it, or use “Options for Rooms → Add existing room” to add a joined room. Space information also exposes name and access settings.

I have kept spaces = "partial" because the Add existing room flow only offers joined rooms, excludes DMs, and does not offer subspaces or rooms the account has not joined. The Rooms and Spaces guide documents these limits.

[extra.features.1stable]
e2ee = "supported"
spaces = "partial"
threads = "supported"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What does support for threads look like in Koushi? Could you provide an example?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For example, “Reply in thread” on a message opens the thread in the right pane with its own composer. Sending there starts or replies to that thread. Selecting the reply count on a message opens an existing thread so it can be read and continued. Nested threads are not offered.

See the messaging guide.

voip_1to1 = "unsupported"
voip_jitsi = "unsupported"
voip_matrixrtc = "unsupported"
oauth = "supported"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What does support for OAuth look like in Koushi? Could you provide an example?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For an OAuth/OIDC-capable homeserver, the user enters their Matrix ID and selects “Continue with OIDC”. Koushi opens the authorization page in the system browser; completing authorization redirects back to Koushi, which finishes the SDK OAuth login before presenting session verification.

This uses the SDK's new client.oauth().login(...) / finish_login(...) path, rather than just the legacy SSO API. The legacy SSO path is also supported separately. See the sign-in guide and authentication implementation.

voip_jitsi = "unsupported"
voip_matrixrtc = "unsupported"
oauth = "supported"
sliding_sync = "supported"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What does support for Sliding Sync look like in Koushi? Could you provide an example?

Also, please move it to be under extra.features.2experimental.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Quoted from a previous comment:

[...] Also, please move it to be under extra.features.2experimental.

See: 3fd04a5

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Moved sliding_sync to extra.features.2experimental.

Koushi requires Element X-compatible Simplified Sliding Sync. For example, after login to a compatible homeserver, the room list and live message updates are supplied by matrix-rust-sdk's SyncService. Koushi checks the server's sync capability and reports an unsupported server instead of falling back to classic sync. See the sync owner and the troubleshooting guide.

Comment thread content/ecosystem/clients/koushi.md Outdated
Comment on lines +27 to +36
Koushi is a desktop Matrix client built with Tauri, React, and matrix-rust-sdk.
It offers end-to-end encrypted chat, browser-based OIDC sign-in, a three-pane
layout for spaces and rooms, threads, replies, reactions, and file uploads.
Full-text search works across encrypted message history, including Japanese
and other CJK text.

macOS on Apple Silicon is officially supported, with signed and notarized
releases. Experimental Windows and Linux builds are available from
[GitHub Releases](https://github.com/shinaoka/koushi-matrix/releases); feedback
on these platforms is welcome. Voice and video calls are not yet available.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would you be able to shorten the description? You might want to check the length of the descriptions for the other clients.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shortened the description from 82 to 55 words, keeping the main differentiators and the platform support note. It now highlights simultaneous account tabs and n-gram-based multilingual search across encrypted history, including Japanese, Chinese, and Korean.

Comment thread content/ecosystem/clients/koushi.md Resolved
Comment thread content/ecosystem/clients/koushi.md Resolved
@awtj8o81ryywg793 awtj8o81ryywg793 removed the ecosystem: pending review Concerns ecosystem projects that don’t yet meet listing criteria, marked for review once they do label Oct 6, 2026
Signed-off-by: Hiroshi Shinaoka <h.shinaoka@gmail.com>

@awtj8o81ryywg793 awtj8o81ryywg793 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Alongside the questions raised in this review, there are also questions from the previous review that need to be answered.

See:

threads = "supported"
voip_1to1 = "unsupported"
voip_jitsi = "unsupported"
sso = "supported"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What does support for SSO look like in Koushi? Could you provide an example?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For example, on a homeserver offering legacy SSO, enter the Matrix ID and select “Continue with Single sign-on”. Koushi opens the provider's page in the system browser. After completing the provider's flow and returning to Koushi, the user completes session verification and enters the workspace.

The legacy implementation uses matrix_auth().get_sso_login_url(...) and login_with_sso_callback(...); it is separate from the OAuth/OIDC path. See the sign-in guide and authentication implementation.

voip_1to1 = "unsupported"
voip_jitsi = "unsupported"
sso = "supported"
multi_account = "supported"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What does support for multiple accounts look like in Koushi? Could you provide an example?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For example, keep a work account open, select “+” (“Add account”) in the top account tab strip, and sign in to a personal account. Each account gets its own tab. Both remain signed in and continue syncing; switching tabs changes the displayed workspace without signing the other account out. Each tab has its own unread count, and background accounts can receive notifications. Saved accounts and the selected tab are restored on startup.

This is available in the released v0.19.0. See the multiple-account guide and the account-tab screenshot in the README.

voip_jitsi = "unsupported"
sso = "supported"
multi_account = "supported"
multi_language = "supported"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What does support for multiple languages look like in Koushi? Could you provide an example?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The application UI is available in English and Japanese. For example, open “App Settings → Appearance → Language” and choose Japanese; the interface and native menu labels use Japanese. English can be selected in the same setting. See the settings guide.

Separately, the message-history search uses n-gram indexing for multilingual text, including Japanese, Chinese, and Korean; this is distinct from the two supported UI languages. See the search guide and n-gram index configuration.

Signed-off-by: Hiroshi Shinaoka <h.shinaoka@gmail.com>
@awtj8o81ryywg793

awtj8o81ryywg793 commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor

Thank you for responding to the various questions I’ve posted. However, when I attempted to verify the claims myself by running Koushi, I wasn’t able to get very far. After installing Koushi and trying to log in to an account on matrix.org, which uses MAS, I received nothing but a "Could not start single sign-on" error. I wasn’t given the "Continue with OIDC" option; instead, I was given the "Continue with Single Sign-On" option.

Would you be able to address that?

@awtj8o81ryywg793 awtj8o81ryywg793 added the ecosystem: pending response Concerns ecosystem projects for which we’re awaiting a response from the submitter label Oct 8, 2026
@awtj8o81ryywg793

Copy link
Copy Markdown
Contributor

I can see that version 0.20.3 of Koushi has been released. While it fixes the previously mentioned issue, I still can’t log in successfully. I get a "Secure backup required" error that says, "Secure backup could not reach the server." The "Open secure backup diagnostics" button doesn’t appear to do anything when clicked.

While I understand that all software has bugs, not being able to log in and verify the claimed feature support is a significant blocker. To avoid this pull request becoming a secondary bug tracker, I’m going to ask you to spend more time developing Koushi and resubmit it for review once it’s in a more stable state. When it’s resubmitted, we should be able to log in and check whether the support claims are accurate.

@awtj8o81ryywg793 awtj8o81ryywg793 added ecosystem: pending review Concerns ecosystem projects that don’t yet meet listing criteria, marked for review once they do and removed ecosystem: pending response Concerns ecosystem projects for which we’re awaiting a response from the submitter labels Oct 10, 2026
@shinaoka

Copy link
Copy Markdown
Author

Thank you for taking the time to install Koushi and retest the login flow, and for reporting both blockers. I understand your decision to pause the review.

To help reproduce the secure backup failure, could you tell me which OS you used and which Koushi installer or package you installed (the release asset filename, if available)? I have confirmed that the diagnostics button does not show its dialog at the sign-in gate, so I will address that on our side.

@awtj8o81ryywg793

Copy link
Copy Markdown
Contributor

Quoted from a previous comment:

Thank you for taking the time to install Koushi and retest the login flow, and for reporting both blockers. I understand your decision to pause the review.

No worries, thanks for the quick response.

To help reproduce the secure backup failure, could you tell me which OS you used and which Koushi installer or package you installed (the release asset filename, if available)? I have confirmed that the diagnostics button does not show its dialog at the sign-in gate, so I will address that on our side.

Sure, I installed Koushi 0.20.3 on Debian forky/sid via the .deb package (Koushi-linux-x64.deb).

When Koushi is ready to be reviewed again, please request a review by commenting on this pull request.

@shinaoka

Copy link
Copy Markdown
Author

@awtj8o81ryywg793
Since your review, several months have passed and the macOS build has become much more stable.

A clarification: the entry lists only the macOS installer. Windows and Linux builds are experimental and linked from GitHub Releases. Both blockers you hit were on the experimental Linux deb, which we do not claim to support yet.

macOS is signed and notarized and has the largest set of test users. Koushi is now at 0.36.5, with fixes in the flows that failed: secure backup now shows the failure reason and diagnostics, the recovery key can be revealed and re-issued from Settings, and a stuck verification now times out with an explanation instead of waiting.

Could the review be done on macOS? I can provide a short QA log of sign in, verification, secure backup, restart, and history readable, so you do not have to rediscover the flow.

We are fixing the reported Linux failures. More users, which a listing would bring, is what will let us stabilise Linux and Windows sooner. Happy to re-request review whenever you are ready.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ecosystem: pending review Concerns ecosystem projects that don’t yet meet listing criteria, marked for review once they do ecosystem Adding, updating, and removing ecosystem projects

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Koushi to the ecosystem client directory

2 participants