matrix-org / matrix-hookshot

A bridge between Matrix and multiple project management services, such as GitHub, GitLab and JIRA.
https://matrix-org.github.io/matrix-hookshot/
Apache License 2.0
282 stars 67 forks source link

Nextcloud share api? #878

Open Thatoo opened 8 months ago

Thatoo commented 8 months ago

Hello,

Could this hookshot bridge/widget could, connected with user credential to a nextcloud account (ideally automatically thanks to SSO) , let the user browse folders and files and when clicking on a file be able to send in the room the shared link of this file? I guess it would need to use nextcloud APIs : https://docs.nextcloud.com/server/latest/developer_manual/client_apis/OCS/ocs-share-api.html

Half-Shot commented 8 months ago

Hi there!

It's potentially a feature, yeah. Hookshot tends to be used for more persistent links than one off files though, so I'd expect to see something like "Subscribe to a file/directory and send a message when it changes", rather than just having a widget you can share files via. The feature you're asking for feels more like a standalone widget.

Thatoo commented 8 months ago

I see, you're right, it stand more like a standalone widget. I'll look into matrix widget if one does something close to that.