CLI to Upload Files to a ShareX Server using a ShareX Custom Uploader (.sxcu) Configuration File.
Project description
ShareX CLI
Command Line Interface to Upload Files to a ShareX Server using a ShareX Custom Uploader .sxcu configuration file.
Upload any file, multiple files, directories, use globs, create archives and much more...
To get started Install the app and view the Usage.
If you run into any issues or have any questions, support is available.
Features
- Use a ShareX Custom Uploader
*.sxcuconfig. - 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
From GitHub.
pip install git+https://github.com/cssnr/sharex-cli.git
From source.
git clone https://github.com/cssnr/sharex-cli.git
pip install sharex-cli
Setup
To configure you need your server's ShareX Custom Uploader *.sxcu configuration JSON.
The app will automatically enter configuration on the first run.
sharex
This allows you to enter a file path, or open a text editor to enter the contents.
You can reconfigure with --config and pass a path to the config file.
sharex --config path/to/config.sxcu
Usage
Once the configuration is saved you can upload a file, or multiple.
sharex file1.txt /path/to/file2.txt
You can upload the contents of a directory, default glob is *.
sharex dir1
Or create an archive of the directory (no glob support).
sharex /path/to/dir2 -a
Support
For general help or to request a feature, see:
- Q&A Discussion: https://github.com/cssnr/sharex-cli/discussions/categories/q-a
- Request a Feature: https://github.com/cssnr/sharex-cli/issues/new?template=1-feature.yaml
- Chat with us on Discord: https://discord.gg/wXy6m2X8wY
If you are experiencing an issue/bug or getting unexpected results, you can:
- Report an Issue: https://github.com/cssnr/sharex-cli/issues
- Chat with us on Discord: https://discord.gg/wXy6m2X8wY
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.
For a full list of current projects visit: https://cssnr.github.io/
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters