
想在图形化程中集成一个 http server ,只要能显示静态页面就行,要求小巧,不超过几兆,最好有命令行参数
1 g00001 2016 年 3 月 31 日 用 aardio 生成一个迷你 HTTP 服务器 + 浏览器壳子界面,也就几百 KB ,还支持类似 PHP 的模板语言,示例代码: import win.ui; /*DSG{{*/ var winform = win.form(text="HTTP 服务器已启动";right=759;bottom=469) /*}}*/ import web.form; var wb = web.form( winform); import wsock.tcp.simpleHttpServer; wb.go( wsock.tcp.simpleHttpServer.startUrl() + "/index.html" ); winform.show(); win.loopMessage(); |
2 9hills 2016 年 3 月 31 日 |
3 realpg PRO 有个 tinyhttpserver c 写的 德国人写的 游戏源代码 不知道还萌不萌找到 当年还没 github 时候在国外搜到的 |
4 josephshen 2016 年 3 月 31 日 via iPad Nodejs with http-server, fast and easy to use. |
5 xuboying OP |
7 liyvhg 2016 年 3 月 31 日 via Android httpfileserver |
8 josephshen 2016 年 3 月 31 日 via iPad Pack nodejs with UPX, the executable size can be just 4mb, with the http-server module the total size will no more than 4.2mb. Although it is still bigger than nginx, you will find it more easy to use and configure. |
9 xspoco 2016 年 3 月 31 日 Everything |
10 6IbA2bj5ip3tK49j 2016 年 3 月 31 日 |
11 Andy1999 2016 年 3 月 31 日 via iPhone IIS 8.5+ 默秒全 |
13 flynaj nbsp; 2016 年 3 月 31 日 via Android nginx |
14 flynaj 2016 年 3 月 31 日 via Android golang package main import ( "net/http" ) func main() { http.Handle("/", http.FileServer( http.Dir("/tmp/static/"))) http.ListenAndServe(":8080", nil) } |
15 alex321 2016 年 3 月 31 日 Caddy/Nginx |
16 yamada 2016 年 3 月 31 日 c# 中的 httplistener |
17 ivmm 2016 年 3 月 31 日 IIS10 秒全家 |
18 SmiteChow 2016 年 3 月 31 日 caddy+1 |
19 Vicer 2016 年 5 月 5 日 via Android HFS 图形化配置,也就几兆吧 |