send2gokapi

command module
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 1, 2025 License: MIT Imports: 19 Imported by: 0

README

send2gokapi

Small CLI tool to upload files to a Gokapi instance.

Usage

In order to use this tool, the following environment variables must be set:

  • SEND2GOKAPI_URL: Base URL of a Gokapi instance. For example: https://your.gokapi.url/.
  • SEND2GOKAPI_API_KEY: API Key
send2gokapi [OPTIONS] FILES

Valid options:

  • -d: Max number of downloads allowed for each uploaded file (0 = unlimited). Default is 5
  • -t: Number of days to keep files (0 = unlimited). Default is 7.

Installation

If you have Go 1.23:

go install lmika.dev/cmd/send2gokapi@latest 

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL