Simplehttp
Simple and lightweight http server for local files
Install / Use
/learn @snwfdhmp/SimplehttpREADME
Quickly serve a local directory over http
Getting started
Install with
go install github.com/snwfdhmp/simplehttp@latest
Usage
With no arguments, simplehttp starts serving files under ./ over port 8080.
$ simplehttp
INFO[0000] Serving ./ over 0.0.0.0:8080... Stop with ^C
With -d arg, specify the directory to be served.
$ simplehttp -d ./templates/
INFO[0000] Serving ./templates/ over 0.0.0.0:8080... Stop with ^C
With -p arg, specify the port to serve on.
$ simplehttp -p 31415
INFO[0000] Serving ./ over 0.0.0.0:31415... Stop with ^C
Feedback
Feel free to open an issue for any feedback or suggestion.
I fix bugs quickly.
Contributions
PR are accepted as soon as they follow Golang common standards. For more information: https://golang.org/doc/effective_go.html
Related Skills
node-connect
344.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
96.8kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
344.1kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
344.1kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
