| Crates.io | mitto |
| lib.rs | mitto |
| version | 1.0.0 |
| created_at | 2022-12-10 15:55:13.199025+00 |
| updated_at | 2022-12-10 15:55:13.199025+00 |
| description | A file upload server compatible with ShareX. |
| homepage | |
| repository | https://github.com/SandroHc/mitto |
| max_upload_size | |
| id | 733898 |
| size | 93,143 |
A file upload server compatible with ShareX.

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.
cargo install cargo-debrustup target add x86_64-unknown-linux-musl (while on Windows; musl is more portable)cargo deb --target x86_64-unknown-linux-musldpkg -i target/debian/*.debdpkg -e target/debian/*.deb to inspect the systemd scriptssystemctl restart mitto.servicesystemctl enable mitto.service. This will start the service on host startup.