Skip to content

Latest commit

 

History

History
48 lines (30 loc) · 830 Bytes

README.md

File metadata and controls

48 lines (30 loc) · 830 Bytes

nekoup

Minimal server for uploading files from terminal. Kinda like bashupload.

Requirements

  • Rust nightly
  • Docker
  • Docker-Compose

Building

cargo build --release

How to deploy

  1. Create your uploads folder.

Tip

You can change the uploads folder path in data/nekoup.toml.

mkdir -v uploads
  1. Change host in data/nekoup.toml to point to the web address it will be deployed on.

  2. Deploy the container.

docker compose up -d

The application will be ready at localhost:8888.

  1. Make a reverse proxy to localhost:8888 with NGINX or whatever reverse proxy you like.

How to use

To upload a file, use the following command in an unix shell:

curl -T your_file.txt {host}

Wait a second or two, and then it should return your file's URL.