在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:thecoshman/http开源软件地址:https://github.com/thecoshman/http开源编程语言:Rust 91.2%开源软件介绍:httpHost These Things Please - a basic HTTP server for hosting a folder fast and simply Selected featuresSee the manpage for full list.
ManpageInstallationFrom CargoIf you have cargo install https Which will install On Arch LinuxAvailable from the community repository as pacman -S httplz From an installerIf, however, you're not a Rust developer, but you have curl -SsL https://cdn.rawgit.com/thecoshman/http/master/install.sh | sh
# or, if you like taking precautions
sh -c "$(curl -SsL https://cdn.rawgit.com/thecoshman/http/master/install.sh)" You can change the installation directory by setting the PREFIX=$HOME/bin curl -SsL https://cdn.rawgit.com/thecoshman/http/master/install.sh | sh
# Windows:
set PREFIX=D:\Akces
curl -SsL https://cdn.rawgit.com/thecoshman/http/master/install.sh | sh If you're on a Debian-based amd64 machine, you can also grab a If you're on Windows and prefer a more guided installation (or you don't have a shell), you can download the Windows installer from the latest release's page. (Note: you can add /D INSTALLDIR to installer command line to change the installation directory.) AimsThe idea is to make a program that can compile down to a simple binary that can be used via Linux CLI to quickly take the current directory and serve it over HTTP. Everything should have sensible defaults such that you do not have to pass parameters like what port to use.
It's not going to be a 'production ready' tool, it's a quick and dirty way of hosting a folder, so whilst I'll try to make it secure, it is not going to be a serious goal. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论