2.1.1 • Published 5 years ago

webhare-connect-helper v2.1.1

Weekly downloads
-
License
MIT
Repository
gitlab
Last release
5 years ago

webhare-connect-helper

WebHare connect is a local 'helper' that allows your local WebHare to open files directly in your editor and to mount remote WebDav servers. It is available on gitlab and npm

Installation

npm i -g webhare-connect-helper
webhare-connect-helper --install

# If you want to support automatically mounting WebDav folder on macOS (OS X) - see below
sudo webhare-connect-helper --install-sudo

About automatically mounting WebDav folder on macOS (OSX)

Starting with OS X Sierra, /Volumes is owned and only writeable by root. WebHare connect uses a helper to create mount points. This script is run using sudo, so to avoid having to type in your password when connecting, add a line to /etc/sudoers containing something like:

%admin ALL=(ALL) NOPASSWD: /path/to/webhare-connect-helper/src/create-mountpoint.sh

with the correct path to the create-mountpoint.sh script. This will allow sudo to run the script as root without asking for a password for users within the 'admin' group.

This is what --install-sudo does for you.

Unistallation

webhare-connect-helper --uninstall
sudo rm /etc/sudoers.d/connect-helper   # IF you used --install-sudo
npm u -g webhare-connect-helper

Development

Setting up dompack builder

This ensures the site is automatically rebuilt when you change the .es files

npm i
node_modules/.bin/dompack-builder -rw .

Running the process

node src/connect-helper.js --debug

Getting started/testing

  1. Invoke webhare-connect-helper or run node src/connect-helper.js

  2. Go to http://127.0.0.1:7521/

  3. Setup the following bookmarklet: javascript:(function(){location.href%3D%27http://127.0.0.1:7521/%3Fconnect%3D%27%2BencodeURIComponent(location.origin);})()

  4. Go to Webhare and Click activate, click connect to local WebHareConnect and enter https://connect-local.webhare.com:7521/ as URL

  5. Refresh or go to a WebHare installation

  6. Rightclick on the WebHare dashboard tab, and select 'Mount this server over WebDav'

If everything works fine, you'll see a Finder window pop up.

2.1.1

5 years ago

2.1.0

5 years ago

2.0.5

5 years ago

2.0.4

5 years ago

2.0.3

6 years ago

2.0.2

6 years ago

2.0.1

6 years ago

2.0.0

6 years ago

1.1.2

7 years ago

1.1.1

7 years ago

1.1.0

7 years ago

1.0.0

7 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago