matrix-org/matrix-hookshot

Nextcloud share api?

Thatoo opened this issue · 2 comments

Thatoo commented

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

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

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.