Fetch the repository succeeded.
English | 中文
A dead simple HTTP fileserver to share your files across LAN.
Yes, python3 -m http.server
works fine, but...
dsf
prints copy-paste-friendly host IP and port, so I don't need to figure out by myself.$ dsf -h
Usage of dsf:
-port int
listening port (default 8080)
-root string
root for files (default "./")
Serve current working directory:
$ dsf
listening on: http://127.0.0.1:8080
listening on: http://::1:8080
listening on: http://192.168.0.6:8080
listening on: http://fe80::1234:1e11:abec:5678:8080
Serve a specific directory and listen on a desired port:
$ dsf -port 3000 -root ~/images
listening on: http://127.0.0.1:3000
listening on: http://::1:3000
listening on: http://192.168.0.6:3000
listening on: http://fe80::1234:1e11:abec:5678:3000
Precompiled binaries are available for Linux, Mac and Windows: https://github.com/nanmu42/dsf/releases/
For gophers:
go install github.com/nanmu42/dsf@latest
MIT
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。