This is a temporary filesharing server I created for me to use. It's simple, fast and easy to modify.
I wanted to host a simple software for filesharing which was somewhat similar to catbox and other temporary filesharing softwares.
I decided to write the software myself as this seemed like a relatively easy task. This is easier than selfhosting and trying to understand a huge "it just works" monolith system.
No guarantees about this working in the future and / or having backwards compatability.
Actix-web HTTP2.0 performance is not worth the hassle, especially for file uploads. It's somewhere around 300x slower. I opted for using nginx to terminate the HTTP2.0 connection and using a http1.0 connection between nginx <-> korvatunturi-box to talk to actix.
There's a config.toml file that might or might not be up to date. If it's not, please check src/settings.rs for the settings you can tweak without poking at the source.
At any rate, the source code is modular and should be easy to pick up. There is as little interconnectivity between modules as possible (to a reasonable extent)