Documentation

Install on a Linux server

Server Management installs over SSH; the installer runs on the box itself. Both end at the same server.

Contents

Requirements

The server listens on ports 443 and 80 itself.

With Server Management

Server Management installs over SSH from macOS, Windows or Linux and stores no password. Choose On a VPS, enter the host and SSH login, and press Check connection. On Your address, pick a free name or your own domain and the administrator's username, press Continue, then Install now. It downloads the newest server, verifies it, installs it and rolls back if the new server never comes up healthy. The done screen shows the address, login, admin password and a join link; choose Open in HyperDrop or copy the link for another computer or phone.

It needs the box reachable at its own public IPv4. Behind an office or home router, use the installer. On a Linux computer, install Server Management itself from the package repository, so it updates with the system.

With the one-line installer

curl -fsSL https://gethyperdrop.com/install.sh | sudo sh

It asks for a free name or a domain, the admin username (default admin) and an admin password (empty generates one). It verifies the download's SHA-256 against the hash in the script and installs the service. Read the script: it is everything that runs as root.

It prints the address, username and password, and with your own domain the two A records to create. A free name is claimed at the first start; approve it in your HyperDrop account when asked (how).

Without a terminal, set HYPERDROP_DDNS_NAME or HYPERDROP_DOMAIN, HYPERDROP_ADMIN_USER and HYPERDROP_ADMIN_PASSWORD in the environment.

On a box with no swap, the install (the installer's or Server Management's) adds a 512 MiB /swapfile so a memory spike pages out instead of stalling the box; not on btrfs, in a container or with under 1 GiB of disk free.

To remove HyperDrop, run sudo sh install.sh --uninstall with the downloaded script: it removes the service, its configuration, the binary and the swap file the install added, and keeps the data. Add --purge to delete the data too.

A box that already runs HyperDrop is refused. HYPERDROP_RESET_ADMIN=1 reinstalls and sets a new admin password, keeping every share. To update, use Update Server instead.

Behind an office or home router

curl -fsSL https://gethyperdrop.com/install.sh | sudo HYPERDROP_BEHIND_NAT=1 sh

Forward port 443 to the box's 443 and, for a free name, port 80 to its 80 (why). With your own domain, both A records carry the router's public IPv4. If 443 or 80 is taken: When ports 443 and 80 are taken.

Join from the app

  1. Choose Join a HyperDrop server (or Servers, Join a HyperDrop server…).
  2. Paste the join link into the Server address field, or type the address, username and password.
  3. Press Sign In. An administrator is asked to turn on two-factor authentication next; save the recovery codes.

Before the domain resolves, sign in at https://<public IP> (details).

Open source

The server, its provisioner and the installer’s template are open source under the AGPL-3.0-only, so you can read what runs on your box and build the server yourself. Server Management and the installer both install HyperDrop’s official builds of that code: the installer checks each download against the SHA-256 it carries, and every later update installs only once the server already installed verifies its release signature. Source code on GitHub.