s3share-cli

command module
v0.0.0-...-322828a Latest Latest
Warning

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

Go to latest
Published: May 2, 2026 License: AGPL-3.0 Imports: 1 Imported by: 0

README

s3share-cli

The CLI tool for s3share. It is used to upload and manage files and offers an alternative to downloading through the web interface.

Installation

s3share-cli can be easily installed through go:

go install github.com/maxr1998/s3share-cli@latest

On Arch Linux, an AUR package is available: s3share-cli-git.

Configuration

The CLI expect a configuration file config.toml in any of the following locations:

  • $XDG_CONFIG_HOME/s3share/config.toml (usually ~/.config/s3share/config.toml)
  • ~/.config/s3share/config.toml
  • ./config.toml (in the current directory)

A template is provided in config_template.toml. The following keys are required:

  • service.host: the hostname of the site deployed to Cloudflare Pages.
  • upload.*: these keys correspond to the S3_* environment variables as described in the main README.
  • kv.account_id: your Cloudflare account ID.
  • kv.api_token: a Cloudflare Account API token with the Account.Workers KV Storage:Edit permission.
  • kv.namespace_id: the ID of the Workers KV namespace to use.

Usage

See s3share-cli --help.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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