Crates.io | serve-cli |
lib.rs | serve-cli |
version | 1.0.4 |
source | src |
created_at | 2022-11-01 22:42:24.074187 |
updated_at | 2023-06-12 02:00:19.775558 |
description | This is a file serving and file upload service in the local area network (LAN) CLI |
homepage | |
repository | https://gitlab.com/andrew_ryan/serve-cli |
max_upload_size | |
id | 703109 |
size | 90,656 |
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'