Skip to content

v1.2.0

Choose a tag to compare

@github-actions github-actions released this 16 Aug 01:40
· 30 commits to main since this release

Installing again is an update

Running the installer, or godrop init, on a machine that already has GoDrop
on it now updates that installation instead of asking the questions a second
time. The .env, the token and the uploads stay exactly where they are:

curl -fsSL https://godrop.sh/install.sh | sh
✓ GoDrop is already set up in /home/you/.godrop
- to configure it from scratch instead: godrop init --force

Updating
  ✓ the container is running the newest image

A compose deployment is pulled and recreated, which replaces the container and
keeps the named volume; a systemd one is restarted into the new binary.
godrop update does the same to the service, because the binary it replaces is
the command line and the service may be a container running a different copy.

Two questions fewer

Setup no longer asks whether to start the service, or whether to send the
anonymous heartbeat. It starts it, and the heartbeat is a notice at the end
with the command that turns it off.

"Use the recommended limits?" is now a choice between two named routes rather
than a yes and a no that hid what each one meant:

Limits
? Settings
  > Recommended: 100MB per file, 20GB quota, no expiry
    Advanced: set the sizes, the expiry and the port yourself

A busy port is caught before anything is written

The port question says so while the answer is being typed, and the checks that
run before the first file is written offer the next free port:

✗ port                   8747 is already in use
? Use port 8748 instead?

Without a terminal it stops with the flag that fixes it, and nothing has been
created.

The first example uploads a real file

Setup writes sample.png, the GoDrop logo, next to the configuration, and the
example it prints points at that file by full path. Pasting it uploads
something.

Install

curl -fsSL https://godrop.sh/install.sh | sh

Or with Docker:

docker run -d --name godrop --restart always -p 8747:8747 \
  -e GODROP_TOKENS=$(openssl rand -hex 16) \
  -v godrop-data:/data ghcr.io/fatihbaltaci/godrop:v1.2.0

Debian and RPM packages are attached below; they set up the systemd service
for you. Every archive's checksum is listed in SHA256SUMS.