Skip to main content

CLI to Upload Files to a ShareX Server using a ShareX Custom Uploader (.sxcu) Configuration File.

Project description

PyPI Version GitHub Release Version TOML Python Version PyPI Downloads Pepy Total Downloads Codecov Workflow Lint Workflow Test Deployment PyPi Deployment Docs GitHub Last Commit GitHub Repo Size GitHub Top Language GitHub Contributors GitHub Issues GitHub Discussions GitHub Forks GitHub Repo Stars GitHub Org Stars Discord Ko-fi

ShareX CLI

ShareX CLI

Command Line Interface to Upload Files to a ShareX Server using a ShareX Custom Uploader .sxcu configuration.

Upload any file, multiple files, directories, use globs, create archives and much more...

To get started Install the app, Configure your server and view the Usage.

If you run into any issues or have any questions, support is available.

View Documentation

Features

  • Use a ShareX Custom Uploader *.sxcu config.
  • Upload a file or multiple files.
  • Specify a custom file name.
  • Upload files in a directory with optional glob.
  • Upload a directory as an archive.
  • Automatically open the URL in browser.
  • Automatically copy the URL to the clipboard.
  • Display confirmation before uploading multiple files.
  • Override all options with flags or env vars.

Install

From PyPI: https://pypi.org/p/sharex-cli

pip install sharex-cli
uv tool install sharex-cli

From GitHub: https://github.com/cssnr/sharex-cli

pip install git+https://github.com/cssnr/sharex-cli.git
uv tool install git+https://github.com/cssnr/sharex-cli.git

View Install Guide

Download a Binary: https://github.com/cssnr/sharex-cli/releases/latest

Configure

To configure you need your server's ShareX Custom Uploader *.sxcu configuration JSON.

The --config command allows you to enter the file path, or open a text editor.

sharex --config

Or pass the config path directly to --config.

sharex --config path/to/config.sxcu

View Configure Guide

Usage

To use run the sharex command with the path to the file to upload.

sharex file.txt
sharex file1.txt file2.txt
sharex file.txt -n name.txt

Directories can be uploaded as files using a glob (default *) or as an archive.

sharex dir1  # non-recursive
sharex dir1 -g '**'  # recursive
sharex dir1 -a  # create an archive

Tip: you will be shown a confirmation before files are uploaded.

View Upload Guide

Support

If you run into any issues or need help getting started, please do one of the following:

Features Issues Discussions Discord

Contributing

If you would like to submit a PR, please review the CONTRIBUTING.md.

Please consider making a donation to support the development of this project and additional open source projects.

Ko-fi

For a full list of current projects visit: https://cssnr.github.io/

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sharex_cli-0.0.3.tar.gz (10.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sharex_cli-0.0.3-py3-none-any.whl (10.9 kB view details)

Uploaded Python 3

File details

Details for the file sharex_cli-0.0.3.tar.gz.

File metadata

  • Download URL: sharex_cli-0.0.3.tar.gz
  • Upload date:
  • Size: 10.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for sharex_cli-0.0.3.tar.gz
Algorithm Hash digest
SHA256 f9b2967e611ff337d42a44ad7580cbf7345677351c4c65f1c0c143e0330b910c
MD5 b282fa3fe7221d6030c21cdf55f9ca0a
BLAKE2b-256 97c24e94511011e7f6478d9e5034aa86647f3d552efced7f8994f0c82c716788

See more details on using hashes here.

Provenance

The following attestation bundles were made for sharex_cli-0.0.3.tar.gz:

Publisher: release.yaml on cssnr/sharex-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file sharex_cli-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: sharex_cli-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 10.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for sharex_cli-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 69b61ac3fb0d74805b4d1e2fd54a4a98233c250d536bd66c67826c029c3be3fd
MD5 acb7d274157c0cc927c8730c82f7d425
BLAKE2b-256 7c9c0cb120ba33c1abdf2b229261c46d2498381f18a2a586ed369e6491bc0e4c

See more details on using hashes here.

Provenance

The following attestation bundles were made for sharex_cli-0.0.3-py3-none-any.whl:

Publisher: release.yaml on cssnr/sharex-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page