CLI utility to quickly share a file on Nextcloud and get the share link in the Wayland clipboard.

Björn Åström e6c43230b4 Update README 3 роки тому
README.md e6c43230b4 Update README 3 роки тому
ncshare 3a36b1bb3a Add error checks 3 роки тому

README.md

ncshare

A simple tool to share a local file publicly on a Nextcloud server. Uses the pass utility to retrieve the Nextcloud password.

Configuration

$XDG_CONFIG_HOME/.config/ncshare/config:

BASE_URL="https://<your nextcloud host>"
USERNAME="<username>"
PASS_PATH="<pass path for the nextcloud user>"
ncshare file.txt
# Share link should now be in your Wayland clipboard.