AnyWhere静态文件服务器
,可以随时随地将你的当前目录变成一个静态文件服务器的根目录。
安装:
npm install anywhere -g
使用:
$ anywhere // or with port $ anywhere -p 8000 // or start it but silent(don't open browser) $ anywhere -s // or with hostname $ anywhere -h localhost -p 8888 // or with folder $ anywhere -d ~/git/anywhere // or enable html5 history $ anywhere -f /index.html
使用帮助:
$ anywhere --help Usage: anywhere --help // print help information anywhere // 8000 as default port, current folder as root anywhere 8888 // 8888 as port anywhere -p 8989 // 8989 as port anywhere -s // don't open browser anywhere -h localhost // localhost as hostname anywhere -d /home // /home as root anywhere -f /index.html // Enable html5 history,the index is /index.html
http://localhost:8000
执行命令后,默认浏览器将为您自动打开主页。
评论
sgo静态文件服务器
用于快速原型设计的开发服务。它提供了一个简洁的界面,用于列出目录的内容并切换到子文件夹,以当前目录为根目录快速起一个静态服务。此外,它在提供静态站点方面也很棒。如果目录包含 index.html ,则
sgo静态文件服务器
0
gohttpHTTP 文件服务器
gohttp是一个http的文件服务器。因为是用go语言写的,所以加了一个go的抬头。之所以用go是因为发布起来是一个二进制文件,不同的平台都可以用,而且没有依赖问题,且稳定性也很好。pjax简称页面
gohttpHTTP 文件服务器
0