Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

There are many projects doing the exact same thing. Here's one approach from myself, but haven't updated since 2019:

https://github.com/philippgille/serve

One difference is that it can create a TLS cert for you, instead of having to supply one via CLI arg.

I don't recommend using it in its current form though due to its (the compiled binaries') Go version being outdated.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: