Skip to content

MagnificentPako/Sharust

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sharust

Share + Rust

Sharust is a WIP file-uploader (mainly with images in mind though) which aims to be somewhat sharex/sharenix-esque, but not quite. The configuration file looks a bit different, and not all the features are implemented yet. So don't use this if you expect a working drop-in replacement for Sharenix/ShareX on Linux.

Wait, Linux you say?

Yes, this only runs on Linux. And it will likely never run on Windows, unless someone want's to open a PR.

Dependencies

Other than the stuff inside the Cargo.toml this project also depends on maim, xclip, xdg-open, libnotify and soon xdotool in order to provide you with somewhat native features.

Installation

Clone the repo and run cargo install. That should install sharust into your cargo bin folder.

Usage

This was somewhat written with modularity in mind. It contains some upload "helpers" and a command for you to actually upload the file. When running the program with the --help flag or the help subcommand you might have noticed that it's rather empty. That's because Sharust mainly shoulders the uploading of your beloved files, everything else is up to you. I provide you with two (as the time of writing) standard features for screenshots though which you can use by calling sharust -m <option>. The available options are full and area, which both take a screenshot, one is fullscreen, the other one an area you select with slop. Note that notifications are only enabled/available for these two, while uploading through sharust upload <file> directly won't open a notification. That's because upload will write the extracted URL to stdout so other programs can easily grab and reuse them.

About

ShareX/Sharenix-ish program written in Rust.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages