Skip to content

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

License

Notifications You must be signed in to change notification settings

xeniafox/nekoup

Repository files navigation

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.

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published