Some nice progress this morning on a remote #Nextcloud CLI.
-
Benjamin Sonntag-King 🐙replied to Scott Williams 🐧 last edited by
@vwbusguy interesting !
Serious question: how is it different from a webdav client? -
Eskild Hustvedtreplied to Scott Williams 🐧 last edited by
@vwbusguy Nice, this could come in handy for automation
-
Scott Williams 🐧replied to Benjamin Sonntag-King 🐙 last edited by [email protected]
@vincib Two main reasons:
* Doesn't require webdav - so no browser or davfs necessary on the client machine
* Will eventually do more than just files, such as generating a Nextcloud Talk chat room link without having to first log in and navigate in the browser, etc. The SDK supports this and more but I decided to start with files. -
Scott Williams 🐧replied to Eskild Hustvedt last edited by
@zerodogg Indeed. I plan to containerize it soon as well.
-
Scott Williams 🐧replied to Scott Williams 🐧 last edited by
@vincib I just added an interface for interacting with the users API as well.
-
Scott Williams 🐧replied to Scott Williams 🐧 last edited by
@zerodogg I just added a users interface for it as well, so in the near future an admin may be about to use this to help automate provisioning and deprovisioning accounts via a bash script (that could be running in a container managed by a CI system of some kind).
-
Scott Williams 🐧replied to Scott Williams 🐧 last edited by
And here you go. It's a very early concept, so feedback, testing, and PR's are definitely welcome.
GitHub - vwbusguy/nextcloud-remote-client: Nextcloud Remote Client CLI
Nextcloud Remote Client CLI. Contribute to vwbusguy/nextcloud-remote-client development by creating an account on GitHub.
GitHub (github.com)
-
Scott Williams 🐧replied to Scott Williams 🐧 last edited by
@zerodogg I added a container image for it as well, so you should be should be able to attach it to a pod and copy files from your Kubernetes workload environments directly to a pod using a secret or configmap for your connection info.
-
Eskild Hustvedtreplied to Scott Williams 🐧 last edited by
@vwbusguy Nice. I've got some backup jobs this would fit nicely in.
-
Scott Williams 🐧replied to Eskild Hustvedt last edited by
@zerodogg Sweet. There's a method to upload a whole directory in the sdk, so I'll wire that in soon.