A sharex compatible image uploader built for speed.
Image-Uploader
A sharex compatible image uploader built for speed.
Features
Env File
it will auto load an env in the same directory, or if there is none it will just get env vars. All config vars are very important
BASE_URL="url used in json response" AUTH_TOKEN="api token for rest api" AUTH_USER="username for web" AUTH_PASSWORD="password for web" NAME="name of your service" URL="0.0.0.0" PORT=6969 # Whatever port you wantRunning in Docker
Simple single lined docker command
docker run -d -v ./static:/usr/local/bin/static -p 6969:6969 --expose 6969 --env-file .env ghcr.io/daggy1234/image-uploader
And there you have a running instance.
The image doesn't support ARM so you can use the binaries instead
Running the Binaries
./image-uploader
and look for any logs!Contributing
Just fork the repo and run with cargo. for Docker testing there is a dev.Dockerfile that uses Cargo chef. Cargo chef instructions below
cargo install cargo-chef cargo chef prepare --recipe-path recipe.jsonIssue or bugs
Report em here or on the discord
Twice a month we will interview people behind open source businesses. We will talk about how they are building a business on top of open source projects.
We'll never share your email with anyone else.