image-uploader

A sharex compatible image uploader built for speed.

Stars
16
Forks
1
Open issues
0
Closed issues
0
Last release
almost 3 years ago
Last commit
almost 3 years ago
Watchers
16
Total releases
4
Total commits
37
Open PRs
0
Closed PRs
0
Repo URL
Platform
License
mit
Category
Usecase
Offers premium version?
NO
Proprietary?
NO
About

Image-Uploader

A sharex compatible image uploader built for speed.

Features

  • web ui with login and uploader
  • Normal HTTP uploader
  • Uploader that supports forms
  • Full ShareX support (example file)
  • Automatic file compression
  • Speed and Efficiency (Rust btw)

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 want
Running 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

  1. Choose the architecture. Those should be in the releases
  2. Download the file (wget , curl) based on architecture
  3. Extract the *.tar.gz file and cd into the folder
  4. Create the .env file for config
  5. ./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.json
Issue or bugs

Report em here or on the discord

https://server.daggy.tech

Alternative Projects
No projects found

Subscribe to Open Source Businees Newsletter

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.