This morning I got tired of the web severs (details NOT) important on my windows laptop.
I did the most sensible thing.
I wrote my own(in go)!
It's called webserve
my tiny little webserver
faster and more performant than the other webserver's I could find.At least for my tasks.
webserve DIR PORT
DIR is the dir containg the files and
PORT is the port to run it on.
- shutting down a running server is a quite wonky proccess on stable , as in
ctrl-cmay or may not kill the server.The only way for certain is to close the currenly running terminal.
download the binary for your platform and put it in a folder avilable on your path IF no binary is provided , just request one via issues
clone the repo and then run
task buildall to obtain a dev (unreleased , possibly unstable) builds for all
platforms to use
File an issue.
This is free and
(all details on github)
no not actually....
you really thought I'd leave you without details??!?!?!?!
I will actually
just check github
it's only 24 lines of trivial go code for you to read
actually bye this time