CraftingDragon007 / uploadserver

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

Home Page:https://oss.kotw.dev/uploadserver

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 me an email at kekontheworld@gmail.com.



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.

About

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

https://oss.kotw.dev/uploadserver

License:MIT License


Languages

Language:Rust 88.3%Language:PLpgSQL 5.0%Language:Dockerfile 4.4%Language:Shell 2.3%