Minimal server for uploading files from terminal. Kinda like bashupload.
- Rust nightly
- Docker
- Docker-Compose
cargo build --release
- Create your
uploads
folder.
Tip
You can change the uploads
folder path in data/nekoup.toml
.
mkdir -v uploads
-
Change
host
indata/nekoup.toml
to point to the web address it will be deployed on. -
Deploy the container.
docker compose up -d
The application will be ready at localhost:8888
.
- Make a reverse proxy to
localhost:8888
with NGINX or whatever reverse proxy you like.
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.