feat: add openinapp plugin to open chat links in shared neko instance (#682)

* feat: add openinapp plugin to open chat links in shared neko instance

* lint.

* feat(openinapp): implement open link handler and route for opening links.

* feat(openinapp): switched to http backend and removed example in docker-compose.yaml

* lint.

---------

Co-authored-by: Miroslav Šedivý <sedivy.miro@gmail.com>
This commit is contained in:
Paul Troeger
2026-08-09 22:53:39 +02:00
committed by GitHub
parent 365944d1ea
commit cc014571cc
16 changed files with 338 additions and 4 deletions
+16
View File
@@ -79,3 +79,19 @@ plugins:
```
- `filetransfer.enabled` in the room settings context controls whether the file transfer is enabled for any user in the room, and in the user's profile context controls whether the user can transfer files.
## Open In App Plugin {#openinapp}
The open in app plugin allows users to open links directly from the chat inside the shared neko instance.
<ConfigurationTab options={{
'openinapp.enabled': true,
'openinapp.open_command': 'xdg-open',
}} />
- <Def id="openinapp.enabled" /> enables the open in app support.
If set to `false`, the feature is hidden from all clients.
- <Def id="openinapp.open_command" /> is the shell command used to open
URLs inside the neko instance. Defaults to `xdg-open`. Can be set to a
browser-specific command such as `firefox -P default` depending on
the app image in use.