serve
caddy-ext
serve | caddy-ext | |
---|---|---|
2 | 1 | |
146 | 85 | |
- | - | |
0.0 | 1.2 | |
about 1 year ago | about 1 year ago | |
Go | Go | |
Mozilla Public License 2.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
serve
-
static-server: an HTTP server in Go for static content
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.
-
Python3 http server
Not related to python, I use serve command available as snap and can be run inside any directory https://github.com/philippgille/serve/
caddy-ext
-
static-server: an HTTP server in Go for static content
I, too, would like to see this, but it'll be a lot of work. It's just not a top priority right now for me, unfortunately.
This is something I could prioritize if a business wanted to sponsor this; but right now the most pressing things are updating the docs, revamping our test suite, and I have a few action items for existing sponsors I need to prioritize too.
Anyway, no timeline -- but definitely something wanted!
PS. There is kind of Caddyfile support here: https://github.com/RussellLuo/caddy-ext/tree/master/layer4
What are some alternatives?
static-server - A simple, zero-configuration HTTP server CLI for serving static files
Caddy - Fast and extensible multi-platform HTTP/1-2-3 web server with automatic HTTPS
webby - A tiny static webserver app written in go
go-cloud - The Go Cloud Development Kit (Go CDK): A library and tools for open cloud development in Go.
statiks - Fast, zero-configuration, static HTTP filer server.
Ponzu - Headless CMS with automatic JSON API. Featuring auto-HTTPS from Let's Encrypt, HTTP/2 Server Push, and flexible server framework written in Go.