Skip to content

Uploader for an end-to-end-encrypted file-sharing platform built on an S3-compatible object storage.

License

Notifications You must be signed in to change notification settings

Maxr1998/s3share-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Uploader for an end-to-end-encrypted file-sharing platform built on an S3-compatible object storage.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages