1 stable release
1.0.0 | Dec 10, 2022 |
---|
#37 in #file-upload
30KB
240 lines
Mitto
A file upload server compatible with ShareX.
Usage
Start by installing Mitto on your server and configuring the file "/home/$USER/.config/mitto/mitto.toml" to your liking. Then open ShareX and go to "Destinations > Custom uploader
settings... > Import > From URL...". On the URL field, place "https://your-site.com/sharex" and press OK. On the Headers section, update the "Authorization" header to read "Basic {base64:USER:PASS}" replacing "USER" with any name and "PASS" with the value defined on the auth_token
key in the mitto.toml
configuration file.
Building for Debian
cargo install cargo-deb
rustup target add x86_64-unknown-linux-musl
(while on Windows; musl is more portable)cargo deb --target x86_64-unknown-linux-musl
- Install the package with
dpkg -i target/debian/*.deb
- Inspect the package with
dpkg -e target/debian/*.deb
to inspect the systemd scripts - Update the config file "/home/$USER/.config/mitto/mitto.toml" and restart the service via
systemctl restart mitto.service
- And enable the service if not already enabled:
systemctl enable mitto.service
. This will start the service on host startup.
Useful links
Dependencies
~19–35MB
~570K SLoC