serve-cli

Crates.ioserve-cli
lib.rsserve-cli
version1.0.4
sourcesrc
created_at2022-11-01 22:42:24.074187
updated_at2023-06-12 02:00:19.775558
descriptionThis is a file serving and file upload service in the local area network (LAN) CLI
homepage
repositoryhttps://gitlab.com/andrew_ryan/serve-cli
max_upload_size
id703109
size90,656
zinso (zinso)

documentation

https://docs.rs/serve-cli

README

This is a file serving and file upload service in the local area network (LAN) CLI

Crates.io Rust license

install

cargo install serve-cli
$ serve-cli

# for browser serving local files
[INFO  serve_cli] Server listening on http://172.20.10.2:8787

# upload file fontend
[INFO  serve_cli] Server listening on http://172.20.10.2:8585

# also can upload file from curl
curl --location --request POST 'http://172.20.10.2:8585/' --data-binary '@/home/andrew/Documents/wordlist1.txt'

image.png

image.png

Commit count: 13

cargo fmt