itsharex / b0httpd

B0Httpd:基于Go语言开发的超级简便(无任何依赖,一个文件,快速开启)的自建文件服务器

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

EasyHttpd

  • EasyHttpd 超级简便的自建Http服务器
  • 基于Go语言,极少依赖,一个文件,快速开启

下载快速开始

  • 从bin目录下载对应操作系统的可执行文件
  • windows平台,easyhttpd.exe 双击执行

命令行参数

easyhttpd.exe -r ./ -p :8888
  • 服务根文件目录
    • -r 根路径
  • 服务端口(可指定IP)
    • -p 0.0.0.0:8888
    • -p :8888

使用Go语言功能点

  • net/http server
  • go embed fs
  • http template
  • http file upload
  • run cmd open
  • file read and write
  • host ip address
  • multi platform cross compilation

About

B0Httpd:基于Go语言开发的超级简便(无任何依赖,一个文件,快速开启)的自建文件服务器

License:Apache License 2.0


Languages

Language:Go 82.4%Language:HTML 7.8%Language:Shell 5.7%Language:Batchfile 4.2%