Skip to main content

PyPI Version GitHub Release Version TOML Python Version GitHub Downloads 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 Homebrew: https://github.com/cssnr/homebrew-tap

brew install cssnr/tap/sharex-cli

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

curl https://i.jpillora.com/cssnr/sharex-cli! | bash

See jpillora/installer for more details.
Alternatively, you can manually download a release for your system.

View Install Guide

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/

Release files for sharex-cli 0.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sharex-cli 0.0.4
File Size Uploaded
sharex_cli-0.0.4.tar.gz 10.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for sharex-cli 0.0.4
File Interpreter ABI Platform
sharex_cli-0.0.4-py3-none-any.whl Python 3 none any Details

Total release size: 21.9 kB

Release files / sharex_cli-0.0.4.tar.gz

Download URL sharex_cli-0.0.4.tar.gz
Size 10.7 kB
Tags Source
SHA-256 checksum
How to use checksums
5fef8e69431f57b4f99b96007b66acff5d0332a8622da47b4bd046d01657026e
BLAKE2b-256 checksum
How to use checksums
09d553653a148281aebcf7249902c50b679ee9c4ec7a2de0edaaaf9ef846aaa3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 25, 2026.

Transparency log

Release files / sharex_cli-0.0.4-py3-none-any.whl

Download URL sharex_cli-0.0.4-py3-none-any.whl
Size 11.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
959693a1c4e9c98b4f485071e121e35cb847a42f1496b66a3e336694661484ac
BLAKE2b-256 checksum
How to use checksums
b4b5df07869b6dd4f93632fe2c7eb3e3acd1e484fa445c46e2c6b29536fa0f01
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 25, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.0.4 This release

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page