uplr is a very minimal image hosting service. It has no dependencies and consumes very few resources.
To run uplr:
node server
You will also need a reverse proxy such as nginx
to handle HTTPS and file
delivery. A sample configuration is included in this repository.
To upload:
curl -H "x-uplr: API_KEY" --data-binary @file.png https://uplr.it/
By default, all files are saved in the img
directory.
As a basic protection measure, uplr uses a private API key as an access token.
uplr is licensed under the GNU General Public License 3.0 or later, at your option.