Skip to content

GamePowerX/kekupload-server

Repository files navigation

██╗  ██╗███████╗██╗  ██╗██╗   ██╗██████╗ ██╗      ██████╗  █████╗ ██████╗ 
██║ ██╔╝██╔════╝██║ ██╔╝██║   ██║██╔══██╗██║     ██╔═══██╗██╔══██╗██╔══██╗
█████╔╝ █████╗  █████╔╝ ██║   ██║██████╔╝██║     ██║   ██║███████║██║  ██║
██╔═██╗ ██╔══╝  ██╔═██╗ ██║   ██║██╔═══╝ ██║     ██║   ██║██╔══██║██║  ██║
██║  ██╗███████╗██║  ██╗╚██████╔╝██║     ███████╗╚██████╔╝██║  ██║██████╔╝
╚═╝  ╚═╝╚══════╝╚═╝  ╚═╝ ╚═════╝ ╚═╝     ╚══════╝ ╚═════╝ ╚═╝  ╚═╝╚═════╝ 
kekupload-server

A backend providing a HTTP REST like interface for uploading files written in rust.


API Documentation


License

This project is licensed under the Mit License



Features

  1. Rest api
  2. Chunked uploading
  3. Embeds


Clients


Libraries


You have created your own client/library for kekupload-server? Great! Just submit an client request in the issues tab of github or write us an email at [email protected].



Usage

Docker

Get a prebuilt image here


or build it yourself:

docker build -t uploadserver:latest


Running

prebuilt:

sudo docker run -ti ghcr.io/kotwoss/uploadserver:main

selfbuilt:

sudo docker run -ti uploadserver:latest

Prerequirements

  • Rust Nightly
    You need rustup to run this.
rustup default nightly

Configuration

Copy default.env to .env and change the settings in .env.


Building

cargo build --release

The executable will be located at target/release/uploadserver


Testing

If you are developing and don't want to rebuild and run the client to release mode use

cargo run


Goals

  • Image compression

If you have aditional ideas how to make this tool better please create a feature request in the issues tab.



Contributing

More information here.